Patchwork [0/7] rootfs generation improvements v3

login
register
mail settings
Submitter Paul Eggleton
Date July 25, 2012, 6:42 p.m.
Message ID <cover.1343241383.git.paul.eggleton@linux.intel.com>
Download mbox
Permalink /patch/33055/
State New
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib paule/rootfs2

Comments

Paul Eggleton - July 25, 2012, 6:42 p.m.
Fix up handling of "complementary" package installation (dev, dbg, doc,
etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.

Changes since v2:

* Clear IMAGE_FEATURES in core-image-minimal so that it doesn't
  have dev/dbg packages added (since the default value of IMAGE_FEATURES
  contains dev-pkgs and dbg-pkgs and this will now apply to any image).
* Fix errors with the ipk and deb backends if no complementary packages
  need to be installed
* Add DEPENDS on rpm to rpmresolve


The following changes since commit 4148bc80c008d25c8a536c7c7dfdeac1669a6662:

  libgcc: Add missing dependency on libc:do_package (2012-07-24 10:12:08 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/rootfs2
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/rootfs2

Andrei Gherzan (1):
  package.bbclass: Create symlinks for packages with different packaged
    name

Paul Eggleton (6):
  classes/rootfs_rpm: improve speed of RPM rootfs construction
  classes/package_deb: add PackageArch field
  Rework installation of dev, dbg, doc, and locale packages
  core-image-minimal: clear IMAGE_FEATURES
  classes/image: add staticdev-pkgs IMAGE_FEATURES feature
  buildhistory: improve performance of image info collection

 meta/classes/buildhistory.bbclass                 |   51 ++-
 meta/classes/image.bbclass                        |   93 ++---
 meta/classes/license.bbclass                      |    2 +-
 meta/classes/package.bbclass                      |    6 +-
 meta/classes/package_deb.bbclass                  |    1 +
 meta/classes/package_rpm.bbclass                  |  183 +++++-----
 meta/classes/populate_sdk_deb.bbclass             |    2 +
 meta/classes/populate_sdk_ipk.bbclass             |    2 +
 meta/classes/populate_sdk_rpm.bbclass             |    3 +
 meta/classes/rootfs_deb.bbclass                   |   51 ++-
 meta/classes/rootfs_ipk.bbclass                   |   50 ++-
 meta/classes/rootfs_rpm.bbclass                   |   69 ++--
 meta/recipes-core/images/core-image-minimal.bb    |    1 +
 meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c |  376 +++++++++++++++++++++
 meta/recipes-devtools/rpm/rpmresolve_1.0.bb       |   22 ++
 scripts/oe-pkgdata-util                           |  167 +++++++++
 scripts/opkg-query-helper.py                      |   76 +++++
 17 files changed, 890 insertions(+), 265 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c
 create mode 100644 meta/recipes-devtools/rpm/rpmresolve_1.0.bb
 create mode 100755 scripts/oe-pkgdata-util
 create mode 100755 scripts/opkg-query-helper.py
Koen Kooi - July 25, 2012, 7:08 p.m.
Op 25 jul. 2012, om 20:42 heeft Paul Eggleton het volgende geschreven:

> Fix up handling of "complementary" package installation (dev, dbg, doc,
> etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.
> 
> Changes since v2:
> 
> * Clear IMAGE_FEATURES in core-image-minimal so that it doesn't
>  have dev/dbg packages added (since the default value of IMAGE_FEATURES
>  contains dev-pkgs and dbg-pkgs and this will now apply to any image).

Wait, what?
Paul Eggleton - July 25, 2012, 8:28 p.m.
On Wednesday 25 July 2012 21:08:53 Koen Kooi wrote:
> Op 25 jul. 2012, om 20:42 heeft Paul Eggleton het volgende geschreven:
> > Fix up handling of "complementary" package installation (dev, dbg, doc,
> > etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.
> > 
> > Changes since v2:
> > 
> > * Clear IMAGE_FEATURES in core-image-minimal so that it doesn't
> > 
> >  have dev/dbg packages added (since the default value of IMAGE_FEATURES
> >  contains dev-pkgs and dbg-pkgs and this will now apply to any image).
> 
> Wait, what?

Ah, right... not sure what I was thinking - there is no such default value. I 
have dropped that patch from the branch.

Cheers,
Paul
Paul Eggleton - July 25, 2012, 10:37 p.m.
On Wednesday 25 July 2012 19:42:50 Paul Eggleton wrote:
> * Fix errors with the ipk and deb backends if no complementary packages
>   need to be installed

This change is totally broken as well. Shows what happens when you rush to get 
something out before you leave for the evening. I might as well send out a v4 
at this point.

Cheers,
Paul