Skip to content

Commit

Permalink
switching not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Nov 19, 2024
1 parent 74405e7 commit c3e3c78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/bootloader/generic_widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ def handle
return :redraw
end

if !Yast::Stage.initial && ["systemd-boot", "grub2-bls"].include?(new_bl)
Yast::Popup.Warning(format(_(
"Switching to bootloader %s \n" \
"is currently not supported.\n"
), new_bl))
return :redraw
end

BootloaderFactory.current_name = new_bl
BootloaderFactory.current.propose

Expand Down

0 comments on commit c3e3c78

Please sign in to comment.