make boot partition size user-overridable (MR 1931)

Ask for the boot partition size during "pmbootstrap init" in the
additional options with a default of 128 MB, and allow to override it
with -B.
This commit is contained in:
Anjandev Momi 2020-04-28 00:04:31 -07:00 committed by Oliver Smith
parent d623913491
commit 37b4af19fc
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 21 additions and 7 deletions

View file

@ -356,6 +356,10 @@ def arguments():
pmb.config.defaults["mirror_alpine"],
metavar="URL")
parser.add_argument("-j", "--jobs", help="parallel jobs when compiling")
parser.add_argument("-B", "--boot-size",
help="specify an integer with your preferred boot"
"partition size on target machine in MB (default"
" 128)")
parser.add_argument("-p", "--aports",
help="postmarketos aports (pmaports) path")
parser.add_argument("-t", "--timeout", help="seconds after which processes"