Skip to content

Commit

Permalink
Merge pull request #269 from h-vetinari/qemu
Browse files Browse the repository at this point in the history
QEMU 8.2.4
  • Loading branch information
mbargull authored Jun 13, 2024
2 parents 8547b87 + b221a24 commit 60e5c0b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions download-qemu-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,23 @@ DEBIAN_FRONTEND=noninteractive \
sudo apt-get install --yes --no-install-recommends \
ca-certificates curl libarchive-tools

version='8.1.3'
build='1.fc39'
# see https://gitlab.com/qemu-project/qemu/-/tags for versions;
# we use the RPMs from https://kojipkgs.fedoraproject.org/packages/qemu;
# avoid qemu builds from unreleased fedora versions, compare `build`
# vs. https://en.wikipedia.org/wiki/Fedora_Linux_release_history;
# prefer non-`.0` patch releases to try to avoid potential new regressions;
# if possible, check https://gitlab.com/qemu-project/qemu/-/issues
# for relevant issues in old vs new version;
version='8.2.4'
build='1.fc40'
for arch in aarch64 ppc64le s390x; do
curl -sL \
"https://kojipkgs.fedoraproject.org/packages/qemu/${version}/${build}/x86_64/qemu-user-static-${arch/ppc64le/ppc}-${version}-${build}.x86_64.rpm" |
bsdtar -xf- --strip-components=3 ./usr/bin/qemu-${arch}-static
done

sha256sum --check << 'EOF'
3b78154b2aa59f886b530826b5dd01be03ce3c4b29751a814d724650bcc526b2 qemu-aarch64-static
15593a3ede391e218a61f7e5c28b714c9bce5cd2736f12127847cef1d8f0edd9 qemu-ppc64le-static
92dd7d9824c9c41635cf91761d8f9799f3b727918ae0f645a43c4317bab5d98f qemu-s390x-static
5fb1ae8235807b310000ed3a1b03d49a000c51ec1a1f84869720b87273976466 qemu-aarch64-static
4d9e1b1fc7e51d6bee4e087e06c1185cadc2d85b1308e802ed15c754ff6475cc qemu-ppc64le-static
3454f16b26dc94fcce23e4e2f97ab98033b659ad491675235c2388521154afac qemu-s390x-static
EOF

0 comments on commit 60e5c0b

Please sign in to comment.