summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/testexport.bbclass1
-rw-r--r--meta/classes/testimage.bbclass2
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 ?= ""
24TEST_SERVER_IP ?= "" 24TEST_SERVER_IP ?= ""
25 25
26TEST_EXPORT_DEPENDS = "" 26TEST_EXPORT_DEPENDS = ""
27TEST_EXPORT_DEPENDS += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}"
27TEST_EXPORT_LOCK = "${TMPDIR}/testimage.lock" 28TEST_EXPORT_LOCK = "${TMPDIR}/testimage.lock"
28 29
29python do_testexport() { 30python 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
69TESTIMAGEDEPENDS = "" 69TESTIMAGEDEPENDS = ""
70TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" 70TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot"
71TESTIMAGEDEPENDS += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}"
72TESTIMAGEDEPENDS_qemuall += "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'cpio-native:do_populate_sysroot', '', d)}"
71 73
72TESTIMAGELOCK = "${TMPDIR}/testimage.lock" 74TESTIMAGELOCK = "${TMPDIR}/testimage.lock"
73TESTIMAGELOCK_qemuall = "" 75TESTIMAGELOCK_qemuall = ""