Hi all, Kindly review the following change. Thanks, Fahad
On Wed, May 22, 2013 at 1:00 PM, Fahad Usman <[email protected]> wrote: > 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 <[email protected]> > --- > recipes-yocto-ivi/images/foton-image.bb | 8 +++++++- > .../packagegroup-foton-abstract-component-p1.bb | 21 > +++++++++++++++++++++ > ... => packagegroup-foton-abstract-component-p2.bb} | 14 ++++++-------- > .../packagegroup-foton-placeholder-component-p1.bb | 20 > ++++++++++++++++++++ > ... => packagegroup-foton-specific-component-p1.bb} | 21 > +++++++-------------- > .../packagegroup-foton-specific-component-p2.bb | 19 > +++++++++++++++++++ > 6 files changed, 80 insertions(+), 23 deletions(-) > create mode 100644 recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p1.bb > rename recipes-yocto-ivi/packagegroups/{packagegroup-core-p2.bb => > packagegroup-foton-abstract-component-p2.bb} (61%) > create mode 100644 recipes-yocto-ivi/packagegroups/ > packagegroup-foton-placeholder-component-p1.bb > rename recipes-yocto-ivi/packagegroups/{packagegroup-core-p1.bb => > packagegroup-foton-specific-component-p1.bb} (67%) > create mode 100644 recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p2.bb > > diff --git > a/recipes-yocto-ivi/images/foton-image.bbb/recipes-yocto-ivi/images/ > foton-image.bb > index 6532519..f83aaf9 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.0" > #PR = "r1" > > -IMAGE_INSTALL_append = " packagegroup-core-p1 packagegroup-core-p2" > +IMAGE_INSTALL_append = " \ > + packagegroup-foton-abstract-component-p1 \ > + packagegroup-foton-placeholder-component-p1 \ > + packagegroup-foton-specific-component-p2 \ > + packagegroup-foton-abstract-component-p2 \ > + packagegroup-foton-specific-component-p1 \ > +" > > # Add image specific packages > diff --git a/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p1.bbb/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p1.bb > new file mode 100644 > index 0000000..9ff02b2 > --- /dev/null > +++ b/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p1.bb > @@ -0,0 +1,21 @@ > +DESCRIPTION = "GENIVI 4.0 (Foton) P1 Abstract components (AC)" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = > "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > +PR = "r0" > + > +inherit packagegroup > + > +PACKAGES = "\ > + packagegroup-foton-abstract-component-p1 \ > + " > + > +ALLOW_EMPTY = "1" > + > +RDEPENDS_${PN} += "\ > + bluez4 \ > + bluez4-systemd \ > + eglibc \ > + layer-management \ > + obex-client \ > + obexd \ > + " > diff --git > a/recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bbb/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p2.bb > similarity index 61% > rename from recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bb > rename to recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p2.bb > index e9b7b86..ac6af13 100644 > --- a/recipes-yocto-ivi/packagegroups/packagegroup-core-p2.bb > +++ b/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-abstract-component-p2.bb > @@ -1,4 +1,4 @@ > -DESCRIPTION = "P2 packages" > +DESCRIPTION = "GENIVI 4.0 (Foton) 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-foton-abstract-component-p2 \ > " > > -RDEPENDS_packagegroup-core-p2 = "\ > +ALLOW_EMPTY = "1" > + > + > +RDEPENDS_${PN} += "\ > node-state-manager \ > ofono \ > ofono-systemd \ > - pulseaudio-server \ > - wireless-tools \ > " > - > - > - > diff --git a/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-placeholder-component-p1.bbb/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-placeholder-component-p1.bb > new file mode 100644 > index 0000000..fd76884 > --- /dev/null > +++ b/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-placeholder-component-p1.bb > @@ -0,0 +1,20 @@ > +DESCRIPTION = "GENIVI 4.0 (Foton) P1 Placeholder components" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = > "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > +PR = "r0" > + > +inherit packagegroup > + > +PACKAGES = "\ > + packagegroup-foton-placeholder-component-p1 \ > + " > + > +ALLOW_EMPTY = "1" > + > + > +RDEPENDS_${PN} += "\ > + " > + > +RRECOMMENDS_${PN} = "\ > + packagegroup-xserver-ivi \ > + " > diff --git > a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bbb/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p1.bb > similarity index 67% > rename from recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb > rename to recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p1.bb > index f3ec738..06cf375 100644 > --- a/recipes-yocto-ivi/packagegroups/packagegroup-core-p1.bb > +++ b/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p1.bb > @@ -1,45 +1,38 @@ > -DESCRIPTION = "P1 packages" > +DESCRIPTION = "GENIVI 4.0 (Foton) 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-foton-specific-component-p1 \ > " > > -RDEPENDS_packagegroup-core-p1 = "\ > +ALLOW_EMPTY = "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 \ > nfs-utils \ > 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-foton-specific-component-p2.bbb/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p2.bb > new file mode 100644 > index 0000000..6348ba4 > --- /dev/null > +++ b/recipes-yocto-ivi/packagegroups/ > packagegroup-foton-specific-component-p2.bb > @@ -0,0 +1,19 @@ > +DESCRIPTION = "GENIVI 4.0 (Foton) P2 Specific components (SC)" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = > "file://${IVI_COREBASE}/meta-ivi/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > +PR = "r0" > + > +inherit packagegroup > + > +PACKAGES = "\ > + packagegroup-foton-specific-component-p2 \ > + " > + > +ALLOW_EMPTY = "1" > + > + > +RDEPENDS_${PN} += "\ > + pulseaudio-server \ > + wireless-tools \ > + " > + > -- > 1.8.2.3 > >
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
