You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scripts
Michael Roth b79b05d1a0 make-release: don't rely on $CWD when excluding subproject directories
The current logic scans qemu.git/subprojects/ from *.wrap files to
determine whether or not to include the associated directories in the
release tarballs. However, the script assumes that it is being run from
the top-level of the source directory, which may not always be the case.
In particular, when generating releases via, e.g.:

  make qemu-9.2.1.tar.xz

the $CWD will either be an arbitrary external build directory, or
qemu.git/build, and the exclusions will not be processed as expected.
Fix this by using the $src parameter passed to the script as the root
directory for the various subproject/ paths referenced by this logic.

Also, the error case at the beginning of the subproject_dir() will not
result in the error message being printed, and will instead produce an
error message about "error" not being a valid command. Fix this by using
basic shell commands.

Fixes: be27b5149c ("make-release: only leave tarball of wrap-file subprojects")
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 week ago
..
ci dockerfiles: install bindgen from cargo on Ubuntu 22.04 4 months ago
coccinelle hw: Define new device_class_set_legacy_reset() 5 months ago
codeconverter include: Rename sysemu/ -> system/ 2 months ago
coverage scripts/coverage: initial coverage comparison script 2 years ago
coverity-scan include: Rename sysemu/ -> system/ 2 months ago
kvm target/i386: enumerate VMX nested-exception support 9 months ago
modules
oss-fuzz fuzz: disable leak-detection for oss-fuzz builds 9 months ago
performance scripts/: spelling fixes 1 year ago
qapi qapi: expose all schema features to code 2 weeks ago
qemu-guest-agent qemu-ga: Optimize freeze-hook script logic of logging error 2 months ago
qemugdb scripts/qemu-gdb: Support coroutine dumps in coredumps 2 weeks ago
qmp python: rename qemu.aqmp to qemu.qmp 3 years ago
rust rust: add --check-cfg test to rustc arguments 1 month ago
simplebench scripts/: spelling fixes 1 year ago
tracetool tracetool: Forbid newline character in event format 9 months ago
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py scripts/analyse-locks-simpletrace.py: changed iteritems() to items() 1 year ago
analyze-inclusions exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET 10 months ago
analyze-migration.py migration: Fix arrays of pointers in JSON writer 1 month ago
archive-source.sh rust: add PL011 device model 4 months ago
block-coroutine-wrapper.py block-coroutine-wrapper: use qemu_get_current_aio_context() 1 year ago
check_sparse.py
checkpatch.pl scripts/checkpatch.pl: Ignore ObjC #import lines for operator spacing 4 months ago
clean-header-guards.pl disas: Remove libvixl disassembler 3 years ago
clean-includes include: Rename sysemu/ -> system/ 2 months ago
cleanup-trace-events.pl
cocci-macro-file.h win32: remove usage of attribute gcc_struct 1 month ago
compare-machine-types.py scripts: add script to compare compatibility properties 10 months ago
cpu-x86-uarch-abi.py scripts: drop comment about autogenerated CPU API file 1 year ago
decodetree.py tests/decode: Suppress "error: " string for expected-failure tests 2 years ago
device-crash-test python/qemu: rename command() to cmd() 1 year ago
disas-objdump.pl
dump-guest-memory.py
entitlement.sh scripts/entitlement.sh: Use backward-compatible cp flags 3 years ago
extract-vsssdk-headers
feature_to_c.py gdbstub: Add members to identify registers to GDBFeature 12 months ago
fix-multiline-comments.sh
get_maintainer.pl scripts/get_maintainer.pl: don't print parentheses 1 year ago
git-submodule.sh scripts/git-submodule.sh: Don't rely on non-POSIX 'read' behaviour 2 years ago
git.orderfile scripts/git.orderfile: Display MAINTAINERS changes first 2 years ago
hxtool
kernel-doc license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only 5 months ago
make-config-poison.sh exec/poison: Do not poison CONFIG_SOFTMMU 2 years ago
make-release make-release: don't rely on $CWD when excluding subproject directories 1 week ago
meson-buildoptions.py meson-buildoptions: document the data at the top 1 year ago
meson-buildoptions.sh * rust: cleanups 4 months ago
meson.build scripts: add a XML preprocessor script 2 years ago
minikconf.py minikconf: print error entirely on stderr 5 months ago
modinfo-collect.py scripts: make sure scripts are invoked via $(PYTHON) 2 years ago
modinfo-generate.py scripts: make sure scripts are invoked via $(PYTHON) 2 years ago
mtest2make.py tests/qtest: add TIMEOUT_MULTIPLIER 2 months ago
nsis.py scripts/nsis.py: Run dependency check for each DLL file only once 1 month ago
probe-gdb-support.py testing: Enhance gdb probe script 4 months ago
python_qmp_updater.py scripts: add python_qmp_updater.py 1 year ago
qapi-gen.py
qemu-binfmt-conf.sh scripts/qemu-binfmt-conf: Add LoongArch to qemu_get_family() 3 years ago
qemu-gdb.py scripts/qemu-gdb: Always do full stack dump for python errors 2 weeks ago
qemu-plugin-symbols.py plugins: detect qemu plugin API symbols from header 3 months ago
qemu-stamp.py meson, configure: move --with-pkgversion, CONFIG_STAMP to meson 3 years ago
qemu-trace-stap scripts: improve error from qemu-trace-stap on missing 'stap' 1 week ago
qemu-version.sh
qom-cast-macro-clean-cocci-gen.py licenses: Remove SPDX tags not being license identifier for Linaro 3 weeks ago
refresh-pxe-roms.sh
render_block_graph.py python/qemu: rename command() to cmd() 1 year ago
replay-dump.py tests/avocado: excercise scripts/replay-dump.py in replay tests 6 months ago
shaderinclude.py build-sys: fix crlf-ending C code 2 years ago
signrom.py
simpletrace.py simpletrace: added simplified Analyzer2 class 1 year ago
symlink-install-tree.py scripts/symlink-install-tree.py: Fix MESONINTROSPECT parsing 4 months ago
tracetool.py tracetool: remove redundant --target-type / --target-name args 12 months ago
u2f-setup-gen.py
undefsym.py
update-linux-headers.sh hw/acpi: Add vmclock device 1 month ago
update-mips-syscall-args.sh linux-user, mips: update syscall-args-o32.c.inc to Linux v5.13 4 years ago
update-syscalltbl.sh linux-user,loongarch: move to syscalltbl file 5 months ago
userfaultfd-wrlat.py
vmstate-static-checker.py vmstate-static-checker: Recognize "num" field 2 years ago
xen-detect.c xen: Drop support for Xen versions below 4.7.1 2 years ago
xml-preprocess-test.py scripts: add a XML preprocessor script 2 years ago
xml-preprocess.py scripts/xml-preprocess: Make sure this script is invoked via the right Python 1 year ago