[oe-commits] [openembedded-core] 06/14: qemu: Fix reproducibilty issues

git at git.openembedded.org git at git.openembedded.org
Thu Mar 12 12:46:42 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e69a9d8a9b7ec1e989755aaeaf9d0e9c748e07fb
Author: Jeremy Puhlman <jpuhlman at mvista.com>
AuthorDate: Wed Mar 11 15:25:42 2020 -0700

    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.
    
    Signed-off-by: Jeremy A. Puhlman <jpuhlman at mvista.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index f3342ea..e6dbc6d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list