Skip to content

Commit

Permalink
Don't add empty fadump= kernel parameter (bsc#1230359)
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Sep 17, 2024
1 parent c34b321 commit 77a64b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/Kdump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,7 @@ def write_fadump_boot_param
if fadump_supported?
# If fdump is selected and we want to enable kdump
value = "on" if using_fadump? && @add_crashkernel_param
value ||= :missing
Bootloader.modify_kernel_params(:common, :recovery, "fadump" => value)
Bootloader.Write unless Yast::Stage.initial # do mass write in installation to speed up
end
Expand Down

0 comments on commit 77a64b3

Please sign in to comment.