mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +00:00
do_bootloader: bootloader is always grub on F37+
Now we've ditched syslinux in Rawhide, we should just always expect to see grub if release number is > 36. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
fe6314c8de
commit
a6eb9024cf
@ -336,8 +336,9 @@ sub do_bootloader {
|
||||
ofw => get_var("OFW"),
|
||||
@_
|
||||
);
|
||||
# if not postinstall not UEFI and not ofw, syslinux
|
||||
$args{bootloader} //= ($args{uefi} || $args{postinstall} || $args{ofw}) ? "grub" : "syslinux";
|
||||
# if not postinstall, not UEFI, not ofw, and not F37+, syslinux
|
||||
my $relnum = get_release_number;
|
||||
$args{bootloader} //= ($args{uefi} || $args{postinstall} || $args{ofw}) || $relnum > 36 ? "grub" : "syslinux";
|
||||
# we use the firmware-type specific tags because we want to be
|
||||
# sure we actually did a UEFI boot
|
||||
my $boottag = "bootloader_bios";
|
||||
|
Loading…
Reference in New Issue
Block a user