mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside. Module config files are <modulename>.conf, installed in share/calamares/modules. settings.conf is read from /etc/calamares, then share/calamares, and if running with --debug also in the current dir. Module config files are read from /etc/calamares/modules, then share/calamares/modules, and if running with --debug also in src/modules/<modulename> relative to the current dir.
This commit is contained in:
parent
75e9fd6aa3
commit
8f10c21e5b
38 changed files with 161 additions and 135 deletions
|
@ -54,7 +54,7 @@ def main():
|
|||
|
||||
print("Testing module in: " + args.moduledir)
|
||||
|
||||
confpath = os.path.join(args.moduledir, "module.conf")
|
||||
confpath = os.path.join(args.moduledir, "module.desc")
|
||||
with open(confpath) as f:
|
||||
doc = yaml.load(f)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue