Skip to content

Commit 259d94a

Browse files
committed
image / create_chroot - update buster image location, and add entry for bullseye.
Default to "buster" if no dist parameter is provided. Raspberry Pi OS bulleye based image is now out, and is the default image so we needed to update the URL for buster to the last archived version.
1 parent 68f8f28 commit 259d94a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scriptmodules/admin/image.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function depends_image() {
2222

2323
function create_chroot_image() {
2424
local dist="$1"
25-
[[ -z "$dist" ]] && dist="stretch"
25+
[[ -z "$dist" ]] && dist="buster"
2626

2727
local chroot="$2"
2828
[[ -z "$chroot" ]] && chroot="$md_build/chroot"
@@ -42,6 +42,9 @@ function create_chroot_image() {
4242
url="https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/2019-04-08-raspbian-stretch-lite.zip"
4343
;;
4444
buster)
45+
url="https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip"
46+
;;
47+
bullseye)
4548
url="https://downloads.raspberrypi.org/raspios_lite_armhf_latest"
4649
;;
4750
*)

0 commit comments

Comments
 (0)