diff options
-rw-r--r-- | meta/classes/testexport.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/testimage.bbclass | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass index 8046e29655..a3208806bc 100644 --- a/meta/classes/testexport.bbclass +++ b/meta/classes/testexport.bbclass | |||
@@ -24,6 +24,7 @@ TEST_TARGET_IP ?= "" | |||
24 | TEST_SERVER_IP ?= "" | 24 | TEST_SERVER_IP ?= "" |
25 | 25 | ||
26 | TEST_EXPORT_DEPENDS = "" | 26 | TEST_EXPORT_DEPENDS = "" |
27 | TEST_EXPORT_DEPENDS += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}" | ||
27 | TEST_EXPORT_LOCK = "${TMPDIR}/testimage.lock" | 28 | TEST_EXPORT_LOCK = "${TMPDIR}/testimage.lock" |
28 | 29 | ||
29 | python do_testexport() { | 30 | python do_testexport() { |
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index a70d3a885e..7fd0f62469 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -68,6 +68,8 @@ TEST_TARGET ?= "qemu" | |||
68 | 68 | ||
69 | TESTIMAGEDEPENDS = "" | 69 | TESTIMAGEDEPENDS = "" |
70 | TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" | 70 | TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" |
71 | TESTIMAGEDEPENDS += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}" | ||
72 | TESTIMAGEDEPENDS_qemuall += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}" | ||
71 | 73 | ||
72 | TESTIMAGELOCK = "${TMPDIR}/testimage.lock" | 74 | TESTIMAGELOCK = "${TMPDIR}/testimage.lock" |
73 | TESTIMAGELOCK_qemuall = "" | 75 | TESTIMAGELOCK_qemuall = "" |