Skip to contentSkip to conversation

qemu.inc: Always disable compile time git updating

PATCH New Mark Hatle 1 participant 1 message Mar 24, 2020

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 qemu.inc: Always disable compile time git updating

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.

---
 meta/recipes-devtools/qemu/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/qemu/qemu.inc +2 -0
index 7cf436783d..a6205b06c9 100644
@@ -82,6 +82,8 @@ EXTRA_OECONF = " \
     --disable-strip \
     --disable-werror \
     --extra-cflags='${CFLAGS}' \
+    --with-git=/bin/false \
+    --disable-git-update \
     ${PACKAGECONFIG_CONFARGS} \
     "
 
Signature · 1 line
2.17.1