Skip to content

Commit

Permalink
Use simple glob to move qemu-*-static
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
  • Loading branch information
mbargull committed Nov 22, 2023
1 parent 2acceeb commit 956a1f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions download-qemu-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ build='ds-1'
curl -sL \
"http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-static_${version}+${build}_amd64.deb" |
dpkg-deb --extract - ./deb-tmp
for arch in aarch64 arm ppc64le s390x; do
mv "./deb-tmp/usr/bin/qemu-${arch}-static" ./
done
mv ./deb-tmp/usr/bin/qemu-*-static ./
rm -rf ./deb-tmp
sha256sum --check << 'EOF'
f5c0f9f9e1499c6907bb293a250d9a015ea99e304654e0ab9fb38fd72efad7ce qemu-aarch64-static
Expand Down

0 comments on commit 956a1f4

Please sign in to comment.