diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-07-14 00:09:54 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-07-14 00:09:54 (EDT) |
commit | 3c91e79f8b751ac7ee1414fa9fa6c40738a2d9ea (patch) | |
tree | 4b38e6f13fc20eef7b80364ad039824516a221ad | |
parent | 7170bb845036c826705531c656f518589b5aa800 (diff) |
Add a kernel postinst hook
-rwxr-xr-x | build | 3 | ||||
-rw-r--r-- | kernel-postinst.sh | 3 | ||||
-rw-r--r-- | lilo.pkg/files | 1 |
3 files changed, 7 insertions, 0 deletions
@@ -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/ |