X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-update%2Fcgcs-patch.inc;h=513ad3ddf8be35c2a9dd1fcc90f23290dc1947cc;hb=8afe1d2b0c469e117eab86c82f2fa96ea271290e;hp=c506818d2ca750a1ec55c9c224fda6073ddfeff3;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-update/cgcs-patch.inc b/meta-stx/recipes-core/stx-update/cgcs-patch.inc index c506818..513ad3d 100644 --- a/meta-stx/recipes-core/stx-update/cgcs-patch.inc +++ b/meta-stx/recipes-core/stx-update/cgcs-patch.inc @@ -17,7 +17,7 @@ PACKAGES += " cgcs-patch" PACKAGES += " cgcs-patch-agent" PACKAGES += " cgcs-patch-controller" -inherit setuptools +inherit setuptools systemd RDEPENDS_cgcs-patch_append = " \ bash \ @@ -134,3 +134,18 @@ FILES_cgcs-patch-controller = " \ ${sysconfdir}/init.d/sw-patch-controller \ ${systemd_system_unitdir}/sw-patch-controller.service \ " + +SYSTEMD_PACKAGES += "cgcs-patch" +SYSTEMD_SERVICE_cgcs-patch = "sw-patch.service" +SYSTEMD_AUTO_ENABLE_cgcs-patch = "enable" + +SYSTEMD_PACKAGES += "cgcs-patch-agent" +SYSTEMD_SERVICE_cgcs-patch-agent = "sw-patch-agent.service" +SYSTEMD_AUTO_ENABLE_cgcs-patch-agent = "enable" + +SYSTEMD_PACKAGES += "cgcs-patch-controller" +SYSTEMD_SERVICE_cgcs-patch-controller = " \ + sw-patch-controller.service \ + sw-patch-controller-daemon.service \ + " +SYSTEMD_AUTO_ENABLE_cgcs-patch-controller = "enable"