Patchwork [0/3] rootfs generation improvements

login
register
mail settings
Submitter Paul Eggleton
Date July 11, 2012, 1:04 p.m.
Message ID <cover.1342011575.git.paul.eggleton@linux.intel.com>
Download mbox
Permalink /patch/31753/
State New
Headers show

Pull-request

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

Comments

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

I've tested this with all backends using buildhistory to examine the
changes to the image contents, and compared the lists of files in the
SDK-from-image output with the rpm backend. Unfortunately it does
increase the do_rootfs time slightly; one of my next tasks will be to
try to do some optimisation here.


The following changes since commit b76a7bc8dcb7aed7d6f026e77a226837004c50af:

  libgomp: add libgomp (openmp) library, and build for powerpc targets by default (2012-07-11 11:35:16 +0100)

are available in the git repository at:

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

Paul Eggleton (3):
  classes/rootfs_deb: use more reliable check for package existence
  Rework installation of dev, dbg, doc, and locale packages
  classes/image: add staticdev-pkgs IMAGE_FEATURES feature

 meta/classes/image.bbclass            |   89 ++++++++++++++++++++++-----------
 meta/classes/package_rpm.bbclass      |   74 ++++++++++++++++-----------
 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       |   14 +++---
 meta/classes/rootfs_ipk.bbclass       |   16 +++---
 meta/classes/rootfs_rpm.bbclass       |   29 ++++++-----
 8 files changed, 144 insertions(+), 85 deletions(-)
Saul Wold - July 17, 2012, 4:01 p.m.
On 07/11/2012 06:04 AM, Paul Eggleton wrote:
> Fix up handling of "complementary" package installation (dev, dbg, doc,
> etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.
>
> I've tested this with all backends using buildhistory to examine the
> changes to the image contents, and compared the lists of files in the
> SDK-from-image output with the rpm backend. Unfortunately it does
> increase the do_rootfs time slightly; one of my next tasks will be to
> try to do some optimisation here.
>
>
> The following changes since commit b76a7bc8dcb7aed7d6f026e77a226837004c50af:
>
>    libgomp: add libgomp (openmp) library, and build for powerpc targets by default (2012-07-11 11:35:16 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib paule/rootfs
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/rootfs
>
> Paul Eggleton (3):
>    classes/rootfs_deb: use more reliable check for package existence
Merged this one into OE-Core

>    Rework installation of dev, dbg, doc, and locale packages
>    classes/image: add staticdev-pkgs IMAGE_FEATURES feature
>
There was an issue with either one or both of these during build 
testing, I know you are looking into it.

Thanks
	Sau!


>   meta/classes/image.bbclass            |   89 ++++++++++++++++++++++-----------
>   meta/classes/package_rpm.bbclass      |   74 ++++++++++++++++-----------
>   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       |   14 +++---
>   meta/classes/rootfs_ipk.bbclass       |   16 +++---
>   meta/classes/rootfs_rpm.bbclass       |   29 ++++++-----
>   8 files changed, 144 insertions(+), 85 deletions(-)
>
Paul Eggleton - July 23, 2012, 10:29 a.m.
On Tuesday 17 July 2012 09:01:07 Saul Wold wrote:
> On 07/11/2012 06:04 AM, Paul Eggleton wrote:
> > Fix up handling of "complementary" package installation (dev, dbg, doc,
> > etc.) and introduce a staticdev-pkgs IMAGE_FEATURES feature.
> > 
> > I've tested this with all backends using buildhistory to examine the
> > changes to the image contents, and compared the lists of files in the
> > SDK-from-image output with the rpm backend. Unfortunately it does
> > increase the do_rootfs time slightly; one of my next tasks will be to
> > try to do some optimisation here.
> > 
> > The following changes since commit 
b76a7bc8dcb7aed7d6f026e77a226837004c50af:
> >    libgomp: add libgomp (openmp) library, and build for powerpc targets by
> >    default (2012-07-11 11:35:16 +0100)> 
> > are available in the git repository at:
> >    git://git.openembedded.org/openembedded-core-contrib paule/rootfs
> >    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=
> >    paule/rootfs> 
> > Paul Eggleton (3):
> >    classes/rootfs_deb: use more reliable check for package existence
> 
> Merged this one into OE-Core
> 
> >    Rework installation of dev, dbg, doc, and locale packages
> >    classes/image: add staticdev-pkgs IMAGE_FEATURES feature
> 
> There was an issue with either one or both of these during build
> testing, I know you are looking into it.

Indeed, this triggered some kind of environment size limit and has exposed a 
few other lurking issues as well. It also failed to handle debian package 
renaming. I have a reworked and extended patchset coming, please disregard the 
unmerged part of this one.

Cheers,
Paul