]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Execute user presets alongside system presets
authorWinterhuman <86165318+Winterhuman@users.noreply.github.com>
Wed, 6 Dec 2023 07:01:13 +0000 (07:01 +0000)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 6 Dec 2023 09:50:25 +0000 (10:50 +0100)
Adds `systemctl --root "$ROOT" --global preset-all` to the **Applying presets...** build step.

mkosi/__init__.py

index a9e6ad5e6a70d5bb4704affeb15c08f308fc32f1..1ae70f872daa5488e39e44b292730fdb3b08ef59 100644 (file)
@@ -1835,6 +1835,7 @@ def run_preset(state: MkosiState) -> None:
 
     with complete_step("Applying presets…"):
         run(["systemctl", "--root", state.root, "preset-all"])
+        run(["systemctl", "--root", state.root, "--global", "preset-all"])
 
 
 def run_hwdb(state: MkosiState) -> None: