Skip to content

Commit

Permalink
Merge pull request #20847 from rbmarliere/fix_bootloaderuefi_sdboot
Browse files Browse the repository at this point in the history
bootloader_uefi: Fix sdboot check
  • Loading branch information
rbmarliere authored Dec 26, 2024
2 parents 93707f1 + c9f5026 commit b570622
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tests/installation/bootloader_uefi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ sub run {
}
}

if (is_bootloader_sdboot) {
assert_screen("bootloader-sdboot");
return;
}

if (get_var("IPXE") && !is_usb_boot) {
sleep 60;
return;
Expand Down Expand Up @@ -111,12 +106,15 @@ sub run {
assert_screen("bootloader-grub2-agama", $bootloader_timeout);
}
else {
assert_screen([qw(bootloader-shim-import-prompt bootloader-grub2)], $bootloader_timeout);
assert_screen([qw(bootloader-shim-import-prompt bootloader-grub2 bootloader-sdboot)], $bootloader_timeout);
}
if (match_has_tag("bootloader-shim-import-prompt")) {
send_key "down";
send_key "ret";
assert_screen "bootloader-grub2", $bootloader_timeout;
assert_screen([qw(bootloader-grub2 bootloader-sdboot)], $bootloader_timeout);
}
if (match_has_tag("bootloader-sdboot")) {
return if is_bootloader_sdboot;
}
if (get_var('DISABLE_SECUREBOOT') && (get_var('BACKEND') eq 'qemu')) {
$self->tianocore_disable_secureboot;
Expand Down

0 comments on commit b570622

Please sign in to comment.