From 93dcc5afc727a945ef3252db74d6872cb1793667 Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Thu, 26 Aug 2021 18:08:46 -0500 Subject: [PATCH] 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. --- 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 a98e6a73..af2d6225 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -177,7 +177,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/fedora/grub.cfg"; + assert_script_run "chroot $mount grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg"; } if (grep {$_ eq 'abrt'} @actions) { # Chroot in the newly installed system and switch on ABRT systemwide