Commit 6b7c9204 authored by Joachim Wiedorn's avatar Joachim Wiedorn

Remove obsolete image symlinks in /boot

parent 14c5541b
......@@ -22,6 +22,8 @@ lilo (1:24.1-1) UNRELEASED; urgency=medium
* 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
......
......@@ -5,8 +5,6 @@
set -e
LNKS="sarge sid"
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
......@@ -53,10 +51,6 @@ case "$1" in
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" ] && \
......
......@@ -8,7 +8,6 @@ set -e
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 \
......@@ -35,10 +34,6 @@ case "$1" in
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment