install: add --filesystem to handle ext4 or f2fs (MR 2011)

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
This commit is contained in:
Bobby The Builder 2021-03-07 08:38:37 -05:00 committed by Oliver Smith
parent 958ecc6c72
commit 807d7019f8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 33 additions and 14 deletions

View file

@ -155,6 +155,11 @@ def arguments_install(subparser):
" 'pmbootstrap install' run or by providing it"
" as CHROOT_DEST with --cp", action="store_true")
# Other
group = ret.add_argument_group("other optional arguments")
group.add_argument("--filesystem", help="root filesystem type",
choices=["ext4", "f2fs"])
def arguments_export(subparser):
ret = subparser.add_parser("export", help="create convenience symlinks"