Skip to content

Commit

Permalink
bootupd: call bootupctl with --update-firmware
Browse files Browse the repository at this point in the history
This is required to write an entry to the EFI boot manager,
which we ought to do (anaconda does it when installing the
bootloader itself). Without this, boot of the installed system
will only work if it's configured to try and boot from the
hard disk using the fallback path.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
  • Loading branch information
AdamWill committed Mar 7, 2024
1 parent c473364 commit 5eaf3eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ def _install_bootupd(self):
"install",
"--auto",
"--write-uuid",
"--update-firmware",
"--device",
dev_data.path,
"/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def test_bootupd_run(self, devdata_mock, storage_mock, symlink_mock, rename_mock
exec_mock.assert_has_calls([
call(
"bootupctl",
["backend", "install", "--auto", "--write-uuid", "--device",
["backend", "install", "--auto", "--write-uuid", "--update-firmware", "--device",
"/dev/btldr-drv", "/"],
root=sysroot
),
Expand Down

0 comments on commit 5eaf3eb

Please sign in to comment.