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>
This commit is contained in:
Anuj Mittal 2020-05-15 15:37:05 +08:00
parent 390b08ac17
commit 5c3635782b

View File

@ -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)} \