]> code.ossystems Code Review - openembedded-core.git/commitdiff
testimage: add createrepo-native to testimage depends
authorbavery <brian.avery@intel.com>
Fri, 9 Sep 2016 16:25:16 +0000 (09:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2016 14:18:43 +0000 (15:18 +0100)
The smart tests need createrepo to be in the native sysroot. It needs
to be one of the depends for testimage.

Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/testimage.bbclass

index e42c5acce965d6c420d96b236ac6e890fae8dc10..263d53976f97d1d2b36c60b08c7ac50387ae2439 100644 (file)
@@ -67,6 +67,7 @@ TESTIMAGEDEPENDS = ""
 TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot"
 TESTIMAGEDEPENDS += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}"
 TESTIMAGEDEPENDS_qemuall += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}"
+TESTIMAGEDEPENDS_qemuall += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'createrepo-native:do_populate_sysroot', '', d)}"
 
 TESTIMAGELOCK = "${TMPDIR}/testimage.lock"
 TESTIMAGELOCK_qemuall = ""