1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Give dracut -f longer to run in _advisory_update

It seems slow on Rawhide updates ATM.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-06-01 08:56:27 -07:00
parent ac24eeefb4
commit e9a7e0eb6c

View File

@ -15,7 +15,7 @@ sub run {
# the bootloader config, and reinstall the bootloader on BIOS. This # the bootloader config, and reinstall the bootloader on BIOS. This
# is kinda arch-dependent, but works for the three arches currently # is kinda arch-dependent, but works for the three arches currently
# in openQA: x86_64, ppc64le, and aarch64. # in openQA: x86_64, ppc64le, and aarch64.
assert_script_run "dracut -f"; assert_script_run "dracut -f", 180;
assert_script_run 'grub2-mkconfig -o $(readlink -m /etc/grub2.cfg)'; assert_script_run 'grub2-mkconfig -o $(readlink -m /etc/grub2.cfg)';
my $instdev = get_var("OFW") ? '/dev/vda1' : '/dev/vda'; my $instdev = get_var("OFW") ? '/dev/vda1' : '/dev/vda';
assert_script_run "grub2-install $instdev" unless (get_var("UEFI")); assert_script_run "grub2-install $instdev" unless (get_var("UEFI"));