aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/linux-grsec.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-grsec/linux-grsec.post-install')
-rw-r--r--main/linux-grsec/linux-grsec.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/linux-grsec/linux-grsec.post-install b/main/linux-grsec/linux-grsec.post-install
new file mode 100644
index 0000000000..626046f64c
--- /dev/null
+++ b/main/linux-grsec/linux-grsec.post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# strip pkgrel from version
+ver=${1%-r[0-9]}
+
+mkinitfs $ver-grsec
+