Skip to content

Commit

Permalink
console support added for bls
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jan 3, 2025
1 parent 44bbcdc commit 89e7119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/bootloader/grub2_widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def vga_modes_items
@vga_modes.uniq!

@vga_modes.map! { |m| Item(Id(m), m) }
@vga_modes.unshift(Item(Id("auto"), _("Autodetect by grub2")))
@vga_modes.unshift(Item(Id("auto"), _("Autodetect by grub2"))) if grub2.name != "grub2-bls"

@vga_modes
end
Expand Down Expand Up @@ -952,7 +952,7 @@ def contents
private

def console_widget
if Systeminfo.console_supported?(grub2.name)
if Systeminfo.console_supported?
ConsoleWidget.new
else
CWM::Empty.new("console")
Expand Down
3 changes: 1 addition & 2 deletions src/lib/bootloader/systeminfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ def efi_mandatory?

# Check if console settings are supported
#
# param bootloader_name [String] bootloader name
# @return [Boolean] true if supported
def console_supported?(_bootloader_name)
def console_supported?
!Yast::Arch.s390
end

Expand Down

0 comments on commit 89e7119

Please sign in to comment.