You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
350 B

  1. #!/bin/bash
  2. set -ex
  3. # NOTE: this url will change regularly because it's unstable
  4. PACKAGE=http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_4.2-2_amd64.deb
  5. mkdir tmp/
  6. cd tmp/
  7. curl $PACKAGE -o $(basename ${PACKAGE})
  8. dpkg-deb -X $(basename ${PACKAGE}) .
  9. cp usr/bin/qemu-aarch64-static ..
  10. cp usr/bin/qemu-arm-static ..
  11. cd ..
  12. rm -rf tmp