Add early preseed

Speeds up development cycle, allows for the pre-kaem stages to be
extracted as a tarball
This commit is contained in:
fosslinux 2022-12-21 14:17:37 +11:00
parent d91deb50c9
commit 6f76fd2071
4 changed files with 48 additions and 3 deletions

View file

@ -69,6 +69,8 @@ def main():
action="store_true")
parser.add_argument("-r", "--repo",
help="Path to prebuilt binary packages.", nargs=None)
parser.add_argument("--early-preseed",
help="Skip early stages of live-bootstrap.", nargs=None)
# QEMU arguments
parser.add_argument("-q", "--qemu", help="Use QEMU",
@ -126,7 +128,8 @@ def main():
tmpdir=args.tmpdir, external_sources=args.external_sources)
system_b = SysB(arch=args.arch, preserve_tmp=args.preserve)
system_a = SysA(arch=args.arch, preserve_tmp=args.preserve,
tmpdir=args.tmpdir, external_sources=args.external_sources,
early_preseed=args.early_preseed, tmpdir=args.tmpdir,
external_sources=args.external_sources,
sysb_dir=system_b.sys_dir, sysc_dir=system_c.sys_dir)
if args.tmpdir is not None: