Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed Feb 28, 2020
1 parent ae55c68 commit 107d559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/bootloader/autoyast_converter.rb
Expand Up @@ -234,7 +234,7 @@ def export_grub2efi(res, bootloader)

# only for grub2, not for others
GRUB2_BOOLEAN_MAPPING = {
"secure_boot" => :secure_boot,
"secure_boot" => :secure_boot,
"trusted_grub" => :trusted_boot
}.freeze
private_constant :GRUB2_BOOLEAN_MAPPING
Expand Down
4 changes: 2 additions & 2 deletions src/lib/bootloader/grub2.rb
Expand Up @@ -113,8 +113,8 @@ def summary(simple_mode: false)
)
]

result.push secure_boot_summary if Systeminfo.secure_boot_available?(name)
result.push trusted_boot_summary if Systeminfo.trusted_boot_available?(name)
result << secure_boot_summary if Systeminfo.secure_boot_available?(name)
result << trusted_boot_summary if Systeminfo.trusted_boot_available?(name)

locations_val = locations
if !locations_val.empty?
Expand Down

0 comments on commit 107d559

Please sign in to comment.