From: Joerg Behrmann Date: Thu, 28 Sep 2023 14:05:15 +0000 (+0200) Subject: scripts: also pass WITH_ to prepare script X-Git-Tag: v18~28^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4689b7df4e9c62c8e1713de8109253dcecc889;p=thirdparty%2Fmkosi.git scripts: also pass WITH_ to prepare script --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 615f553e9..7e1d26b36 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -309,6 +309,9 @@ def run_prepare_scripts(state: MkosiState, build: bool) -> None: MKOSI_UID=str(state.uid), SCRIPT="/work/prepare", SRCDIR=str(Path.cwd()), + WITH_DOCS=one_zero(state.config.with_docs), + WITH_NETWORK=one_zero(state.config.with_network), + WITH_TESTS=one_zero(state.config.with_tests), ) with contextlib.ExitStack() as stack: