diff --git a/a/linux/linux.SlackBuild b/a/linux/linux.SlackBuild index eccfd783..7aacbc61 100755 --- a/a/linux/linux.SlackBuild +++ b/a/linux/linux.SlackBuild @@ -66,6 +66,7 @@ make modules_install INSTALL_MOD_PATH=$PKG mkdir -p $PKG/install cat < $PKG/installs/doinst.sh cp /etc/lilo.conf /etc/lilo.conf.orig +grep -q "image = /boot/$KERNEL_VERSION/bzImage" /etc/lilo.conf && \ cat <> /etc/lilo.conf # Linux bootable partition config begins image = /boot/$KERNEL_VERSION/bzImage