From a4dc2f2d2c83a7f5acc6be5a912bd87e474545e2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Nov 2014 23:38:56 -0500 Subject: kernel-prerm.sh: New file --- diff --git a/build b/build index 60cc68e..c8931ff 100755 --- a/build +++ b/build @@ -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 -- cgit v0.9.1