diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2016-06-06 07:15:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-07 15:22:38 +0100 |
commit | cfe3efd7304b6473574f016650df56dcb0e2ca3c (patch) | |
tree | 81506ba213c22687c220ee901d5d895b6053936d /meta/classes/testimage.bbclass | |
parent | 938f05333b94e91a628c940588e2bafc88b8bdef (diff) | |
download | poky-cfe3efd7304b6473574f016650df56dcb0e2ca3c.tar.gz |
testimage.bbclass: Make dependency of cpio when using RPMs
Exctraction of RPMs needs cpio, not all distros include cpio by
default, so we need to build it.
[YOCTO #8694]
(From OE-Core rev: 95cd427b3887b087533fba11c67ef9bc173f9aa5)
(From OE-Core rev: 5a4c73bd3f2bbba2ad5413367fa7ca2f625ffdd7)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
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 = "" |