fix lilo.conf update

This commit is contained in:
Gwenhael Le Moine 2010-11-30 18:38:21 +07:00
parent c8e5def7c1
commit 60911a6a17

View file

@ -66,7 +66,7 @@ mv $PKG/boot/$KERNEL_VERSION/{.,}config
mkdir -p $PKG/install
cat <<EOF > $PKG/install/doinst.sh
cp /etc/lilo.conf /etc/lilo.conf.orig
grep -q "image = /boot/$KERNEL_VERSION/bzImage" /etc/lilo.conf && \
grep -q "image = /boot/$KERNEL_VERSION/bzImage" /etc/lilo.conf || \
cat <<EOLILO >> /etc/lilo.conf
# Linux bootable partition config begins
image = /boot/$KERNEL_VERSION/bzImage