From 16d4abc248879d41db20c010b5775c70751dc394 Mon Sep 17 00:00:00 2001 From: Riku Nomoto Date: Thu, 26 Nov 2020 23:15:17 +0900 Subject: oem-pr-bs: add services and managers API This is the ninth commit of agl-basesystem. All Basesystem's services API v13 (jsmoeller): fix build of multiple packages v16 (tanikawa): fix include path to kernel header v20 (jsmoeller): fix build of agl-service-vs-positioning v21 (jsmoeller): remove RDEPENDS on elfio - it is only headers, thus not required on target v25 (nomoto): change mail address and author v35 (nomoto): remove OECORE_NATIVE_SYSROOT v40 (nomoto): remove EXTRA_OEMAKE (RPATHLINK) v43 (nomoto): readd a service file Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto Change-Id: I206637abf8c070d7bf409377bef970023ddb2f69 --- .../recipes-core/agl-systemd/agl-systemd_1.0.0.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb (limited to 'meta-oem-production-readiness/meta-agl-basesystem/recipes-core') diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb new file mode 100644 index 00000000..4de2b702 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb @@ -0,0 +1,38 @@ +SUMMARY = "Systemd related file for launching sample application" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +PV = "1.0.0+gitr${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV := "${BASESYSTEM_REVISION}" + +S = "${WORKDIR}/git/agl-systemd" + +inherit systemd + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -d ${D}/etc/systemd/system/ + install -m 644 ${S}/launch_sm.service ${D}/etc/systemd/system/ + install -m 644 ${S}/systemd-udev-trigger.service ${D}/etc/systemd/system/ + install -m 644 ${S}/setup_refhw.service ${D}/etc/systemd/system/ + + install -d ${D}${CONFDIR}/ + install -m 644 ${S}/env.txt ${D}${CONFDIR}/ + + install -d ${D}${bindir} + install -m 755 ${S}/tool_9E_SI/*.sh ${D}${bindir}/ + + install -d ${D}/lib/udev/rules.d + install -m 644 ${S}/99-basesystem.rules ${D}/lib/udev/rules.d/ +} + +RDEPENDS_${PN} += "bash" + +SYSTEMD_SERVICE_${PN} = " \ + launch_sm.service \ + systemd-udev-trigger.service \ + setup_refhw.service \ +" -- cgit 1.2.3-korg