Set INITSCRIPT variables to invoke jhi service on boot
Signed-off-by: Naveen Saini <[email protected]>
---
recipes-support/jhi/jhi_1.37.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/recipes-support/jhi/jhi_1.37.bb b/recipes-support/jhi/jhi_1.37.bb
index 47d4148..c02e2bc 100644
--- a/recipes-support/jhi/jhi_1.37.bb
+++ b/recipes-support/jhi/jhi_1.37.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =
"file://LICENSE;md5=833126f14614a3276708a4d7c9734645"
SRC_URI =
"git://github.com/intel/dynamic-application-loader-host-interface.git;protocol=https"
-inherit cmake useradd systemd pkgconfig
+inherit cmake useradd systemd pkgconfig update-rc.d
SRCREV = "d1258013c8bc7d94cbc40de99e7ab2ed1327a086"
@@ -25,6 +25,10 @@ COMPATIBLE_HOST_libc-musl = 'null'
SYSTEMD_SERVICE_${PN} = "jhi.service"
+INITSCRIPT_PACKAGES = "${PN}"
+INITSCRIPT_NAME_${PN} = "${PN}"
+INITSCRIPT_PARAMS_${PN} = "defaults"
+
# 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 (#6534):
https://lists.yoctoproject.org/g/meta-intel/message/6534
Mute This Topic: https://lists.yoctoproject.org/mt/74223486/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-