PPC bootloader; install to boot partition
Using the newly exposed variables from the prior change, install the ppc bootloader to the boot partition, not the underlying loopback device. Change-Id: I0918e8df8797d6dbabf7af618989ab7f79ee9580
This commit is contained in:
parent
6c394f5746
commit
5ac8a98e9a
@ -117,7 +117,13 @@ function install_grub2 {
|
||||
fi
|
||||
|
||||
if [[ "$ARCH" =~ "ppc" ]] ; then
|
||||
$GRUBNAME --modules="part_msdos" $GRUB_OPTS $BOOT_DEV --no-nvram
|
||||
# For PPC, we use the "boot" partition as the one to point
|
||||
# grub-install to, not the loopback device. ppc has a
|
||||
# dedicated PReP boot partition. This seems to only work on
|
||||
# /dev/mapper/... nodes due to matching rules in grub
|
||||
# XXX : this may not be true. It seems to work,
|
||||
# but requires some more investigation.
|
||||
$GRUBNAME --modules="part_msdos" $GRUB_OPTS ${DEVICES[boot]} --no-nvram
|
||||
else
|
||||
$GRUBNAME --modules="biosdisk part_msdos" $GRUB_OPTS $BOOT_DEV
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user