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 eba3bdf commit 44bbcdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/bootloader/grub2bls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def propose
@is_proposed = true
# for UEFI always remove PMBR flag on disk (bnc#872054)
self.pmbr_action = :remove

propose_serial
end

# @return true if configuration is already proposed
Expand Down Expand Up @@ -114,8 +116,6 @@ def merge(other)
log.info " pmbr_action: #{pmbr_action}=>#{other.pmbr_action}"
log.info " grub_default.kernel_params: #{grub_default.kernel_params.serialize}=>" \
"#{other.grub_default.kernel_params.serialize}"
log.info " grub_default.kernel_params: #{grub_default.kernel_params.serialize}=>" \
"#{other.grub_default.kernel_params.serialize}"

merge_sections(other)
merge_grub_default(other)
Expand Down
4 changes: 2 additions & 2 deletions src/lib/bootloader/systeminfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def efi_mandatory?
#
# param bootloader_name [String] bootloader name
# @return [Boolean] true if supported
def console_supported?(bootloader_name)
!Yast::Arch.s390 && bootloader_name != "grub2-bls"
def console_supported?(_bootloader_name)
!Yast::Arch.s390
end

# Check if hiding menu are supported
Expand Down

0 comments on commit 44bbcdc

Please sign in to comment.