diff --git a/usr/lib/akshara/utils/helpers.py b/usr/lib/akshara/utils/helpers.py index 8fda7c0..e782eb7 100644 --- a/usr/lib/akshara/utils/helpers.py +++ b/usr/lib/akshara/utils/helpers.py @@ -19,6 +19,9 @@ def resolve_config(system_config: dict) -> dict: "stages": system_config["stages"] if isinstance(system_config.get("stages"), list) else [], + "override": system_config["override"] + if isinstance(system_config.get("override"), list) + else [], "distro-config": system_config["distro-config"], "auto-update": system_config["auto-update"] if isinstance(system_config.get("auto-update"), dict) @@ -54,6 +57,12 @@ def resolve_config(system_config: dict) -> dict: else [] ) + base_config["override"] += ( + system_config["override"] + if isinstance(system_config.get("override"), list) + else [] + ) + base_config["auto-update"] = ( system_config["auto-update"] if isinstance(system_config.get("auto-update"), dict)