Skip to content

Commit

Permalink
scripts: adjust arguments for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed Dec 5, 2023
1 parent 8c294ed commit 0813c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/multi_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions wrapper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def parse_args() -> argparse.Namespace:
)
parser_assets.add_argument(
"--chroot",
required=True,
choices=("full", "minimal"),
help="select Kali chroot type"
)
Expand Down

0 comments on commit 0813c1a

Please sign in to comment.