]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Stop passing tools tree to default initrd build
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 2 Sep 2023 16:37:34 +0000 (18:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Sep 2023 11:27:36 +0000 (13:27 +0200)
It's already mounted if needed so no need to pass it to the initrd
build.

mkosi/__init__.py

index 783355e297cc402702c37bb99a43a898f8497151..d52a90fc86e36393fbdbd2b86e7c1f6a001ea8c8 100644 (file)
@@ -913,7 +913,6 @@ def build_initrd(state: MkosiState) -> Path:
         "--repository-key-check", str(state.config.repository_key_check),
         "--repositories", ",".join(state.config.repositories),
         "--package-manager-tree", ",".join(format_source_target(s, t) for s, t in state.config.package_manager_trees),
-        *(["--tools-tree", str(state.config.tools_tree)] if state.config.tools_tree else []),
         *(["--compress-output", str(state.config.compress_output)] if state.config.compress_output else []),
         "--with-network", str(state.config.with_network),
         "--cache-only", str(state.config.cache_only),