Created
July 13, 2023 18:26
-
-
Save chris-pcguy/7100b6886b8486861f6608e5a646edab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eu | |
| DEST="$1" | |
| URL="$2" | |
| mkdir -p "$DEST" ; cd "$DEST" | |
| wget --bind-address=... -c "$URL" | |
| mkdir -p iphone ; cd iphone | |
| unzip ../$(basename $URL) | |
| DMGNAME=*.dmg | |
| ####python3 /home/.../.../qemu-t8030-tools/bootstrap_scripts/asn1rdskdecode.py "$DMGNAME" "${DMGNAME}.out" | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.1 32G | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.2 8M | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.3 128K | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.4 8K | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvram 8K | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.6 4K | |
| /home/.../.../qemu-t8030/build/qemu-img create -f raw nvme.7 1M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment