X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-metal%2Fmtce-compute.inc;h=ac0326c7d05dc6712235587f1eec62e468dd61a0;hb=a7b4cfae61500070bd58725470e341ce27cb2948;hp=3c0aea7fdca637b6351123c27169e33aef7ab226;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-metal/mtce-compute.inc b/meta-stx/recipes-core/stx-metal/mtce-compute.inc index 3c0aea7..ac0326c 100644 --- a/meta-stx/recipes-core/stx-metal/mtce-compute.inc +++ b/meta-stx/recipes-core/stx-metal/mtce-compute.inc @@ -36,13 +36,13 @@ do_install_prepend () { install } -#pkg_postinst_ontarget_mtce-compute() { -# /usr/bin/systemctl enable goenabled-worker.service -#} - FILES_mtce-compute = " \ ${datadir}/licenses/mtce-compute-1.0/LICENSE \ ${systemd_system_unitdir}/goenabled-worker.service \ ${sysconfdir}/goenabled.d/virt-support-goenabled.sh \ ${sysconfdir}/init.d/goenabledWorker \ " + +SYSTEMD_PACKAGES += "mtce-compute" +SYSTEMD_SERVICE_mtce-compute = "goenabled-worker.service" +SYSTEMD_AUTO_ENABLE_mtce-compute = "enable"