From: Daan De Meyer Date: Fri, 26 May 2023 11:27:41 +0000 (+0200) Subject: Add --all-architectures when we run bootctl X-Git-Tag: v15~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efbebea4dee58a580b0cefca4a0c35cdb2212b75;p=thirdparty%2Fmkosi.git Add --all-architectures when we run bootctl To make sure that we install correctly even when doing cross builds --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 1eed9ade7..b8165c8d4 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -478,7 +478,7 @@ def install_boot_loader(state: MkosiState) -> None: die("One of sbsign or pesign is required to use SecureBoot=") with complete_step("Installing boot loader…"): - run(["bootctl", "install", "--root", state.root], env={"SYSTEMD_ESP_PATH": "/efi"}) + run(["bootctl", "install", "--root", state.root, "--all-architectures"], env={"SYSTEMD_ESP_PATH": "/efi"}) if state.config.secure_boot: assert state.config.secure_boot_key