From db10c02e89545f449803502cc878caa58da883ac Mon Sep 17 00:00:00 2001 From: Oleksii Bidnichenko Date: Mon, 4 Dec 2017 17:52:31 +0200 Subject: Added a new image: agl-image-telemetry. - added meta-agl-devel/meta-agl-telemetry for the new image type. - added layer support for the raspberrypi platform. - added a template target for the image integration. Change-Id: I60447675260e4ace6c0b756877f430e294fe95ac Signed-off-by: Oleksii Bidnichenko --- meta-agl-telemetry/COPYING.MIT | 17 +++++++++++++++++ meta-agl-telemetry/README.md | 14 ++++++++++++++ .../conf/include/agl_telemetry_raspberrypi2.inc | 8 ++++++++ .../conf/include/agl_telemetry_raspberrypi3-64.inc | 8 ++++++++ .../conf/include/agl_telemetry_raspberrypi3.inc | 8 ++++++++ meta-agl-telemetry/conf/layer.conf | 10 ++++++++++ .../recipes-core/image/agl-image-telemetry.bb | 8 ++++++++ .../recipes-core/image/agl-image-telemetry.inc | 5 +++++ .../packagegroup-agl-image-telemetry.bb | 21 +++++++++++++++++++++ 9 files changed, 99 insertions(+) create mode 100644 meta-agl-telemetry/COPYING.MIT create mode 100644 meta-agl-telemetry/README.md create mode 100644 meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi2.inc create mode 100644 meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3-64.inc create mode 100644 meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3.inc create mode 100644 meta-agl-telemetry/conf/layer.conf create mode 100755 meta-agl-telemetry/recipes-core/image/agl-image-telemetry.bb create mode 100644 meta-agl-telemetry/recipes-core/image/agl-image-telemetry.inc create mode 100644 meta-agl-telemetry/recipes-core/packagegroups/packagegroup-agl-image-telemetry.bb (limited to 'meta-agl-telemetry') diff --git a/meta-agl-telemetry/COPYING.MIT b/meta-agl-telemetry/COPYING.MIT new file mode 100644 index 00000000..89de3547 --- /dev/null +++ b/meta-agl-telemetry/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-agl-telemetry/README.md b/meta-agl-telemetry/README.md new file mode 100644 index 00000000..6733677f --- /dev/null +++ b/meta-agl-telemetry/README.md @@ -0,0 +1,14 @@ +This README file contains information on the contents of the +meta-agl-telemetry layer. + +Please see the corresponding sections below for details. + + +Telemetry +================= +meta-agl-telemetry is the layer providing the tiniest AGL image. +The image aimed to be used in a case, when device required to have restricted +scope of responsibilities e.g. collection of a vehicle telemetry. + +Maintainers: + Oleksii Bidnichenko diff --git a/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi2.inc b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi2.inc new file mode 100644 index 00000000..80dcc830 --- /dev/null +++ b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi2.inc @@ -0,0 +1,8 @@ +MACHINE_FEATURES_remove = " \ + vc4graphics \ + " + +CORE_IMAGE_EXTRA_INSTALL_remove = " \ + wayland \ + weston \ + " diff --git a/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3-64.inc b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3-64.inc new file mode 100644 index 00000000..80dcc830 --- /dev/null +++ b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3-64.inc @@ -0,0 +1,8 @@ +MACHINE_FEATURES_remove = " \ + vc4graphics \ + " + +CORE_IMAGE_EXTRA_INSTALL_remove = " \ + wayland \ + weston \ + " diff --git a/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3.inc b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3.inc new file mode 100644 index 00000000..80dcc830 --- /dev/null +++ b/meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3.inc @@ -0,0 +1,8 @@ +MACHINE_FEATURES_remove = " \ + vc4graphics \ + " + +CORE_IMAGE_EXTRA_INSTALL_remove = " \ + wayland \ + weston \ + " diff --git a/meta-agl-telemetry/conf/layer.conf b/meta-agl-telemetry/conf/layer.conf new file mode 100644 index 00000000..c541cd5b --- /dev/null +++ b/meta-agl-telemetry/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-agl-telemetry" +BBFILE_PATTERN_meta-agl-telemetry = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-agl-telemetry = "11" diff --git a/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.bb b/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.bb new file mode 100755 index 00000000..d8c4ea6c --- /dev/null +++ b/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.bb @@ -0,0 +1,8 @@ +SUMMARY = "The tiniest AGL image just capable of embedded command line utilities." +require agl-image-telemetry.inc + +LICENSE = "MIT" + +IMAGE_INSTALL_append = "\ + packagegroup-agl-image-telemetry \ + " diff --git a/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.inc b/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.inc new file mode 100644 index 00000000..38e23371 --- /dev/null +++ b/meta-agl-telemetry/recipes-core/image/agl-image-telemetry.inc @@ -0,0 +1,5 @@ +require recipes-core/images/agl-image-minimal.inc + +RDEPENDS_${PN} += "\ + packagegroup-agl-app-framework \ + " diff --git a/meta-agl-telemetry/recipes-core/packagegroups/packagegroup-agl-image-telemetry.bb b/meta-agl-telemetry/recipes-core/packagegroups/packagegroup-agl-image-telemetry.bb new file mode 100644 index 00000000..dcb94007 --- /dev/null +++ b/meta-agl-telemetry/recipes-core/packagegroups/packagegroup-agl-image-telemetry.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "The tiniest set of packages required by AGL" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-image-telemetry \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + packagegroup-core-boot-agl \ + " + +RDEPENDS_${PN} += "\ + packagegroup-agl-core-connectivity \ + packagegroup-agl-core-kernel \ + packagegroup-agl-core-os-commonlibs \ + packagegroup-agl-core-security \ + " -- cgit 1.2.3-korg