Commit graph

14 commits

Author SHA1 Message Date
InsanePrawn
d08e25fe1b Add distros.get_base_distros() 2021-09-26 17:19:30 +02:00
InsanePrawn
3b69c2235b Crosscompile is borked, host-compile seems working
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
232df81901 WIP: Add scaffolding for arch-agnostic base-distro handling 2021-09-26 17:19:30 +02:00
InsanePrawn
44261ffccb new dependency generation algorithm, dynamic chroot paths [almost] everywhere 2021-09-26 17:19:30 +02:00
InsanePrawn
40fe23ae28 config: add dump_toml() and dump_file() 2021-09-26 17:19:30 +02:00
InsanePrawn
d9662cc0d1 config: renamed paths 2021-09-26 17:19:30 +02:00
InsanePrawn
b36539af4c config.py: refactor merge_configs() out of parse_file() and add sanitize_config() alias 2021-09-26 17:19:30 +02:00
InsanePrawn
ba7043b654 config.py: store config path in runtime conf and log file load 2021-09-26 17:19:30 +02:00
InsanePrawn
32fbc7529b config profiles: add optional user password 2021-09-26 17:19:30 +02:00
InsanePrawn
144acee10f WIP: Improve config parsing, make --verbose and --config-file global options
Bonus: Generalize and reuse cmd_ssh()

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
4cf608eeb6 load_config(): add merge_defaults parameter, fix accidental overwriting of default profile when merging 2021-09-26 17:19:30 +02:00
InsanePrawn
7f153c214c config.py: formatting 2021-09-26 17:19:30 +02:00
InsanePrawn
9cc09e4f5b config: add config parsing and merging
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
07c61f9a33 Add first draft for config parsing
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00