diff options
13 files changed, 403 insertions, 2 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc b/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc index 58087e16..ac22cf22 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc +++ b/meta-oem-production-readiness/meta-agl-basesystem/conf/include/agl-basesystem-base.inc @@ -7,4 +7,4 @@ INCLUDEDIR = "${includedir}/basesystem" CONFDIR = "${sysconfdir}/basesystem" LOCALDIR = "/var/local/lib/basesystem" -BASESYSTEM_REVISION = "326b7ba9dbf2762925551e7970836a2964107ec1" +BASESYSTEM_REVISION = "297bbddfa977d85317644d4626eeebdbc266f97a" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb new file mode 100644 index 00000000..0a0f4da0 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-backupmanager/agl-service-ns-backupmanager_1.0.0.bb @@ -0,0 +1,33 @@ +SUMMARY = "agl-service-ns-backupmanager for AGL software" +DESCRIPTION = "agl-service-ns-backupmanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + libxml2 \ + ns-frameworkunified \ + libnv-hal \ + ns-backupmanager \ + ss-interfaceunified \ + ss-romaccesslibrary \ + 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/native/backup_manager" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + libnv-hal \ + ns-backupmanager \ + ss-interfaceunified \ + ss-romaccesslibrary \ + os-vehicleparameterlibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-notificationpersistent/agl-service-ns-notificationpersistent_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-notificationpersistent/agl-service-ns-notificationpersistent_1.0.0.bb new file mode 100644 index 00000000..acd1f9dc --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ns-notificationpersistent/agl-service-ns-notificationpersistent_1.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "agl-service-ns-notificationpersistent for AGL software" +DESCRIPTION = "agl-service-ns-notificationpersistent to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + libtar \ + ns-frameworkunified \ + os-posixbasedos001legacylibrary \ +" + +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/native/notification_persistent_service" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + os-posixbasedos001legacylibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb new file mode 100644 index 00000000..4befbf7e --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ps-communication/agl-service-ps-communication_1.0.0.bb @@ -0,0 +1,32 @@ +SUMMARY = "agl-service-ps-communication for AGL software" +DESCRIPTION = "agl-service-ps-communication to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ns-frameworkunified \ + ps-communication \ + os-posixbasedos001legacylibrary \ + ss-interfaceunified \ + ss-romaccesslibrary \ + libcan-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/peripheral/communication" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ns-frameworkunified \ + ps-communication \ + os-posixbasedos001legacylibrary \ + ss-interfaceunified \ + ss-romaccesslibrary \ + libcan-hal \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb new file mode 100644 index 00000000..b6d69381 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-loggerservice/agl-service-ss-loggerservice_1.0.0.bb @@ -0,0 +1,45 @@ +SUMMARY = "agl-service-ss-loggerservice for AGL software" +DESCRIPTION = "agl-service-ss-loggerservice to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " libtar \ + ss-config \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ss-resourcemanager \ + ns-commonlibrary \ + ns-frameworkunified \ + ns-backupmanager \ + os-vehicleparameterlibrary \ + os-posixbasedos001legacylibrary \ + logrotate \ + ns-memorygpioaccesslibrary \ + vs-clock \ + vs-diagrecord \ +" + +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/logger_service" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ss-config \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ss-resourcemanager \ + ns-commonlibrary \ + ns-frameworkunified \ + ns-backupmanager \ + os-vehicleparameterlibrary \ + os-posixbasedos001legacylibrary \ + ns-memorygpioaccesslibrary \ + vs-clock \ + vs-diagrecord \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-powerservice/agl-service-ss-powerservice_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-powerservice/agl-service-ss-powerservice_1.0.0.bb new file mode 100644 index 00000000..68417d9a --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-powerservice/agl-service-ss-powerservice_1.0.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "agl-service-ss-powerservice for AGL software" +DESCRIPTION = "agl-service-ss-powerserice to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ns-frameworkunified \ + os-posixbasedos001legacylibrary \ +" + +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/power_service" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ss-interfaceunified \ + ss-romaccesslibrary \ + ns-frameworkunified \ + os-posixbasedos001legacylibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb new file mode 100644 index 00000000..508d0f7c --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-resourcemanager/agl-service-ss-resourcemanager_1.0.0.bb @@ -0,0 +1,39 @@ +SUMMARY = "agl-service-agl-service-ss-resourcemanager for AGL software" +DESCRIPTION = "agl-service-agl-service-ss-resourcemanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + os-rpclibrary-tool-native \ + ss-interfaceunified \ + ss-resourcemanager \ + ns-commonlibrary \ + ns-frameworkunified \ + 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.server" + +do_compile_prepend() { + oe_runmake -f Makefile.client +} + +RDEPENDS_${PN} += " \ + ss-interfaceunified \ + ss-resourcemanager \ + ns-commonlibrary \ + ns-frameworkunified \ + os-rpclibrary \ + os-eventlibrary \ + libsoctemperature-hal \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb new file mode 100644 index 00000000..9ca00350 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-systemmanager/agl-service-ss-systemmanager_1.0.0.bb @@ -0,0 +1,53 @@ +SUMMARY = "agl-service-ss-systemmanager for AGL software" +DESCRIPTION = "agl-service-ss-systemmanager to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + agl-service-ss-resourcemanager \ + agl-service-ss-loggerservice \ + agl-service-ps-communication \ + ss-config \ + ss-interfaceunified \ + ns-commonlibrary \ + ns-frameworkunified \ + os-vehicleparameterlibrary \ + os-posixbasedos001legacylibrary \ + os-rpclibrary \ + os-eventlibrary \ + libpower-hal \ + vs-clock \ + vs-diagcode \ + libxml2-native \ + agl-basefiles-native \ + libxml-xpath-perl-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/system_manager" + +inherit agl-basesystem-common perlnative + +BSMAKE_FILE = "Makefile.server" + +FILES_${PN} += "/usr/share/*" + +RDEPENDS_${PN} += " \ + agl-service-ss-resourcemanager \ + agl-service-ss-loggerservice \ + agl-service-ps-communication \ + ss-config \ + ss-interfaceunified \ + ns-commonlibrary \ + ns-frameworkunified \ + os-vehicleparameterlibrary \ + os-posixbasedos001legacylibrary \ + os-rpclibrary \ + os-eventlibrary \ + libpower-hal \ + vs-clock \ + vs-diagcode \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb new file mode 100644 index 00000000..e950ed42 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-ss-taskmanager/agl-service-ss-taskmanager_1.0.0.bb @@ -0,0 +1,45 @@ +SUMMARY = "agl-service-ss-taskmanager for AGL software" +DESCRIPTION = "agl-service-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-resourcemanager \ + ss-romaccesslibrary \ + ss-taskmanager \ + ns-frameworkunified \ + ns-commonlibrary \ + os-eventlibrary \ + 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.server" + +do_compile_prepend() { + oe_runmake -f Makefile.client +} + +RDEPENDS_${PN} += " \ + ss-interfaceunified \ + ss-resourcemanager \ + ss-romaccesslibrary \ + ss-taskmanager \ + ns-frameworkunified \ + ns-commonlibrary \ + os-eventlibrary \ + os-rpclibrary \ + os-vehicleparameterlibrary \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb new file mode 100644 index 00000000..02fe1565 --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-apis/agl-service-vs-positioning/agl-service-vs-positioning_1.0.0.bb @@ -0,0 +1,49 @@ +SUMMARY = "agl-service-vs-positioning for AGL software" +DESCRIPTION = "agl-service-vs-positioning to build AGL software" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +DEPENDS += " \ + ss-config \ + ss-interfaceunified \ + ss-versionlibrary \ + ns-frameworkunified \ + ns-commonlibrary \ + ns-backupmanager \ + os-vehicleparameterlibrary \ + os-eventlibrary \ + ps-communication \ + libpositioning-hal \ + vs-positioningbaselibrary \ + vs-positioning \ + ps-communicationusb \ + vs-clock \ + vs-vehicle \ +" + +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/vehicle/positioning" + +inherit agl-basesystem-common + +BSMAKE_FILE = "Makefile.server" + +RDEPENDS_${PN} += " \ + ss-config \ + ss-interfaceunified \ + ss-versionlibrary \ + ns-frameworkunified \ + ns-commonlibrary \ + ns-backupmanager \ + os-vehicleparameterlibrary \ + os-eventlibrary \ + ps-communication \ + libpositioning-hal \ + vs-positioningbaselibrary \ + vs-positioning \ + vs-clock \ + vs-vehicle \ +" 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 \ +" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb index b9c027f5..98cf1438 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-apis.bb @@ -4,5 +4,16 @@ LICENSE = "Apache-2.0" inherit packagegroup PACKAGES = "\ - packagegroup-agl-basesystem-apis \ + packagegroup-agl-basesystem-apis \ +" +RDEPENDS_${PN} += " \ + agl-service-ns-backupmanager \ + agl-service-ns-notificationpersistent \ + agl-service-ps-communication \ + agl-service-ss-loggerservice \ + agl-service-ss-powerservice \ + agl-service-ss-resourcemanager \ + agl-service-ss-taskmanager \ + agl-service-vs-positioning \ + agl-service-ss-systemmanager \ " diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb index 69b335f2..1f39fe4b 100644 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-platform/packagegroups/packagegroup-agl-basesystem-core.bb @@ -6,3 +6,6 @@ inherit packagegroup PACKAGES = "\ packagegroup-agl-basesystem-core \ " +RDEPENDS_${PN} += "\ + agl-systemd \ +" |