From: Daan De Meyer Date: Thu, 17 Aug 2023 08:15:00 +0000 (+0200) Subject: Set --no-variables when we invoke bootctl X-Git-Tag: v16~55^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1804%2Fhead;p=thirdparty%2Fmkosi.git Set --no-variables when we invoke bootctl We already don't install variables because we're operating on a root directory, but if we set --no-variables we don't get warnings from bootctl about it. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 3b2fd4d5a..0737c7462 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -507,7 +507,7 @@ def install_systemd_boot(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, "--all-architectures"], + run(["bootctl", "install", "--root", state.root, "--all-architectures", "--no-variables"], env={"SYSTEMD_ESP_PATH": "/efi"}) if state.config.secure_boot: