Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 27, 2023
1 parent a762b76 commit f8cf461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/bootloader/bootloader_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def clear_cache
def supported_names
if Yast::Mode.config
# default means bootloader use what it think is the best
if Yast::ProductFeatures.GetBooleanFeature("globals", "enable_systemd_boot")
if true #Yast::ProductFeatures.GetBooleanFeature("globals", "enable_systemd_boot")
return BootloaderFactory::SUPPORTED_BOOTLOADERS + [SYSTEMDBOOT, DEFAULT_KEYWORD]
else
return BootloaderFactory::SUPPORTED_BOOTLOADERS + [DEFAULT_KEYWORD]
Expand All @@ -70,7 +70,7 @@ def supported_names
# grub2 everywhere except aarch64 or riscv64
ret << "grub2" unless Systeminfo.efi_mandatory?
ret << "grub2-efi" if Systeminfo.efi_supported?
ret << SYSTEMDBOOT if Systeminfo.efi_supported? && Yast::ProductFeatures.GetBooleanFeature("globals", "enable_systemd_boot")
ret << SYSTEMDBOOT if Systeminfo.efi_supported? #&& Yast::ProductFeatures.GetBooleanFeature("globals", "enable_systemd_boot")
ret << "none"
# avoid double entry for selected one
ret.uniq
Expand Down

0 comments on commit f8cf461

Please sign in to comment.