diff options
author | Riku Nomoto <riku.nomoto@woven-planet.global> | 2020-11-26 23:13:44 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-01-14 16:29:30 +0000 |
commit | ddcef80d885043607a06be24568d85d4e424cfef (patch) | |
tree | cd865786e627f4ebf08188b66a54f446edd94c15 /meta-oem-production-readiness | |
parent | 1cd6f8c6a86baae99a9cc33c067ebcbe4647faeb (diff) |
oem-pr-bs: add resource and task manager
This is the seventh commit of agl-basesystem.
Resource manager monitoring procfs and non-resident process manager
v12 (jsmoeller): fix build of multiple packages
v15 (tanikawa): fix build of ss-taskmanager
v20 (nomoto): change mail address and author
v23 (nomoto): add expat-native for build
v28 (nomoto): change SRCURI and inherit line
v29 (nomoto): remove OECORE_NATIVE_SYSROOT
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I5b65f62082f2ad0fd613c2ed56a2de1824387390
Diffstat (limited to 'meta-oem-production-readiness')
8 files changed, 208 insertions, 0 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-config/ss-config_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-config/ss-config_1.0.0.bb new file mode 100644 index 00000000..f51ca409 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-config/ss-config_1.0.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "ss-config for AGL software" +DESCRIPTION = "ss-config to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ss-versionlibrary \ + ns-frameworkunified \ + ps-communication \ + os-vehicleparameterlibrary \ +" + +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/service/system/config" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "${libdir}/*" + +RDEPENDS_${PN} += " \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ns-frameworkunified \ + ps-communication \ + ss-versionlibrary \ + os-vehicleparameterlibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-resourcemanager/ss-resourcemanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-resourcemanager/ss-resourcemanager_1.0.0.bb new file mode 100644 index 00000000..af793cbb --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-resourcemanager/ss-resourcemanager_1.0.0.bb @@ -0,0 +1,36 @@ +SUMMARY = "ss-resourcemanager for AGL software" +DESCRIPTION = "ss-resourcemanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + os-rpclibrary-tool-native \ + ss-interfaceunified \ + ns-frameworkunified \ + ns-commonlibrary \ + os-rpclibrary \ + os-eventlibrary \ + libsoctemperature-hal \ +" + +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/service/system/resource_manager" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "/usr/lib/basesystem/libresm.so" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + ss-interfaceunified \ + ns-commonlibrary \ + ns-frameworkunified \ + os-rpclibrary \ + os-eventlibrary \ + libsoctemperature-hal \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-taskmanager/ss-taskmanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-taskmanager/ss-taskmanager_1.0.0.bb new file mode 100644 index 00000000..b97f4f9c --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-taskmanager/ss-taskmanager_1.0.0.bb @@ -0,0 +1,39 @@ +SUMMARY = "ss-taskmanager for AGL software" +DESCRIPTION = "ss-taskmanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + os-rpclibrary-tool-native \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ss-resourcemanager \ + ns-frameworkunified \ + ns-commonlibrary \ + os-rpclibrary \ + os-vehicleparameterlibrary \ + libxml2-native \ + expat-native \ +" + +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/service/system/task_manager" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += " /usr/lib/basesystem/*.so" + +RDEPENDS_${PN} += " \ + ss-interfaceunified \ + ns-frameworkunified \ + ns-commonlibrary \ + ss-romaccesslibrary \ + os-rpclibrary \ + ss-resourcemanager \ + os-vehicleparameterlibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb index 3c66bdc5..db4db3fb 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-service.bb @@ -17,4 +17,10 @@ RDEPENDS_${PN} += " \ ps-communication \ ns-backupmanager \ ss-romaccesslibrary \ + os-vehicleparameterlibrary \ + ss-config \ + ss-interfaceunified \ + ss-resourcemanager \ + ss-taskmanager \ + ss-versionlibrary \ " diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/elfio/elfio_3.2.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/elfio/elfio_3.2.bb new file mode 100644 index 00000000..91020aec --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/elfio/elfio_3.2.bb @@ -0,0 +1,12 @@ +SUMMARY = "C++ library for reading and generating ELF files" +DESCRIPTION = "ELFIO is a header-only C++ library intended for reading and generating files in the \ + ELF binary format. It is used as a standalone library - it is not dependent on any \ + other product or project. Adhering to ISO C++, it compiles on a wide variety of \ + architectures and compilers." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=4f932e9ddd12264ae5e569aae5f08ed3" + +SRC_URI = "${SOURCEFORGE_MIRROR}/elfio/ELFIO-sources/ELFIO-${PV}/${BPN}-${PV}.tar.gz" +SRC_URI[md5sum] = "e1ddfc8d316fa6d03a04d8d1d6827663" + +inherit autotools diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb new file mode 100644 index 00000000..2b7eb532 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "os-vehicleparameterlibrary for AGL software" +DESCRIPTION = "os-vehicleparameterlibrary to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " ns-backupmanager" + +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/service/other/vehicle_parameter_library" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "${libdir}/*" + +RDEPENDS_${PN} += " \ + ns-backupmanager \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-interfaceunified/ss-interfaceunified_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-interfaceunified/ss-interfaceunified_1.0.0.bb new file mode 100644 index 00000000..02c8ee41 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-interfaceunified/ss-interfaceunified_1.0.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "ss-interfaceunified for AGL software" +DESCRIPTION = "ss-interfaceunified to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ss-romaccesslibrary \ + ns-commonlibrary \ + ns-frameworkunified \ + elfio \ +" + +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/service/system/interface_unified" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "${libdir}/*" + +DIRFILES = "1" + +RDEPENDS_${PN} += " \ + ns-commonlibrary \ + ns-frameworkunified \ + ss-romaccesslibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-versionlibrary/ss-versionlibrary_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-versionlibrary/ss-versionlibrary_1.0.0.bb new file mode 100644 index 00000000..a0756ef2 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-versionlibrary/ss-versionlibrary_1.0.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "ss-versionlibrary for AGL software" +DESCRIPTION = "ss-versionlibrary to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ns-frameworkunified \ + ss-interfaceunified \ + ss-romaccesslibrary \ +" + +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/service/system/version_library" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.client" + +FILES_${PN} += "${libdir}/*" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + ss-interfaceunified \ + ss-romaccesslibrary \ +" |