[PATCH 09/12] gen_hosts: apply NixOS python interpreter default under QEMU_SYSTEM_UNITS
Daniel Gomez <[email protected]> Thu, 23 Apr 2026 13:31:01 +0200
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <20260423-kdevops-series-c-qemu-system-units-v1-9-b7bab3225a36@samsung.com> |
From: Daniel Gomez <[email protected]> The per-group interpreter defaults targeted NIXOS only because that was the only NixOS-guest backend when the split landed. QEMU_SYSTEM_UNITS boots NixOS imageless guests too, so its hosts also need /run/current-system/sw/bin/python3 as their baseline/ dev/service interpreter. Extend the default conditions to cover both backends. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> --- kconfigs/Kconfig.ansible_provisioning | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfigs/Kconfig.ansible_provisioning b/kconfigs/Kconfig.ansible_provisioning index 7b1d4f79..b6e92d83 100644 --- a/kconfigs/Kconfig.ansible_provisioning +++ b/kconfigs/Kconfig.ansible_provisioning @@ -130,7 +130,7 @@ config KDEVOPS_PYTHON_OLD_INTERPRETER config KDEVOPS_BASELINE_PYTHON_INTERPRETER string "Python interpreter for the [baseline] host group" output yaml - default "/run/current-system/sw/bin/python3" if NIXOS + default "/run/current-system/sw/bin/python3" if NIXOS || QEMU_SYSTEM_UNITS default KDEVOPS_PYTHON_INTERPRETER help Python interpreter emitted under [baseline:vars] in the generated @@ -143,7 +143,7 @@ config KDEVOPS_BASELINE_PYTHON_INTERPRETER config KDEVOPS_DEV_PYTHON_INTERPRETER string "Python interpreter for the [dev] host group" output yaml - default "/run/current-system/sw/bin/python3" if NIXOS + default "/run/current-system/sw/bin/python3" if NIXOS || QEMU_SYSTEM_UNITS default KDEVOPS_PYTHON_INTERPRETER help Python interpreter emitted under [dev:vars] in the generated @@ -153,7 +153,7 @@ config KDEVOPS_DEV_PYTHON_INTERPRETER config KDEVOPS_SERVICE_PYTHON_INTERPRETER string "Python interpreter for the [service] host group" output yaml - default "/run/current-system/sw/bin/python3" if NIXOS + default "/run/current-system/sw/bin/python3" if NIXOS || QEMU_SYSTEM_UNITS default KDEVOPS_PYTHON_INTERPRETER help Python interpreter emitted under [service:vars] in the generated -- 2.53.0