From d73e753339e7beef0389f6a7261eb1755278e181 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Fri, 15 Nov 2024 20:11:08 -0800 Subject: [PATCH] do not overwrite the grub wrapper --- tests/_do_install_and_reboot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 5af0832c..3e691071 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -182,7 +182,7 @@ sub run { # messages, which screw up some needles assert_script_run 'sed -i -e "s,\(GRUB_CMDLINE_LINUX.*\)\",\1 console=tty0 quiet\",g" ' . $mount . '/etc/default/grub'; # regenerate the bootloader config - assert_script_run "chroot $mount grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg"; + assert_script_run "chroot $mount grub2-mkconfig -o /boot/grub2/grub.cfg"; } if (grep { $_ eq 'abrt' } @actions) { # Chroot in the newly installed system and switch on ABRT systemwide