mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-13 06:45:24 +01:00
Add an argument to rootfs.py to preseed bootstrap with binary packages.
This commit is contained in:
parent
0b3782d61b
commit
d84bb236a4
2 changed files with 9 additions and 2 deletions
|
|
@ -60,6 +60,8 @@ def main():
|
|||
parser.add_argument("--no-create-config",
|
||||
help="Do not automatically create config file",
|
||||
action="store_true")
|
||||
parser.add_argument("-r", "--repo",
|
||||
help="Path to prebuilt binary packages.", nargs=None)
|
||||
|
||||
# QEMU arguments
|
||||
parser.add_argument("-q", "--qemu", help="Use QEMU",
|
||||
|
|
@ -137,7 +139,8 @@ print(shutil.which('chroot'))
|
|||
create_disk_image=False)
|
||||
system_a.prepare(mount_tmpfs=True,
|
||||
copy_sysc=True,
|
||||
create_initramfs=False)
|
||||
create_initramfs=False,
|
||||
repo_path=args.repo)
|
||||
|
||||
# sysa
|
||||
arch = stage0_arch_map.get(args.arch, args.arch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue