From ddcef80d885043607a06be24568d85d4e424cfef Mon Sep 17 00:00:00 2001 From: Riku Nomoto Date: Thu, 26 Nov 2020 23:13:44 +0900 Subject: [PATCH] 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 Change-Id: I5b65f62082f2ad0fd613c2ed56a2de1824387390 --- .../recipes-core/ss-config/ss-config_1.0.0.bb | 34 +++++++++++++++++++ .../ss-resourcemanager/ss-resourcemanager_1.0.0.bb | 36 ++++++++++++++++++++ .../ss-taskmanager/ss-taskmanager_1.0.0.bb | 39 ++++++++++++++++++++++ .../packagegroup-agl-basesystem-service.bb | 6 ++++ .../recipes-support/elfio/elfio_3.2.bb | 12 +++++++ .../os-vehicleparameterlibrary_1.0.0.bb | 22 ++++++++++++ .../ss-interfaceunified_1.0.0.bb | 31 +++++++++++++++++ .../ss-versionlibrary/ss-versionlibrary_1.0.0.bb | 28 ++++++++++++++++ 8 files changed, 208 insertions(+) create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-config/ss-config_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-resourcemanager/ss-resourcemanager_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-core/ss-taskmanager/ss-taskmanager_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/elfio/elfio_3.2.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/os-vehicleparameterlibrary/os-vehicleparameterlibrary_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-interfaceunified/ss-interfaceunified_1.0.0.bb create mode 100644 meta-oem-production-readiness/meta-agl-basesystem/recipes-support/ss-versionlibrary/ss-versionlibrary_1.0.0.bb 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 \ +" -- 2.16.6