summaryrefslogtreecommitdiffstats
path: root/meta-agl-telemetry
diff options
context:
space:
mode:
authorOleksii Bidnichenko <bidnichenko.alex@gmail.com>2017-12-04 17:52:31 +0200
committerOleksii Bidnichenko <bidnichenko.alex@gmail.com>2017-12-06 13:31:36 +0200
commitdb10c02e89545f449803502cc878caa58da883ac (patch)
treef52b9fa6af2055458038012ff1185f5b6148b1db /meta-agl-telemetry
parent5f5382f805354de39add45a9084216896b3a358c (diff)
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 <bidnichenko.alex@gmail.com>
Diffstat (limited to 'meta-agl-telemetry')
-rw-r--r--meta-agl-telemetry/COPYING.MIT17
-rw-r--r--meta-agl-telemetry/README.md14
-rw-r--r--meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi2.inc8
-rw-r--r--meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3-64.inc8
-rw-r--r--meta-agl-telemetry/conf/include/agl_telemetry_raspberrypi3.inc8
-rw-r--r--meta-agl-telemetry/conf/layer.conf10
-rwxr-xr-xmeta-agl-telemetry/recipes-core/image/agl-image-telemetry.bb8
-rw-r--r--meta-agl-telemetry/recipes-core/image/agl-image-telemetry.inc5
-rw-r--r--meta-agl-telemetry/recipes-core/packagegroups/packagegroup-agl-image-telemetry.bb21
9 files changed, 99 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 \
+ "