From: Arne Fitzenreiter Date: Tue, 18 Jun 2019 12:36:02 +0000 (+0200) Subject: linux-pae: fix grub.conf creation on pv machines X-Git-Tag: v2.23-core135~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a129822af7e4e574ee5ca8e6c973b560d563324;p=ipfire-2.x.git linux-pae: fix grub.conf creation on pv machines on some systems it seems that grub2 and it config also exist. --- diff --git a/src/paks/linux-pae/install.sh b/src/paks/linux-pae/install.sh index fd71621d57..fa84c801cc 100644 --- a/src/paks/linux-pae/install.sh +++ b/src/paks/linux-pae/install.sh @@ -67,7 +67,9 @@ if [ -e /boot/grub/grub.cfg ]; then # Update grub2 config # grub-mkconfig > /boot/grub/grub.cfg -else +fi + +if [ -e /boot/grub/grub.conf ]; then # # xen pv with pygrub need grub.conf / menu.lst #