Skip to contentSkip to conversation

createrepo: RDEPENDS on libxml2-python

PATCH New Robert Yang 1 participant 2 messages Jun 25, 2014

lore
Share & tools
lore
#0 lore raw

cover createrepo: RDEPENDS on libxml2-python

The following changes since commit 3c7b5ec1cae6186a64e0be2c05b64b05add08c97:

syslinux: fix isohybird overflows on 32 bit system (2014-06-24 19:54:12 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/createrepo
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/createrepo

Robert Yang (1):
createrepo: RDEPENDS on libxml2-python

 .../createrepo/createrepo_0.4.11.bb                |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 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

---
 .../createrepo/createrepo_0.4.11.bb                |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/createrepo/createrepo_0.4.11.bb +1 -0
index 159a6c4..49b45fc 100644
@@ -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"
 
Signature · 1 line
1.7.9.5