diff --git a/lib/utils.pm b/lib/utils.pm index f9d70013..c63b9e2c 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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";