From b077acb2702731db2d77ed31126a5b21af3c1cff Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 2 Oct 2020 15:56:47 +0800 Subject: jhi: upgrade 1.37 -> 1.38 Signed-off-by: Anuj Mittal --- recipes-support/jhi/jhi_1.37.bb | 70 ----------------------------------------- recipes-support/jhi/jhi_1.38.bb | 70 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 recipes-support/jhi/jhi_1.37.bb create mode 100644 recipes-support/jhi/jhi_1.38.bb (limited to 'recipes-support') diff --git a/recipes-support/jhi/jhi_1.37.bb b/recipes-support/jhi/jhi_1.37.bb deleted file mode 100644 index c02e2bc4..00000000 --- a/recipes-support/jhi/jhi_1.37.bb +++ /dev/null @@ -1,70 +0,0 @@ -SUMMARY = "Intel Dynamic Application Loader (DAL) Host Interface" -DESCRIPTION = "A daemon and libraries which allow user space applications \ -to install Java applets on DAL FW and communicate with them" -LICENSE = "Apache-2.0" -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 update-rc.d - -SRCREV = "d1258013c8bc7d94cbc40de99e7ab2ed1327a086" - -S = "${WORKDIR}/git" - -DEPENDS += "util-linux libxml2" -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" -RDEPENDS_${PN} += "bash" - -USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "--system --no-create-home --shell /bin/false -g mei jhi" - -GROUPADD_PARAM_${PN} = "-g 880 mei" - -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)} \ - -DAPPLETS_DIR=${libdir}/dal/applets \ - -DAPP_REPO_DIR=${localstatedir}/cache/dal/applet_repository \ - " - -do_install_append () { - install -d ${D}${localstatedir}/cache/dal/applet_repository - - chown -R jhi ${D}${localstatedir}/cache/dal/applet_repository - chgrp -R mei ${D}${localstatedir}/cache/dal/applet_repository - - install -d ${D}${bindir} - install -m 755 ${B}/bin_linux/smoketest ${D}${bindir} - install -m 755 ${B}/bin_linux/bist ${D}${bindir} - - install -d ${D}${libdir}/dal/applets - cp -r ${S}/test/smoketest/applets/* ${D}${libdir}/dal/applets/ -} - -PACKAGES += "${PN}-test" - -FILES_${PN}-dev = "" - -FILES_${PN} = "\ - ${sbindir} \ - ${sysconfdir} \ - ${libdir}/lib*${SOLIBSDEV} \ - ${libdir}/dal/applets/SpoolerApplet.dalp \ - ${nonarch_libdir}/tmpfiles.d \ - ${systemd_system_unitdir} \ - ${localstatedir}/cache/dal/applet_repository \ - " - -FILES_${PN}-test = "\ - ${bindir} \ - ${libdir}/dal/applets \ - " diff --git a/recipes-support/jhi/jhi_1.38.bb b/recipes-support/jhi/jhi_1.38.bb new file mode 100644 index 00000000..e894974d --- /dev/null +++ b/recipes-support/jhi/jhi_1.38.bb @@ -0,0 +1,70 @@ +SUMMARY = "Intel Dynamic Application Loader (DAL) Host Interface" +DESCRIPTION = "A daemon and libraries which allow user space applications \ +to install Java applets on DAL FW and communicate with them" +LICENSE = "Apache-2.0" +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 update-rc.d + +SRCREV = "6c3bc6f14fa4775758a7c8111b2783edc5207c9d" + +S = "${WORKDIR}/git" + +DEPENDS += "util-linux libxml2" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +RDEPENDS_${PN} += "bash" + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "--system --no-create-home --shell /bin/false -g mei jhi" + +GROUPADD_PARAM_${PN} = "-g 880 mei" + +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)} \ + -DAPPLETS_DIR=${libdir}/dal/applets \ + -DAPP_REPO_DIR=${localstatedir}/cache/dal/applet_repository \ + " + +do_install_append () { + install -d ${D}${localstatedir}/cache/dal/applet_repository + + chown -R jhi ${D}${localstatedir}/cache/dal/applet_repository + chgrp -R mei ${D}${localstatedir}/cache/dal/applet_repository + + install -d ${D}${bindir} + install -m 755 ${B}/bin_linux/smoketest ${D}${bindir} + install -m 755 ${B}/bin_linux/bist ${D}${bindir} + + install -d ${D}${libdir}/dal/applets + cp -r ${S}/test/smoketest/applets/* ${D}${libdir}/dal/applets/ +} + +PACKAGES += "${PN}-test" + +FILES_${PN}-dev = "" + +FILES_${PN} = "\ + ${sbindir} \ + ${sysconfdir} \ + ${libdir}/lib*${SOLIBSDEV} \ + ${libdir}/dal/applets/SpoolerApplet.dalp \ + ${nonarch_libdir}/tmpfiles.d \ + ${systemd_system_unitdir} \ + ${localstatedir}/cache/dal/applet_repository \ + " + +FILES_${PN}-test = "\ + ${bindir} \ + ${libdir}/dal/applets \ + " -- cgit v1.2.3-54-g00ecf