aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFahad Usman <fahad_usman@mentor.com>2013-06-06 09:54:00 +0200
committerFlorin Sarbu <florin.sarbu@windriver.com>2013-06-17 15:18:40 +0300
commit0b372de72091100cac24f7f44d59d9c404131fd8 (patch)
tree0d1a2a395f5f0537d300ae500c84420d1e32b020
parent330878fbee7682bf139217785a4f9a7dd397139c (diff)
downloadmeta-ivi-0b372de72091100cac24f7f44d59d9c404131fd8.tar.gz
meta-ivi-0b372de72091100cac24f7f44d59d9c404131fd8.tar.bz2
meta-ivi-0b372de72091100cac24f7f44d59d9c404131fd8.zip
packagegroups: restructure the yocto-ivi PGs
with the current implementation of packagegroups, it's not clear how a particular recipe map to the GENIVI baseline document. this scheme remove confusion about which packagegroup a certain recipe belong to. And provide guidance to the customers about modifying the image. For instance customers should be careful about replacing specific-p1 components if they wish to maintain GENIVI compliance. Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
-rw-r--r--recipes-yocto-ivi/images/foton-image.bb8
-rw-r--r--recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p1.bb21
-rw-r--r--recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p2.bb (renamed from recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bb)14
-rw-r--r--recipes-yocto-ivi/packagegroups/packagegroup-placeholder-component-p1.bb20
-rw-r--r--recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p1.bb (renamed from recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb)21
-rw-r--r--recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p2.bb19
6 files changed, 80 insertions, 23 deletions
diff --git a/recipes-yocto-ivi/images/foton-image.bb b/recipes-yocto-ivi/images/foton-image.bb
index 6d3077e..0b9a04a 100644
--- a/recipes-yocto-ivi/images/foton-image.bb
+++ b/recipes-yocto-ivi/images/foton-image.bb
@@ -4,6 +4,12 @@ include recipes-yocto-ivi/images/ivi-image.inc
PV = "4.0.1"
#PR = "r1"
-IMAGE_INSTALL_append = " packagegroup-core-p1 packagegroup-core-p2"
+IMAGE_INSTALL_append = " \
+ packagegroup-abstract-component-p1 \
+ packagegroup-placeholder-component-p1 \
+ packagegroup-specific-component-p2 \
+ packagegroup-abstract-component-p2 \
+ packagegroup-specific-component-p1 \
+"
# Add image specific packages
diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p1.bb b/recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p1.bb
new file mode 100644
index 0000000..7730252
--- /dev/null
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p1.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "GENIVI P1 Abstract components (AC)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-abstract-component-p1 \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+ bluez4 \
+ bluez4-systemd \
+ eglibc \
+ layer-management \
+ obex-client \
+ obexd \
+ "
diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bb b/recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p2.bb
index e9b7b86..c9ca67b 100644
--- a/recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bb
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-abstract-component-p2.bb
@@ -1,4 +1,4 @@
-DESCRIPTION = "P2 packages"
+DESCRIPTION = "GENIVI P2 Abstract components (SC)"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r0"
@@ -6,16 +6,14 @@ PR = "r0"
inherit packagegroup
PACKAGES = "\
- packagegroup-core-p2 \
+ packagegroup-abstract-component-p2 \
"
-RDEPENDS_packagegroup-core-p2 = "\
+ALLOW_EMPTY_${PN} = "1"
+
+
+RDEPENDS_${PN} += "\
node-state-manager \
ofono \
ofono-systemd \
- pulseaudio-server \
- wireless-tools \
"
-
-
-
diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-placeholder-component-p1.bb b/recipes-yocto-ivi/packagegroups/packagegroup-placeholder-component-p1.bb
new file mode 100644
index 0000000..373266a
--- /dev/null
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-placeholder-component-p1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "GENIVI P1 Placeholder components (PC)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-placeholder-component-p1 \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+
+RDEPENDS_${PN} += "\
+ "
+
+RRECOMMENDS_${PN} = "\
+ packagegroup-xserver-ivi \
+ "
diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb b/recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p1.bb
index 657aa89..731813b 100644
--- a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p1.bb
@@ -1,44 +1,37 @@
-DESCRIPTION = "P1 packages"
+DESCRIPTION = "GENIVI P1 Specific components (SC)"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r1"
+PR = "r0"
inherit packagegroup
PACKAGES = "\
- packagegroup-core-p1 \
+ packagegroup-specific-component-p1 \
"
-RDEPENDS_packagegroup-core-p1 = "\
+ALLOW_EMPTY_${PN} = "1"
+
+
+RDEPENDS_${PN} += "\
kernel-modules \
audiomanager \
dlt-daemon \
dlt-daemon-systemd \
alsa-lib \
alsa-utils \
- bluez4 \
- bluez4-systemd \
connman \
curl \
dbus \
ecryptfs-utils \
- eglibc \
fuse \
gstreamer \
gst-plugins-good \
gst-plugins-base \
- layer-management \
libusb1 \
node-startup-controller \
- obex-client \
- obexd \
openssl \
quota \
sqlite3 \
udev \
wpa-supplicant \
"
-
-RRECOMMENDS_${PN} = "\
- packagegroup-xserver-ivi \
- "
diff --git a/recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p2.bb b/recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p2.bb
new file mode 100644
index 0000000..18a2abb
--- /dev/null
+++ b/recipes-yocto-ivi/packagegroups/packagegroup-specific-component-p2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "GENIVI P2 Specific components (SC)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-specific-component-p2 \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+
+RDEPENDS_${PN} += "\
+ pulseaudio-server \
+ wireless-tools \
+ "
+