File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Download Raspbian Image, remove first-boot stuff, add repos and install packages.
2+ source lib.sh
33
44# Raspbian
5- architecture=" $2 "
6- case " $architecture " in
7- " armhf" | " " )
8- RASPBIAN_TORRENT_URL=https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-05-28/2021-05-07-raspios-buster-armhf.zip.torrent
9- RASPBIAN_SHA256=b6c04b34d231f522278fc822d913fed3828d0849e1e7d786db72f52c28036c62
10- ;;
11- " arm64" )
12- RASPBIAN_TORRENT_URL=downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip.torrent
13- RASPBIAN_SHA256=f882c4c7202074277938b04fa770411c4b8a12f49e9ad2c2d70966e168b7bcb4
14- ;;
15- esac
16-
17- RASPBIAN_IMAGE_FILE=$( basename $RASPBIAN_TORRENT_URL | sed -e " s/.zip.torrent/.img/g" )
18-
5+ RASPBIAN_TORRENT_URL=downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2024-11-19/2024-11-19-raspios-bookworm-arm64.img.xz.torrent
6+ RASPBIAN_SHA256=ea6e68c48d14c3d78af5471c0b288bbf6522fdd775241f74d8295d106d344300
7+ RASPBIAN_IMAGE_FILE=$( basename $RASPBIAN_TORRENT_URL | sed -e " s/.xz.torrent//g" )
198EXTRA_IMAGE_SIZE=1850MB
20-
219MINIMAL_SPACE_LEFT=111111
2210
23- source lib.sh
24-
2511missing_deps=()
2612for prog in kpartx wget gpg parted qemu-arm-static aria2c jq curl; do
2713 if ! type $prog & > /dev/null ; then
You can’t perform that action at this time.
0 commit comments