From: Daan De Meyer Date: Sun, 10 Mar 2024 15:31:03 +0000 (+0100) Subject: Set $SYSTEMD_XBOOTLDR_PATH when invoking bootctl install X-Git-Tag: v22~21^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8283f3682f92fcbfa6ee61484a8e2d0f62e4e4;p=thirdparty%2Fmkosi.git Set $SYSTEMD_XBOOTLDR_PATH when invoking bootctl install This makes sure various directories are created in /boot instead of /efi. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index efdfda4e9..f78eb52de 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -937,7 +937,7 @@ def install_systemd_boot(context: Context) -> None: with complete_step("Installing systemd-boot…"): run( ["bootctl", "install", "--root", context.root, "--all-architectures", "--no-variables"], - env={"SYSTEMD_ESP_PATH": "/efi"}, + env={"SYSTEMD_ESP_PATH": "/efi", "SYSTEMD_XBOOTLDR_PATH": "/boot"}, sandbox=context.sandbox(options=["--bind", context.root, context.root]), )