add entry in lilo.conf only if needed
This commit is contained in:
parent
d0f2da45b2
commit
9940fa4ec1
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ make modules_install INSTALL_MOD_PATH=$PKG
|
|||
mkdir -p $PKG/install
|
||||
cat <<EOF > $PKG/installs/doinst.sh
|
||||
cp /etc/lilo.conf /etc/lilo.conf.orig
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue