Skip to content

Commit

Permalink
Merge pull request #622 from yast/nvram_fixes
Browse files Browse the repository at this point in the history
Nvram fixes
  • Loading branch information
jreidinger committed Oct 22, 2020
2 parents dd627d8 + 4bc515a commit 352c28b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-bootloader.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 22 12:53:21 UTC 2020 - Josef Reidinger <jreidinger@suse.com>

- "write proper value for NVRAM for UEFI (bsc#1157550)"
- fix failing test on s390 (bsc#1177986)
- 4.3.13

-------------------------------------------------------------------
Thu Oct 8 18:05:29 UTC 2020 - Josef Reidinger <jreidinger@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-bootloader.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-bootloader
Version: 4.3.12
Version: 4.3.13
Release: 0
Summary: YaST2 - Bootloader Configuration
License: GPL-2.0-or-later
Expand Down
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
2 changes: 1 addition & 1 deletion test/grub2base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@

context "xen hypervisor kernel parameters proposal" do
before do
allow(Yast::Kernel).to receive(:GetCmdLine).and_return(kernel_params)
allow(Yast::BootArch).to receive(:DefaultKernelParams).and_return(kernel_params)
end

context "with a serial console" do
Expand Down

0 comments on commit 352c28b

Please sign in to comment.