pmbootstrap install: add --ondev --cp (MR 1995)

Allow to copy one or more files to the install chroot. It will be
possible to use this to put a non-pmOS image into the generated
installer OS.
This commit is contained in:
Oliver Smith 2020-11-17 15:24:20 +01:00
parent 2660360293
commit 74d71c1b6c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 40 additions and 0 deletions

View file

@ -233,6 +233,9 @@ def install(args):
if args.rsync:
raise ValueError("--on-device-installer cannot be combined with"
" --rsync")
else:
if args.ondev_cp:
raise ValueError("--cp can only be combined with --ondev")
# On-device installer overrides
if args.on_device_installer: