diff options
author | Riku Nomoto <riku.nomoto@woven-planet.global> | 2020-11-26 23:15:17 +0900 |
---|---|---|
committer | Riku Nomoto <riku.nomoto@woven-planet.global> | 2021-01-26 11:33:33 +0900 |
commit | 16d4abc248879d41db20c010b5775c70751dc394 (patch) | |
tree | a727beb62aa79ac6b043ed507a63761c05849d94 /meta-oem-production-readiness/meta-agl-basesystem/recipes-core | |
parent | e201439999c3e304125ef1caf13dc9dfa1c06846 (diff) |
oem-pr-bs: add services and managers APIkoi_10.93.0koi/10.93.010.93.0
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 <riku.nomoto@woven-planet.global>
Change-Id: I206637abf8c070d7bf409377bef970023ddb2f69
Diffstat (limited to 'meta-oem-production-readiness/meta-agl-basesystem/recipes-core')
-rw-r--r-- | meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-systemd/agl-systemd_1.0.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
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 \ +" |