From 5c3635782b1260604c985a00e2ee842e85809894 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 15 May 2020 15:37:05 +0800 Subject: 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 --- recipes-support/jhi/jhi_1.37.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-support') 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" 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)} \ -- cgit v1.2.3-54-g00ecf