summaryrefslogtreecommitdiffstats
path: root/recipes-support/jhi
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-05-15 15:37:05 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-05-15 16:00:43 +0800
commit5c3635782b1260604c985a00e2ee842e85809894 (patch)
treee8f02b72f50171a03d67f73419749a839da6a14d /recipes-support/jhi
parent390b08ac1780274fee7ba0deb186efe27c0d4193 (diff)
downloadmeta-intel-5c3635782b1260604c985a00e2ee842e85809894.tar.gz
jhi: specify the systemd service file
Ensures that we actually include the postinst script with this service file in the rpm. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-support/jhi')
-rw-r--r--recipes-support/jhi/jhi_1.37.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-support/jhi/jhi_1.37.bb b/recipes-support/jhi/jhi_1.37.bb
index 625475d7..47d41488 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"
21 21
22GROUPADD_PARAM_${PN} = "-g 880 mei" 22GROUPADD_PARAM_${PN} = "-g 880 mei"
23 23
24SYSTEMD_PACKAGES = "${PN}"
25
26COMPATIBLE_HOST_libc-musl = 'null' 24COMPATIBLE_HOST_libc-musl = 'null'
27 25
26SYSTEMD_SERVICE_${PN} = "jhi.service"
27
28# systemd is the default so they are installed when sysvinit is not selected as INIT_SYSTEM 28# systemd is the default so they are installed when sysvinit is not selected as INIT_SYSTEM
29EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \ 29EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \
30 -DINIT_SYSTEM=${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'SysVinit', 'systemd', d)} \ 30 -DINIT_SYSTEM=${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'SysVinit', 'systemd', d)} \