Add distros.get_base_distros()
This commit is contained in:
parent
fef0f07297
commit
d08e25fe1b
5 changed files with 33 additions and 8 deletions
|
@ -7,7 +7,6 @@ import click
|
|||
|
||||
CONFIG_DEFAULT_PATH = os.path.join(appdirs.user_config_dir('kupfer'), 'kupferbootstrap.toml')
|
||||
|
||||
|
||||
PROFILE_DEFAULTS = {
|
||||
'device': '',
|
||||
'flavour': '',
|
||||
|
@ -41,6 +40,7 @@ CONFIG_RUNTIME_DEFAULTS = {
|
|||
'arch': None,
|
||||
}
|
||||
|
||||
|
||||
def sanitize_config(conf: dict, warn_missing_defaultprofile=True) -> dict:
|
||||
"""checks the input config dict for unknown keys and returns only the known parts"""
|
||||
return merge_configs(conf_new=conf, conf_base={}, warn_missing_defaultprofile=warn_missing_defaultprofile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue