Skip to content

Commit

Permalink
no console on s390
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 26, 2014
1 parent 1c6678c commit df0bb0f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/include/bootloader/grub2/dialogs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ def boot_code_tab
end

def kernel_tab
widgets = ["vgamode", "append", "append_failsafe", "console"]
widgets.delete("console") if Arch.s390 # there is no console on s390 (bnc#868909)

{
"id" => "kernel_tab",
"header" => _("Kernel Parameters"),
"widget_names" => ["vgamode", "append", "append_failsafe", "console"],
"widget_names" => widgets,
"contents" => VBox(
VSpacing(1),
MarginBox(1, 0.5, "vgamode"),
Expand All @@ -78,7 +81,7 @@ def kernel_tab

def bootloader_tab
widgets = ["default", "timeout", "password", "os_prober", "hiddenmenu"]
widgets.delete("os_prober") if Arch.s390 # there is no os prober on s390
widgets.delete("os_prober") if Arch.s390 # there is no os prober on s390(bnc#868909)

{
"id" => "bootloader_tab",
Expand Down

0 comments on commit df0bb0f

Please sign in to comment.