From: Robert Yang Date: Wed, 25 Jun 2014 09:16:20 +0000 (-0700) Subject: createrepo: RDEPENDS on libxml2-python X-Git-Tag: 2015-4~2462 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3ec0f411985cf6891b34e1f9624df9df38c9fc6f;p=openembedded-core.git 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 import libxml2 File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in ImportError: No module named libxml2mod Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- 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"