mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-21 20:51:25 +00:00
Merge pull request #232 from tcooper/aarch64-grub2-mkconfig-fix
fix: do not overwrite the grub wrapper
This commit is contained in:
commit
0b7d999e2b
@ -182,7 +182,7 @@ sub run {
|
|||||||
# messages, which screw up some needles
|
# 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';
|
assert_script_run 'sed -i -e "s,\(GRUB_CMDLINE_LINUX.*\)\",\1 console=tty0 quiet\",g" ' . $mount . '/etc/default/grub';
|
||||||
# regenerate the bootloader config
|
# 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) {
|
if (grep { $_ eq 'abrt' } @actions) {
|
||||||
# Chroot in the newly installed system and switch on ABRT systemwide
|
# Chroot in the newly installed system and switch on ABRT systemwide
|
||||||
|
Loading…
Reference in New Issue
Block a user