File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,9 @@ x86_64)
476
476
if [ " ${x86_bios_bootloader} " = 1 ]; then
477
477
# And BIOS grub in addition. See also
478
478
# https://github.com/coreos/fedora-coreos-tracker/issues/32
479
- grub2-install \
479
+ # Install BIOS/PReP bootloader using the target system's grub2-install,
480
+ # see https://github.com/coreos/coreos-assembler/issues/3156
481
+ chroot_run /sbin/grub2-install \
480
482
--target i386-pc \
481
483
--boot-directory $rootfs /boot \
482
484
--modules mdraid1x \
@@ -489,7 +491,7 @@ aarch64)
489
491
;;
490
492
ppc64le)
491
493
# to populate PReP Boot, i.e. support pseries
492
- grub2-install --target=powerpc-ieee1275 --boot-directory $rootfs /boot --no-nvram " ${disk}${PREPPN} "
494
+ chroot_run /sbin/ grub2-install --target=powerpc-ieee1275 --boot-directory $rootfs /boot --no-nvram " ${disk}${PREPPN} "
493
495
install_grub_cfg
494
496
;;
495
497
s390x)
You can’t perform that action at this time.
0 commit comments