[2/2] populate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native

Submitted by Khem Raj on Aug. 4, 2012, 4:58 a.m. | Patch ID: 33773


Message ID 1344056301-3710-2-git-send-email-raj.khem@gmail.com
State Accepted
Commit 90cfe33d30ef4f9491bd52e7965c5279a2e2650c
Headers show

Commit Message

Khem Raj Aug. 4, 2012, 4:58 a.m.
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

line 610: rpm-createsolvedb.py: command not found
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image (see
for further information)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
 meta/classes/populate_sdk_rpm.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

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"