Patchwork [0/5] Fix the SDK generation

login
register
mail settings
Submitter Mark Hatle
Date Aug. 2, 2011, 12:17 a.m.
Message ID <cover.1312243899.git.mark.hatle@windriver.com>
Download mbox
Permalink /patch/9018/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib mhatle/oecore/sdk-fix-WIP

Comments

Mark Hatle - Aug. 2, 2011, 12:17 a.m.
This is an attempt to fix a number of issues with the SDK generation.  It has been
tested using bitbake meta-toolchain-sdk.

Note, patches:

 4/5: package_ipk: SDK generation workaround
 5/5: update-alternatives: Add alternatives as a runtime provide

4/5 might be reasonable to implement immediately to resolve this issue.. However
5/5 is absolutely incorrect and that is noted within the patch header.  I'd
like comments on the issue to understand how to fix the problem.


The following changes since commit 2a41a311ddda11713296391050f3c2c1b2c1d3d3:

  arch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat case (2011-08-01 16:49:03 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/oecore/sdk-fix-WIP
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/oecore/sdk-fix-WIP

Mark Hatle (5):
  rootfs_rpm: Cleanup and minor bug fixes
  bitbake.conf: Add SDK_PACKAGE_ARCHS
  populate_sdk_*: Sync SDK and regular rootfs functions
  package_ipk: SDK generation workaround
  update-alternatives: Add alternatives as a runtime provide

 meta/classes/package_deb.bbclass         |    6 +-
 meta/classes/package_ipk.bbclass         |   43 +++++------
 meta/classes/package_rpm.bbclass         |  120 ++++++++++++------------------
 meta/classes/populate_sdk.bbclass        |    9 ++
 meta/classes/populate_sdk_deb.bbclass    |   35 ++++-----
 meta/classes/populate_sdk_rpm.bbclass    |   89 +++++++++++++++++------
 meta/classes/rootfs_rpm.bbclass          |   30 ++++----
 meta/classes/update-alternatives.bbclass |    2 +
 meta/conf/bitbake.conf                   |    1 +
 9 files changed, 179 insertions(+), 156 deletions(-)
Richard Purdie - Aug. 2, 2011, 1:34 p.m.
On Mon, 2011-08-01 at 19:17 -0500, Mark Hatle wrote:
> This is an attempt to fix a number of issues with the SDK generation.  It has been
> tested using bitbake meta-toolchain-sdk.
> 
> Note, patches:
> 
>  4/5: package_ipk: SDK generation workaround
>  5/5: update-alternatives: Add alternatives as a runtime provide
> 
> 4/5 might be reasonable to implement immediately to resolve this issue.. However
> 5/5 is absolutely incorrect and that is noted within the patch header.  I'd
> like comments on the issue to understand how to fix the problem.

I've merged 1-4 to master, 4 on the grounds that it improves the
situation substantially.

For 5, I suspect we'll need to process the path using python, I can't
really see a way to avoid it. I assume / is an illegal character for deb
anywhere, not just at the start of the dependency name?

Cheers,

Richard