about summary refs log tree commit diff stats
path: root/core/ports/linux-gnu
diff options
context:
space:
mode:
Diffstat (limited to 'core/ports/linux-gnu')
-rw-r--r--core/ports/linux-gnu/Pkgfile4
-rw-r--r--core/ports/linux-gnu/post-install5
2 files changed, 7 insertions, 2 deletions
diff --git a/core/ports/linux-gnu/Pkgfile b/core/ports/linux-gnu/Pkgfile
index 24acdfb..efc201b 100644
--- a/core/ports/linux-gnu/Pkgfile
+++ b/core/ports/linux-gnu/Pkgfile
@@ -1,11 +1,11 @@
 # Description:  Linux libre kernel that comes without blobs
 # URL:          http://linux-libre.fsfla.org
 # Maintainer:   Silvino, silvino at bk dot ru
-# Depends on:
+# Depends on:   dracut grub2 grub2-efi
 
 name=linux-gnu
 version=4.9.86
-release=2
+release=3
 source=(http://linux-libre.fsfla.org/pub/linux-libre/releases/$version-gnu/linux-libre-$version-gnu.tar.xz \
     cpu_optimizations.patch \
     port-cpu.patch \
diff --git a/core/ports/linux-gnu/post-install b/core/ports/linux-gnu/post-install
new file mode 100644
index 0000000..db1336b
--- /dev/null
+++ b/core/ports/linux-gnu/post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/bin/dracut --kver 4.9.86-gnu
+
+/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg