From 2b7cd849cf7be395130785b8e788e7e55bf1c56d Mon Sep 17 00:00:00 2001 From: Santiago Zarate Date: Mon, 2 Mar 2026 14:58:44 +0100 Subject: [PATCH] Agama media doesn't have boot from hdd anymore After[1] there is no more booting from disk in the agama installer images, meaning system should boot directly into HDD. For cases like USBBOOT this means the test should have the setting BOOTFROM=c [1] https://github.com/agama-project/agama/pull/3185 --- lib/grub_utils.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/grub_utils.pm b/lib/grub_utils.pm index db8ba4696ea2..8b49f525935b 100644 --- a/lib/grub_utils.pm +++ b/lib/grub_utils.pm @@ -9,7 +9,7 @@ use opensusebasetest qw(handle_uefi_boot_disk_workaround); use testapi; use Utils::Architectures; use utils; -use version_utils qw(is_sle is_livecd is_bootloader_grub2_bls); +use version_utils qw(is_sle is_livecd is_bootloader_grub2_bls is_agama is_leap); use bootloader_setup qw(stop_grub_timeout boot_into_snapshot); use Utils::Backends; @@ -62,6 +62,7 @@ Due to pre-installation setup, qemu boot order is always booting from CD-ROM. sub handle_installer_medium_bootup { return unless (check_var("BOOTFROM", "d") || (get_var('UEFI') && get_var('USBBOOT'))); + return if is_agama && !(is_sle || is_leap); assert_screen 'inst-bootmenu', 180; # Layout of live is different from installation media