Drop 32 bit for loop from ppc64 grub2 config (#1169878)

Older versions of petitboot don't understand the for loop and won't
boot.  We also don't shipt 32 bit media anymore so there is no reason
for this to remain.

(cherry picked from commit 5909574a44)
This commit is contained in:
Brian C. Lane 2014-12-02 09:40:27 -08:00
parent 5a283bb5f7
commit 6db00b977e

View File

@ -3,24 +3,20 @@ set timeout=5
echo -e "\nWelcome to the @PRODUCT@ @VERSION@ installer!\n\n" echo -e "\nWelcome to the @PRODUCT@ @VERSION@ installer!\n\n"
for BITS in 32 64; do menuentry "Install @PRODUCT@ @VERSION@ (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
if [ -d "/ppc/ppc${BITS}" ]; then linux /ppc/ppc64/vmlinuz @ROOT@ ro
menuentry "Install @PRODUCT@ @VERSION@ (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { initrd /ppc/ppc64/initrd.img
linux /ppc/ppc${2}/vmlinuz @ROOT@ ro }
initrd /ppc/ppc${2}/initrd.img
}
menuentry "Test this media & install @PRODUCT@ @VERSION@ (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { menuentry "Test this media & install @PRODUCT@ @VERSION@ (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
linux /ppc/ppc${2}/vmlinuz @ROOT@ rd.live.check ro linux /ppc/ppc64/vmlinuz @ROOT@ rd.live.check ro
initrd /ppc/ppc${2}/initrd.img initrd /ppc/ppc64/initrd.img
} }
menuentry "Rescue a @PRODUCT@ system (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { menuentry "Rescue a @PRODUCT@ system (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
linux /ppc/ppc${2}/vmlinuz @ROOT@ rescue ro linux /ppc/ppc64/vmlinuz @ROOT@ rescue ro
initrd /ppc/ppc${2}/initrd.img initrd /ppc/ppc64/initrd.img
} }
fi
done
submenu 'Other options...' { submenu 'Other options...' {
menuentry 'Reboot' { menuentry 'Reboot' {