fix lilo.conf update
This commit is contained in:
parent
c8e5def7c1
commit
60911a6a17
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue