* Add hook scripts for saving kernel in /boot on XFS filesystems.
These scripts can be found in dir. /usr/lib/lilo/ for optional
installation. See: #566035
+ * Remove obsolete symlinks sarge.bmp and sid.bmp to /boot/debian.bmp.
+ Now using /boot/debian.bmp directly in /etc/lilo.conf.
-- Joachim Wiedorn <ad_debian@joonet.de> Fri, 17 Oct 2014 13:57:19 +0200
set -e
-LNKS="sarge sid"
-
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
rm -f /boot/debian.bmp; fi
install -m 0644 /usr/share/lilo/*.bmp /boot
- # stay compatible with old lilo 22.8
- for i in ${LNKS}; do
- ln -s debian.bmp /boot/${i}.bmp
- done
# Nasty part to create network block devices if needed. Bug#235805.
if [ `uname -r | sed -e 's/-.*//g' -ne 's/\(^[0-9]\{1\}\.[0-9]\{1,2\}\).*/\1/p'` = "2.6" ] && \
CONF="/etc/lilo.conf"
MMAP="/boot/map"
BMPS="coffee debian debian-de inside onlyblue tuxlogo debianlilo"
-LNKS="sarge sid"
# remove old-named config files
dpkg-maintscript-helper rm_conffile \
for i in ${BMPS}; do
rm -f /boot/${i}.bmp /boot/${i}.dat;
done
- # stay compatible with old lilo 22.8
- for i in ${LNKS}; do
- test -L /boot/${i}.bmp && rm -f /boot/${i}.bmp;
- done
;;
*)
echo "postrm called with unknown argument \`$1'" >&2