]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk.bbclass: remap packages when generating sdk tarball
authorMatthew McClintock <msm@freescale.com>
Mon, 5 Dec 2011 20:56:27 +0000 (14:56 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Dec 2011 20:27:53 +0000 (20:27 +0000)
commit0b803ac3627c238aa7d19a23b7621f55779f2557
treedeb732d9120329abd4ade0d64ce2c581ad07331c
parent4339459bd38c75250610c4cdb767504e808c5bf0
populate_sdk.bbclass: remap packages when generating sdk tarball

This fixes the issue below:

| Generating solve db for /local/home/mattsm/git/poky/build_p4080ds_release/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.093784 secs
|    fingerprint:         9      0.000012 MB      0.000252 secs
|    install:             3      0.000000 MB      0.039092 secs
|    dbadd:               3      0.000000 MB      0.034837 secs
|    dbget:              12      0.000000 MB      0.000062 secs
|    dbput:               3      0.009532 MB      0.002731 secs
|    readhdr:            31      0.019160 MB      0.000084 secs
|    hdrload:            15      0.027924 MB      0.000116 secs
|    hdrget:            494      0.000000 MB      0.000691 secs
| Processing task-core-standalone-sdk-target...
| Processing glib-2.0...
| Unable to find package glib-2.0 (glib-2.0)!
| ERROR: Function 'do_populate_sdk' failed (see /local/home/mattsm/git/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/fsl-toolchain-1.0-r6/temp/log.do_populate_sdk.16975 for further information)

If you have:

TOOLCHAIN_TARGET_TASK += "glib-2.0"

The package name was not getting remapped correctly for the do_populate_sdk
case.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk.bbclass