Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/conf/distro/arago.conf | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index 99ba36f..026dae2 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -82,13 +82,13 @@ DISTRO_FEATURES_append = " pam wayland opengl"
 
 # Set global runtime providers for major components
 ARAGO_SYSVINIT ?= "0"
-VIRTUAL-RUNTIME_dev_manager = "${@oe.utils.conditional("ARAGO_SYSVINIT", "1", 
"udev", "systemd", d)}"
-VIRTUAL-RUNTIME_init_manager = "${@oe.utils.conditional("ARAGO_SYSVINIT", "1", 
"sysvinit", "systemd", d)}"
-VIRTUAL-RUNTIME_initscripts = "${@oe.utils.conditional("ARAGO_SYSVINIT", "1", 
"initscripts", "systemd-compat-units", d)}"
-VIRTUAL-RUNTIME_initramfs = "${@oe.utils.conditional("ARAGO_SYSVINIT", "1", 
"sysvinit-initramfs", "systemd-initramfs", d)}"
+VIRTUAL-RUNTIME_dev_manager = "${@["udev", 
"systemd"][bool(d.getVar("ARAGO_SYSVINIT"))]}"
+VIRTUAL-RUNTIME_init_manager = "${@["sysvinit", 
"systemd"][bool(d.getVar("ARAGO_SYSVINIT"))]}"
+VIRTUAL-RUNTIME_initscripts = "${@["initscripts", 
"systemd-compat-units"][bool(d.getVar("ARAGO_SYSVINIT"))]}"
+VIRTUAL-RUNTIME_initramfs = "${@["sysvinit-initramfs", 
"systemd-initramfs"][bool(d.getVar("ARAGO_SYSVINIT"))]}"
 VIRTUAL-RUNTIME_login_manager = "busybox shadow"
 
-DISTRO_FEATURES_append = "${@oe.utils.conditional("ARAGO_SYSVINIT", "1", "", " 
systemd", d)}"
+DISTRO_FEATURES_append = "${@[""," 
systemd"][bool(d.getVar("ARAGO_SYSVINIT"))]}"
 
 # Set preferred Qt version
 QT_PROVIDER ?= "qt5"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to