diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-11-09 23:38:56 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-11-09 23:38:56 (EST) |
commit | a4dc2f2d2c83a7f5acc6be5a912bd87e474545e2 (patch) | |
tree | 32ad7f233c141b07f1fe05ea420af9001c21efed | |
parent | 0ce7964e31afaf937221ef6a41e7c1d1643fb672 (diff) |
kernel-prerm.sh: New file
-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 |