diff options
| author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-03-11 15:25:42 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 22:49:28 +0000 |
| commit | 163ee315a535c075c0e7e81f277e17b7bb72351a (patch) | |
| tree | a285ef5e150251c015ff31ac5afd4f566b2c6e16 | |
| parent | 3d46c2d10d99769e7daf592c255e6d9eba8f1d8d (diff) | |
| download | poky-163ee315a535c075c0e7e81f277e17b7bb72351a.tar.gz | |
qemu: Fix reproducibilty issues
tests/qemu-iotests/common.env is generated from configure which
we pass ${HOSTTOOLS_DIR}/python3 as our python to use, which gets
copied into the ptests. Correct python3 path.
(From OE-Core rev: e8e5765cf2ad324a84634877eebc8289f1bc934f)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index f3342eaf28..e6dbc6d05a 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
| @@ -56,6 +56,8 @@ do_install_ptest() { | |||
| 56 | # Don't check the file genreated by configure | 56 | # Don't check the file genreated by configure |
| 57 | sed -i -e '/wildcard config-host.mak/d' \ | 57 | sed -i -e '/wildcard config-host.mak/d' \ |
| 58 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include | 58 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include |
| 59 | sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ | ||
| 60 | ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env | ||
| 59 | } | 61 | } |
| 60 | 62 | ||
| 61 | # QEMU_TARGETS is overridable variable | 63 | # QEMU_TARGETS is overridable variable |
