1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-23 22:43:07 +00:00

Fix postinstall bootloader regen with grub 2.12

We weren't really doing this right. Let's do it this way, which
is how we do it in another place, and works.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-09 11:57:46 -04:00
parent b8b46753e2
commit 9cffe4e3d4

View File

@ -175,7 +175,7 @@ sub run {
else { else {
# regenerate the bootloader config, only necessary if we # regenerate the bootloader config, only necessary if we
# edited /etc/default/grub # edited /etc/default/grub
assert_script_run "chroot $mount grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg"; assert_script_run 'chroot ' . $mount . ' grub2-mkconfig -o $(readlink -m /etc/grub2.cfg)';
} }
} }
if (grep { $_ eq 'abrt' } @actions) { if (grep { $_ eq 'abrt' } @actions) {