[oe-commits] Khem Raj : populate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native

git at git.openembedded.org git at git.openembedded.org
Mon Aug 6 14:22:40 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 90cfe33d30ef4f9491bd52e7965c5279a2e2650c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=90cfe33d30ef4f9491bd52e7965c5279a2e2650c

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Aug  3 21:58:21 2012 -0700

populate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native

Now that we have moved the rpm-createsolvedb.py
script to createrepo-native for good reason of
python-native dependency, we have to make sure
that it is staged before its used, unlike before
where it was under scripts/ dir and always existed
outside the realm of package management.

Fixes build error when doing meta-toolchain builds from
scratch

|
/home/kraj/yocto/poky/build/tmp/work/ppc64e5500-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.26712:
line 610: rpm-createsolvedb.py: command not found
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image (see
/home/kraj/yocto/poky/build/tmp/work/ppc64e5500-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.26712
for further information)

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/populate_sdk_rpm.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass
index b4b27ba..1c54049 100644
--- a/meta/classes/populate_sdk_rpm.bbclass
+++ b/meta/classes/populate_sdk_rpm.bbclass
@@ -1,5 +1,6 @@
 do_populate_sdk[depends] += "rpm-native:do_populate_sysroot"
 do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot"
+do_populate_sdk[depends] += "createrepo-native:do_populate_sysroot"
 do_populate_sdk[recrdeptask] += "do_package_write_rpm"
 
 rpmlibdir = "/var/lib/rpm"





More information about the Openembedded-commits mailing list