Fix _do_install_and_reboot on aarch64
On aarch64 the _do_install_and_reboot test runs the "consoletty0" action, which has a command with the string "fedora". This causes the command to fail with "No such file or directory". This patch changes "fedora" to "rocky" to which allows _do_install_and_reboot to pass.
This commit is contained in:
parent
5f5b8fa863
commit
93dcc5afc7
@ -177,7 +177,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/fedora/grub.cfg";
|
assert_script_run "chroot $mount grub2-mkconfig -o /boot/efi/EFI/rocky/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