summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-06-25 02:16:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-25 13:51:08 +0100
commit3ec0f411985cf6891b34e1f9624df9df38c9fc6f (patch)
tree827fcd91a3cede33988a0752db954e254871896c
parentacd711f7faa98990f32b11f6235e739723ec2743 (diff)
downloadopenembedded-core-contrib-3ec0f411985cf6891b34e1f9624df9df38c9fc6f.tar.gz
openembedded-core-contrib-3ec0f411985cf6891b34e1f9624df9df38c9fc6f.tar.bz2
openembedded-core-contrib-3ec0f411985cf6891b34e1f9624df9df38c9fc6f.zip
createrepo: RDEPENDS on libxml2-python
Fixed the error when run createrepo on target: Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 27, in <module> import libxml2 File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module> ImportError: No module named libxml2mod Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/createrepo/createrepo_0.4.11.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
index 159a6c4b27..49b45fc3b8 100644
--- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -5,6 +5,7 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
DEPENDS_class-native += "libxml2-native rpm-native"
+RDEPENDS_${PN}_class-target = "libxml2-python"
PR = "r9"