]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
initd: respect --local-mirror too
authorLuca Boccassi <bluca@debian.org>
Sun, 2 Jul 2023 19:55:31 +0000 (20:55 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 3 Jul 2023 09:59:25 +0000 (10:59 +0100)
mkosi/__init__.py

index b108d1658c1e0d8b94c25a8d7701f622b791cf51..f8b68e5e664b8e6880c4b817336fb5e6a0872249 100644 (file)
@@ -841,6 +841,7 @@ def install_unified_kernel(state: MkosiState, roothash: Optional[str]) -> None:
                 *(["--output-dir", str(state.config.output_dir)] if state.config.output_dir else []),
                 *(["--workspace-dir", str(state.config.workspace_dir)] if state.config.workspace_dir else []),
                 "--cache-dir", str(state.cache_dir.parent),
+                *(["--local-mirror", str(state.config.local_mirror)] if state.config.local_mirror else []),
                 "--incremental", yes_no(state.config.incremental),
                 "--acl", yes_no(state.config.acl),
                 "--format", "cpio",