arago.conf: allow switching between systemd and sysvinit with a variable
PATCH 1/1 arago.conf: allow switching between systemd and sysvinit with a variable
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/conf/distro/arago.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
meta-arago-distro/conf/distro/arago.conf +7 -4
@@ -60,14 +60,17 @@ DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}" DISTRO_FEATURES_remove = "x11" # Add additional distro features -DISTRO_FEATURES_append = " pam wayland opengl systemd" +DISTRO_FEATURES_append = " pam wayland opengl" # Set global runtime providers for major components -VIRTUAL-RUNTIME_dev_manager = "systemd" -VIRTUAL-RUNTIME_init_manager = "systemd" -VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" +ARAGO_SYSVINIT ?= "0" +VIRTUAL-RUNTIME_dev_manager = "${@base_conditional("ARAGO_SYSVINIT", "1", "udev", "systemd", d)}" +VIRTUAL-RUNTIME_init_manager = "${@base_conditional("ARAGO_SYSVINIT", "1", "sysvinit", "systemd", d)}" +VIRTUAL-RUNTIME_initscripts = "${@base_conditional("ARAGO_SYSVINIT", "1", "initscripts", "systemd-compat-units", d)}" VIRTUAL-RUNTIME_login_manager = "busybox shadow" +DISTRO_FEATURES_append = "${@base_conditional("ARAGO_SYSVINIT", "1", "", " systemd", d)}" + # Set preferred Qt version QT_PROVIDER ?= "qt5"
Signature · 1 line
2.7.4