]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu.inc: Always disable compile time git updating
authorMark Hatle <mark.hatle@kernel.crashing.org>
Tue, 24 Mar 2020 16:50:43 +0000 (11:50 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2020 22:59:41 +0000 (22:59 +0000)
If the SRC_URI is switched to be git based, QEMU will automatically update
itself at compile time for select git submodules.  This by passes the
bitbake git fetcher.  These modules are always present in the release
tarballs, so only are problematic when used with git based SRC_URIs.

These switches will have no effect on a tarball based SRC_URI.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc

index f62220a51d082ab242cf940fb4aef705f7a371ae..972767615dd440b87fe81b6b47436f535fdf4a30 100644 (file)
@@ -83,6 +83,8 @@ EXTRA_OECONF = " \
     --disable-strip \
     --disable-werror \
     --extra-cflags='${CFLAGS}' \
+    --with-git=/bin/false \
+    --disable-git-update \
     ${PACKAGECONFIG_CONFARGS} \
     "