Skip to content

Commit

Permalink
Set $BOOT_ROOT when invoking kernel-install
Browse files Browse the repository at this point in the history
Instead of setting $SYSTEMD_XBOOTLDR_PATH and $SYSTEMD_ESP_PATH, let's
just set $BOOT_ROOT which does the same thing.
  • Loading branch information
DaanDeMeyer committed Jul 29, 2024
1 parent b40c58a commit 06ce2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2311,7 +2311,7 @@ def find_entry_token(context: Context) -> str:
["kernel-install", "--root=/buildroot", "--json=pretty", "inspect"],
sandbox=context.sandbox(binary="kernel-install", mounts=[Mount(context.root, "/buildroot", ro=True)]),
stdout=subprocess.PIPE,
env={"SYSTEMD_ESP_PATH": "/efi", "SYSTEMD_XBOOTLDR_PATH": "/boot"},
env={"BOOT_ROOT": "/boot"},
).stdout
)

Expand Down

0 comments on commit 06ce2cb

Please sign in to comment.