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"),
|
ofw => get_var("OFW"),
|
||||||
@_
|
@_
|
||||||
);
|
);
|
||||||
# if not postinstall not UEFI and not ofw, syslinux
|
# if not postinstall, not UEFI, not ofw, and not F37+, syslinux
|
||||||
$args{bootloader} //= ($args{uefi} || $args{postinstall} || $args{ofw}) ? "grub" : "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
|
# we use the firmware-type specific tags because we want to be
|
||||||
# sure we actually did a UEFI boot
|
# sure we actually did a UEFI boot
|
||||||
my $boottag = "bootloader_bios";
|
my $boottag = "bootloader_bios";
|
||||||
|
Loading…
Reference in New Issue
Block a user