Add basic telematics profile definition 47/20447/2
authorScott Murray <scott.murray@konsulko.com>
Sun, 3 Mar 2019 03:24:08 +0000 (22:24 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 7 Mar 2019 01:14:06 +0000 (01:14 +0000)
Add base packagegroup and image definitions for the telematics
profile.  The basic agl-image-telematics image defined pulls in the
application framework and the can-low-level and network bindings.

Change-Id: Ifca8649da3ed3473361556cbdc578247f84fbefe
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.bb [new file with mode: 0644]
meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.inc [new file with mode: 0644]
meta-agl-profile-telematics/recipes-platform/packagegroups/packagegroup-agl-profile-telematics.bb [new file with mode: 0644]

diff --git a/meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.bb b/meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.bb
new file mode 100644 (file)
index 0000000..ad6ef98
--- /dev/null
@@ -0,0 +1,9 @@
+SUMMARY = "A basic telematics image"
+
+require agl-image-telematics.inc
+
+LICENSE = "MIT"
+
+IMAGE_INSTALL_append = "\
+    profile-telematics \
+    "
diff --git a/meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.inc b/meta-agl-profile-telematics/recipes-platform/images/agl-image-telematics.inc
new file mode 100644 (file)
index 0000000..b8c228c
--- /dev/null
@@ -0,0 +1,5 @@
+require recipes-platform/images/agl-image-boot.inc
+
+inherit distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "3g"
diff --git a/meta-agl-profile-telematics/recipes-platform/packagegroups/packagegroup-agl-profile-telematics.bb b/meta-agl-profile-telematics/recipes-platform/packagegroups/packagegroup-agl-profile-telematics.bb
new file mode 100644 (file)
index 0000000..66fc0f7
--- /dev/null
@@ -0,0 +1,25 @@
+SUMMARY = "The middleware for AGL telematics profile"
+DESCRIPTION = "The set of packages required for AGL Telematics Distribution"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+    packagegroup-agl-profile-telematics \
+    profile-telematics \
+    "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+    packagegroup-agl-image-boot \
+    packagegroup-agl-core-security \
+    ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','connman','connman connman-client','',d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "3g", "libqmi", "", d)} \
+    agl-login-manager \
+    agl-service-can-low-level \
+    agl-service-network \
+    can-utils \
+"
+
+RDEPENDS_profile-telematics = "${PN}"