File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def main(args: argparse.Namespace) -> None:
9898 lkv = f'--lkv { argset ["lkv" ]} ' if argset ["module" ] in ("kernel" , "bundle" ) else ""
9999 ksu = "--ksu" if argset ["ksu" ] else ""
100100 size = f'--package-type { argset ["size" ]} ' if argset ["module" ] == "bundle" else ""
101- extra = "minimal --rom-only --clean" if argset ["module" ] == "assets" else ""
101+ extra = "--chroot minimal --rom-only --clean" if argset ["module" ] == "assets" else ""
102102 # if the build is last, make it automatically remove the Docker/Podman image from runner
103103 clean = "--clean-image" if count == len (argsets ) and args .env in ("docker" , "podman" ) else ""
104104 # form and launch the command
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ def parse_args() -> argparse.Namespace:
121121 )
122122 parser_assets .add_argument (
123123 "--chroot" ,
124+ required = True ,
124125 choices = ("full" , "minimal" ),
125126 help = "select Kali chroot type"
126127 )
You can’t perform that action at this time.
0 commit comments