qemu/scripts
Daniel P. Berrange 47bb908dd1 docker: don't rely on submodules existing in the main checkout
When building the tarball to pass into the docker/vm test image,
the code relies on the git submodules being checked out in the
main checkout.

ie if the developer has not run 'git submodule update --init dtc'
many of the docker tests will fail due to the libfdt package not
being present in the test images. Patchew manually checks out the
dtc submodule in the main git checkout, but this is a bad idea.

When running tests we want to have a predictable set of submodules
included in the source that's tested. The build environment is
completely independent of the developers host OS, so the submodules
the developer has checked out should not be considered relevant for
the tests.

This changes the archive-source.sh script so that it clones the
current git checkout into a temporary directory, checks out a
fixed set of submodules, builds the tarball and finally removes
the temporary git clone.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170929101201.21039-3-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2017-10-16 14:50:54 +02:00
..
coccinelle
kvm
modules
qemu-guest-agent
qemugdb
qmp scripts: Remove debug parameter from QEMUMonitorProtocol 2017-10-11 15:15:17 -03:00
tracetool
analyse-9p-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh docker: don't rely on submodules existing in the main checkout 2017-10-16 14:50:54 +02:00
argparse.py
check-qerror.sh
checkpatch.pl checkpatch: fix incompatibility with old perl 2017-10-05 10:22:44 -04:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config Add --firmwarepath to configure 2017-09-26 13:05:32 +02:00
device-crash-test
disas-objdump.pl
dump-guest-memory.py
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl
git-submodule.sh build: automatically handle GIT submodule checkout for dtc 2017-10-16 14:46:44 +02:00
git.orderfile
gtester-cat
hxtool
make-release
make_device_config.sh
ordereddict.py
qapi-commands.py
qapi-event.py
qapi-introspect.py
qapi-types.py
qapi-visit.py
qapi.py
qapi2texi.py
qemu-binfmt-conf.sh
qemu-gdb.py
qemu.py scripts: Remove debug parameter from QEMUMachine 2017-10-11 15:15:17 -03:00
qtest.py
refresh-pxe-roms.sh
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py
switch-timer-api
texi2pod.pl
tracetool.py
update-linux-headers.sh update-linux-headers: prepare for hyperv.h removal 2017-09-19 16:20:49 +02:00
vmstate-static-checker.py