Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
update to always pull latest raspberry pi firmware from github
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-provenzano committed May 9, 2020
1 parent ba0c6e8 commit 3ba4008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ assert_tool blkid
assert_tool realpath
assert_tool 7z
assert_tool dd
assert_tool jq

## Check if we are building a supported image
IMAGE_TYPE=$1
Expand Down Expand Up @@ -75,7 +76,7 @@ function dl_dep() {
mkdir -p deps

if [ "$IMAGE_TYPE" = "raspberrypi" ]; then
dl_dep raspberrypi-firmware.tar.gz https://github.com/raspberrypi/firmware/archive/1.20200212.tar.gz
dl_dep raspberrypi-firmware.tar.gz "$(curl -s https://api.github.com/repos/raspberrypi/firmware/tags | jq -r '.[0].tarball_url')"
elif [ "$IMAGE_TYPE" = "orangepipc2" ]; then
# TODO: apt.armbian.com removes old versions, so these URLs become
# outdated. Find an armbian mirror that keeps old versions so that
Expand Down

0 comments on commit 3ba4008

Please sign in to comment.