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:
parent
b8b46753e2
commit
9cffe4e3d4
@ -175,7 +175,7 @@ sub run {
|
||||
else {
|
||||
# regenerate the bootloader config, only necessary if we
|
||||
# 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user