mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
Use pmbootstrap_v3.cfg as config file (MR 2350)
Using pmbootstrap v3 with the old config can cause problems, for example when having $WORK in the pmaports dir instead of the actual work path. This is not supported anymore by v3 to reduce complexity. The format of how mirrors are stored in the config also has changed. Use a separate config file, so users can go back from v3 to 2.3.x if they need to (for figuring out a regression) and so users won't run into bugs when moving from 2.3.x to v3.
This commit is contained in:
parent
3d9607aa99
commit
9dfa89c58c
11 changed files with 15 additions and 14 deletions
|
@ -67,7 +67,7 @@ def load(path: Path) -> Config:
|
|||
|
||||
def serialize(config: Config, skip_defaults=True) -> configparser.ConfigParser:
|
||||
"""Serialize the config object into a ConfigParser to write it out
|
||||
in the pmbootstrap.cfg INI format.
|
||||
in the pmbootstrap_v3.cfg INI format.
|
||||
|
||||
:param config: The config object to serialize
|
||||
:param skip_defaults: Skip writing out default values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue