forked from Mirror/pmbootstrap
pmbootstrap install: add --ondev --no-rootfs (MR 1995)
Skip building the postmarketOS rootfs, and allow either installing a pre-built pmOS rootfs, or even another operating system.
This commit is contained in:
parent
74d71c1b6c
commit
2247fc5aad
3 changed files with 48 additions and 15 deletions
|
@ -144,6 +144,12 @@ def arguments_install(subparser):
|
|||
metavar="HOST_SRC:CHROOT_DEST", type=type_ondev_cp,
|
||||
help="copy one or more files from the host system path"
|
||||
" HOST_SRC to the target path CHROOT_DEST")
|
||||
group.add_argument("--no-rootfs", dest="ondev_no_rootfs",
|
||||
help="do not generate a pmOS rootfs as"
|
||||
" /var/lib/rootfs.img (install chroot). The file"
|
||||
" must either exist from a previous"
|
||||
" 'pmbootstrap install' run or by providing it"
|
||||
" as CHROOT_DEST with --cp", action="store_true")
|
||||
|
||||
|
||||
def arguments_export(subparser):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue