forked from Mirror/pmbootstrap
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:
parent
d623913491
commit
37b4af19fc
5 changed files with 21 additions and 7 deletions
|
@ -260,9 +260,10 @@ def test_questions_additional_options(args, monkeypatch):
|
|||
assert cfg == {"pmbootstrap": {}}
|
||||
|
||||
# Answer everything
|
||||
fake_answers(monkeypatch, ["y", "5", "2G", "n"])
|
||||
fake_answers(monkeypatch, ["y", "64", "5", "2G", "n"])
|
||||
func(args, cfg)
|
||||
assert cfg == {"pmbootstrap": {"jobs": "5",
|
||||
assert cfg == {"pmbootstrap": {"boot_size": "64",
|
||||
"jobs": "5",
|
||||
"ccache_size": "2G"}}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue