From 3c91e79f8b751ac7ee1414fa9fa6c40738a2d9ea Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 14 Jul 2014 00:09:54 -0400 Subject: Add a kernel postinst hook --- 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/ -- cgit v0.9.1