Open dkebler opened 7 years ago
@itdaniher Good suggestion didn't know curl had that option but the url for the release is actually a redirect to some AWS storage so it doesn't work. I managed to see the redirect url and it has so many REST options that using that in curl just spits out a bunch of errors and never gets to the actual url of the file.
So anyone know how to get the direct url to the image on aws? If so using curl would work. Otherwise I'm back to my initial request.
@dkebler I don't know if it is possible to download via the release page links, because as you point out, it re-directs, and curl grabs the redirect page instead. However, if you just want to grab the latest image (or even a specific one), you can use this script which is inspired by the install-to-emmc script.
It has some references to the rock64 in it as I originally knocked up a script for that, and then changed the bits I needed to make it work with the pine64. If you want the xenial-mate-pinebook image flagged as 'latest', just run it with 'xenial-mate-pinebook' as a parameter (ie. ./dl_latest_pine64_image.sh xenial-mate-pinebook
). If you want a specific version, tack that on the end (ie. for the 0.7.14 version of 'xenial-mate-pinebook', the command would look like ./dl_latest_pine64_image.sh xenial-mate-pinebook 0.7.14
).
Hope that gets it going for you.
I'm having trouble downloading the larger (mate-pinebook) image directly from github. Is it possible to put the larger images at a torrent or other location where I can resume a stopped download instead of starting over. Thx