Skip to content

Commit

Permalink
write proper value for NVRAM for UEFI (bsc#1157550)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Oct 22, 2020
1 parent 5a88489 commit 439f392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/bootloader/grub2efi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def packages
# overwrite BootloaderBase version to save secure boot
def write_sysconfig(prewrite: false)
sysconfig = Bootloader::Sysconfig.new(bootloader: name,
secure_boot: secure_boot, trusted_boot: trusted_boot, update_nvram: true)
secure_boot: secure_boot, trusted_boot: trusted_boot,
update_nvram: update_nvram)
prewrite ? sysconfig.pre_write : sysconfig.write
end

Expand Down

0 comments on commit 439f392

Please sign in to comment.