forked from Mirror/pmbootstrap
Add option to specify extra free space in pmbootstrap init (MR 1989)
This adds a new commandline flag -E / --extra-space for specifying the amount of additional space to be added to the image size to work around cases where the automatically determined size turns out to not actually be enough. The value is also asked for in the "Additional options" section of the interactive mode. Fixes: #1904
This commit is contained in:
parent
e6543332de
commit
5dea31058d
5 changed files with 24 additions and 4 deletions
|
@ -357,6 +357,10 @@ def arguments():
|
|||
pmb.config.defaults["mirror_alpine"],
|
||||
metavar="URL")
|
||||
parser.add_argument("-j", "--jobs", help="parallel jobs when compiling")
|
||||
parser.add_argument("-E", "--extra-space",
|
||||
help="specify an integer with the amount of additional"
|
||||
"space to allocate to the image in MB (default"
|
||||
" 0)")
|
||||
parser.add_argument("-B", "--boot-size",
|
||||
help="specify an integer with your preferred boot"
|
||||
"partition size on target machine in MB (default"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue