]> git.ipfire.org Git - thirdparty/qemu.git/commit
make-release: only leave tarball of wrap-file subprojects
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Dec 2024 10:24:13 +0000 (11:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jan 2025 22:34:44 +0000 (23:34 +0100)
commitbe27b5149c86f81531f8fc609baf3480fc4d9ca0
tree2a7738a36846d3c1ee3430454057a884af5b6f28
parentb7bd800eba69bab75b8c296ad788df8df8947aae
make-release: only leave tarball of wrap-file subprojects

The QEMU source archive is including the sources downloaded from crates.io
in both tarball form (in subprojects/packagecache) and expanded/patched
form (in the subprojects directory).  The former is the more authoritative
form, as it has a hash that can be verified in the wrap file and checked
against the download URL, so keep that one only.  This works also with
--disable-download; when building QEMU for the first time from the
tarball, Meson will print something like

    Using proc-macro2-1-rs source from cache.

for each subproject, and then go on to extract the tarball and apply the
overlay or the patches in subprojects/packagefiles.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2719
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/make-release