summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-03 21:58:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:46 +0100
commitbce9306008897bb8028472b4dd7d954af709125b (patch)
tree46192f003830f41a7a024d45c5bfb5dae91c9a36 /meta
parent497d8712de2dbabcc3405ff322e3d2c0f40af725 (diff)
downloadpoky-bce9306008897bb8028472b4dd7d954af709125b.tar.gz
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) (From OE-Core rev: 90cfe33d30ef4f9491bd52e7965c5279a2e2650c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/populate_sdk_rpm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass
index b4b27ba50f..1c5404927f 100644
--- a/meta/classes/populate_sdk_rpm.bbclass
+++ b/meta/classes/populate_sdk_rpm.bbclass
@@ -1,5 +1,6 @@
1do_populate_sdk[depends] += "rpm-native:do_populate_sysroot" 1do_populate_sdk[depends] += "rpm-native:do_populate_sysroot"
2do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot" 2do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot"
3do_populate_sdk[depends] += "createrepo-native:do_populate_sysroot"
3do_populate_sdk[recrdeptask] += "do_package_write_rpm" 4do_populate_sdk[recrdeptask] += "do_package_write_rpm"
4 5
5rpmlibdir = "/var/lib/rpm" 6rpmlibdir = "/var/lib/rpm"