]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: Fix reproducibilty issues
authorJeremy Puhlman <jpuhlman@mvista.com>
Wed, 11 Mar 2020 22:25:42 +0000 (15:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Mar 2020 22:49:23 +0000 (22:49 +0000)
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.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc

index f3342eaf2807a7894a1e0405fb6fcb9f088c92a6..e6dbc6d05accf791796b941bd6a6066d1900c4ad 100644 (file)
@@ -56,6 +56,8 @@ do_install_ptest() {
        # Don't check the file genreated by configure
        sed -i -e '/wildcard config-host.mak/d' \
               -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include
+        sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \
+            ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env 
 }
 
 # QEMU_TARGETS is overridable variable