diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2020-05-15 15:37:05 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-05-15 16:00:43 +0800 |
| commit | 5c3635782b1260604c985a00e2ee842e85809894 (patch) | |
| tree | e8f02b72f50171a03d67f73419749a839da6a14d | |
| parent | 390b08ac1780274fee7ba0deb186efe27c0d4193 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-support/jhi/jhi_1.37.bb | 4 |
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 | ||
| 22 | GROUPADD_PARAM_${PN} = "-g 880 mei" | 22 | GROUPADD_PARAM_${PN} = "-g 880 mei" |
| 23 | 23 | ||
| 24 | SYSTEMD_PACKAGES = "${PN}" | ||
| 25 | |||
| 26 | COMPATIBLE_HOST_libc-musl = 'null' | 24 | COMPATIBLE_HOST_libc-musl = 'null' |
| 27 | 25 | ||
| 26 | SYSTEMD_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 |
| 29 | EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \ | 29 | EXTRA_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)} \ |
