diff options
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | kernel-prerm.sh | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,8 @@ install: build # Install package hooks. install -m 0755 -D ../kernel-postinst.sh \ dest/etc/kernel/postinst.d/99-lilo + install -m 0755 -D ../kernel-prerm.sh \ + dest/etc/kernel/prerm.d/99-lilo oh-fixperms oh-strip oh-installfiles diff --git a/kernel-prerm.sh b/kernel-prerm.sh new file mode 100644 index 0000000..5815727 --- /dev/null +++ b/kernel-prerm.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Backup the old Linux image. +ln -f /boot/vmlinuz /boot/vmlinuz.old |