Ensures that we actually include the postinst script with this service
file in the rpm.

Signed-off-by: Anuj Mittal <[email protected]>
---
 recipes-support/jhi/jhi_1.37.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-support/jhi/jhi_1.37.bb b/recipes-support/jhi/jhi_1.37.bb
index 625475d..47d4148 100644
--- a/recipes-support/jhi/jhi_1.37.bb
+++ b/recipes-support/jhi/jhi_1.37.bb
@@ -21,10 +21,10 @@ USERADD_PARAM_${PN} = "--system --no-create-home --shell 
/bin/false -g mei jhi"
 
 GROUPADD_PARAM_${PN} = "-g 880 mei"
 
-SYSTEMD_PACKAGES = "${PN}"
-
 COMPATIBLE_HOST_libc-musl = 'null'
 
+SYSTEMD_SERVICE_${PN} = "jhi.service"
+
 # systemd is the default so they are installed when sysvinit is not selected 
as INIT_SYSTEM
 EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \
                  -DINIT_SYSTEM=${@bb.utils.contains('DISTRO_FEATURES', 
'sysvinit', 'SysVinit', 'systemd', d)} \
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6533): 
https://lists.yoctoproject.org/g/meta-intel/message/6533
Mute This Topic: https://lists.yoctoproject.org/mt/74222888/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to