From: Daan De Meyer Date: Thu, 19 Sep 2024 18:16:20 +0000 (+0200) Subject: Set repart definitions directory to / if we want to ignore system definitions X-Git-Tag: v25~279^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8765f7a8428fddce79c48ba02b383e1f460b0382;p=thirdparty%2Fmkosi.git Set repart definitions directory to / if we want to ignore system definitions Setting to empty string resets the argument list and as such doesn't work. --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index fceb2fd35..39671d42f 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -691,7 +691,7 @@ def apply_runtime_size(config: Config, image: Path) -> None: run( [ "systemd-repart", - "--definitions", "", + "--definitions=/", "--no-pager", # To use qemu's cache.direct option, the drive size has to be a multiple of the page size. f"--size={round_up(config.runtime_size, resource.getpagesize())}", @@ -1007,7 +1007,7 @@ def run_qemu(args: Args, config: Config) -> None: run( [ "systemd-repart", - "--definitions", "", + "--definitions=/", "--no-pager", "--pretty=no", "--offline=yes",