diff --git a/scripts/multi_build.py b/scripts/multi_build.py index 5a9831a..7a0cebe 100644 --- a/scripts/multi_build.py +++ b/scripts/multi_build.py @@ -98,7 +98,7 @@ def main(args: argparse.Namespace) -> None: lkv = f'--lkv {argset["lkv"]}' if argset["module"] in ("kernel", "bundle") else "" ksu = "--ksu" if argset["ksu"] else "" size = f'--package-type {argset["size"]}' if argset["module"] == "bundle" else "" - extra = "minimal --rom-only --clean" if argset["module"] == "assets" else "" + extra = "--chroot minimal --rom-only --clean" if argset["module"] == "assets" else "" # if the build is last, make it automatically remove the Docker/Podman image from runner clean = "--clean-image" if count == len(argsets) and args.env in ("docker", "podman") else "" # form and launch the command diff --git a/wrapper/__main__.py b/wrapper/__main__.py index c7daa3a..c3a7b52 100644 --- a/wrapper/__main__.py +++ b/wrapper/__main__.py @@ -121,6 +121,7 @@ def parse_args() -> argparse.Namespace: ) parser_assets.add_argument( "--chroot", + required=True, choices=("full", "minimal"), help="select Kali chroot type" )