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>
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
DEPENDS_class-native += "libxml2-native rpm-native"
+RDEPENDS_${PN}_class-target = "libxml2-python"
PR = "r9"