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

(From OE-Core rev: 3ec0f411985cf6891b34e1f9624df9df38c9fc6f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2014-06-25 02:16:20 -07:00
committed by Richard Purdie
parent a3cbd2d067
commit c5713feb0c

View File

@@ -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"