summaryrefslogtreecommitdiffstats
path: root/linux-image.pkg/preinst
diff options
context:
space:
mode:
Diffstat (limited to 'linux-image.pkg/preinst')
-rw-r--r--linux-image.pkg/preinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-image.pkg/preinst b/linux-image.pkg/preinst
new file mode 100644
index 0000000..2275fb7
--- /dev/null
+++ b/linux-image.pkg/preinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+first=true
+for arg in "${@}"; do
+ if ${first}; then
+ set --
+ first=false
+ fi
+ set -- "${@}" -a "${arg}"
+done
+
+run-parts "${@}" /etc/kernel/preinst.d