From f9713e7f1933971f7388d42535a9ffafa77273a6 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 24 Apr 2020 15:29:23 +0800 Subject: [PATCH] stx-config: enable the services by default Set correct systemd variables to enable the services Issue-ID: INF-29 Signed-off-by: Jackie Huang Change-Id: Iea55ec66b7ec305405d8ca58be7a7be73e642c44 --- meta-stx/recipes-core/stx-config/config-gate.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta-stx/recipes-core/stx-config/config-gate.inc b/meta-stx/recipes-core/stx-config/config-gate.inc index ca412c4..e4cf2eb 100644 --- a/meta-stx/recipes-core/stx-config/config-gate.inc +++ b/meta-stx/recipes-core/stx-config/config-gate.inc @@ -34,3 +34,13 @@ FILES_config-gate = " \ ${sbindir}/wait_for_config_init.sh \ ${systemd_system_unitdir}/config.service \ " + +SYSTEMD_PACKAGES += "\ + config-gate \ + config-gate-worker \ + " +SYSTEMD_SERVICE_config-gate = "config.service" +SYSTEMD_SERVICE_config-gate-worker = "worker-config-gate.service" + +SYSTEMD_AUTO_ENABLE_config-gate = "enable" +SYSTEMD_AUTO_ENABLE_config-gate-worker = "enable" -- 2.16.6