diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-02-05 15:43:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-02-05 15:43:38 +0000 |
commit | 716079fdf899898ad144b92520a318da54dff558 (patch) | |
tree | 04f048b85528c6e27ac21d5c533669266527677a | |
parent | 49d0f9b5d0e64ec5d3629cb7fff2ce594ef2c50e (diff) | |
parent | db10c02e89545f449803502cc878caa58da883ac (diff) |
Merge "Added a new image: agl-image-telemetry."
11 files changed, 105 insertions, 0 deletions
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<oleksii_bidnichenko@epam.com> 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 \ + " diff --git a/templates/feature/agl-telemetry/60_bblayers.conf.inc b/templates/feature/agl-telemetry/60_bblayers.conf.inc new file mode 100755 index 00000000..246761cd --- /dev/null +++ b/templates/feature/agl-telemetry/60_bblayers.conf.inc @@ -0,0 +1,4 @@ + +BBLAYERS =+ " \ + ${METADIR}/meta-agl-devel/meta-agl-telemetry \ + " diff --git a/templates/feature/agl-telemetry/60_local.conf.inc b/templates/feature/agl-telemetry/60_local.conf.inc new file mode 100644 index 00000000..f1a7cdfa --- /dev/null +++ b/templates/feature/agl-telemetry/60_local.conf.inc @@ -0,0 +1,2 @@ +#remove machine-specific features by the include +include conf/include/agl_telemetry_${MACHINE}.inc |