summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild3
-rw-r--r--kernel-postinst.sh3
-rw-r--r--lilo.pkg/files1
3 files changed, 7 insertions, 0 deletions
diff --git a/build b/build
index d027678..60cc68e 100755
--- a/build
+++ b/build
@@ -20,6 +20,9 @@ install: build
rm "dest/usr/sbin/$${script}"; \
rm "dest/usr/share/man/man8/$${script}.8"; \
done
+ # Install package hooks.
+ install -m 0755 -D ../kernel-postinst.sh \
+ dest/etc/kernel/postinst.d/99-lilo
oh-fixperms
oh-strip
oh-installfiles
diff --git a/kernel-postinst.sh b/kernel-postinst.sh
new file mode 100644
index 0000000..d0dba01
--- /dev/null
+++ b/kernel-postinst.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+install-lilo
diff --git a/lilo.pkg/files b/lilo.pkg/files
index 758a0f8..3907de2 100644
--- a/lilo.pkg/files
+++ b/lilo.pkg/files
@@ -1,2 +1,3 @@
/boot/*.bmp
+/etc/kernel/
/sbin/