summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2021-10-04 15:40:35 +0100
committerSerge Schneider <serge@raspberrypi.com>2021-10-05 16:59:28 +0100
commitd9b4a4a985fe5a015c0a774c9c75f21a2491c0c3 (patch)
tree02fdb582a9d88d44555d237be048626d08630353
parenta8596e0d894315396d62d3546ce96cd1e7ceaf75 (diff)
Switch to bullseye
-rw-r--r--Dockerfile2
-rw-r--r--README.md2
-rwxr-xr-xbuild-docker.sh4
-rwxr-xr-xbuild.sh2
-rw-r--r--stage2/01-sys-tweaks/00-packages6
-rw-r--r--stage3/00-install-packages/00-packages1
-rw-r--r--stage4/00-install-packages/00-packages20
-rw-r--r--stage4/00-install-packages/01-packages44
-rw-r--r--stage5/00-install-extras/00-packages4
9 files changed, 40 insertions, 45 deletions
diff --git a/Dockerfile b/Dockerfile
index 837e430..e7fc561 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG BASE_IMAGE=debian:buster
+ARG BASE_IMAGE=debian:bullseye
FROM ${BASE_IMAGE}
ENV DEBIAN_FRONTEND noninteractive
diff --git a/README.md b/README.md
index 62938e9..b4b40bd 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ The following environment variables are supported:
that the network block device is not disconnected correctly after the Docker process has
ended abnormally. In that case see [Disconnect an image if something went wrong](#Disconnect-an-image-if-something-went-wrong)
-* `RELEASE` (Default: buster)
+* `RELEASE` (Default: bullseye)
The release version to build images against. Valid values are jessie, stretch
buster, bullseye, and testing.
diff --git a/build-docker.sh b/build-docker.sh
index 01fd517..85200e4 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -78,10 +78,10 @@ BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')"
# Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead
case "$(uname -m)" in
x86_64|aarch64)
- BASE_IMAGE=i386/debian:buster
+ BASE_IMAGE=i386/debian:bullseye
;;
*)
- BASE_IMAGE=debian:buster
+ BASE_IMAGE=debian:bullseye
;;
esac
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}"
diff --git a/build.sh b/build.sh
index f70c6fb..423d62e 100755
--- a/build.sh
+++ b/build.sh
@@ -207,7 +207,7 @@ export TARGET_HOSTNAME=${TARGET_HOSTNAME:-raspberrypi}
export FIRST_USER_NAME=${FIRST_USER_NAME:-pi}
export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry}
-export RELEASE=${RELEASE:-buster}
+export RELEASE=${RELEASE:-bullseye}
export WPA_ESSID
export WPA_PASSWORD
export WPA_COUNTRY
diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages
index a1f4b59..4af7c43 100644
--- a/stage2/01-sys-tweaks/00-packages
+++ b/stage2/01-sys-tweaks/00-packages
@@ -1,8 +1,7 @@
ssh less fbset sudo psmisc strace ed ncdu crda
console-setup keyboard-configuration debconf-utils parted unzip
-build-essential manpages-dev python bash-completion gdb pkg-config
-python-rpi.gpio v4l-utils
-python-gpiozero
+build-essential manpages-dev python3 bash-completion gdb pkg-config
+python3-rpi.gpio v4l-utils
python3-gpiozero
avahi-daemon
lua5.1
@@ -26,7 +25,6 @@ policykit-1
ssh-import-id
rng-tools
ethtool
-vl805fw
ntfs-3g
pciutils
rpi-eeprom
diff --git a/stage3/00-install-packages/00-packages b/stage3/00-install-packages/00-packages
index eac74ea..460aedd 100644
--- a/stage3/00-install-packages/00-packages
+++ b/stage3/00-install-packages/00-packages
@@ -3,7 +3,6 @@ qpdfview gtk2-engines alsa-utils
desktop-base
git
omxplayer
-raspberrypi-artwork
policykit-1
gvfs
rfkill
diff --git a/stage4/00-install-packages/00-packages b/stage4/00-install-packages/00-packages
index 85a9f80..e76d411 100644
--- a/stage4/00-install-packages/00-packages
+++ b/stage4/00-install-packages/00-packages
@@ -1,11 +1,11 @@
-python python3-pygame python-pygame python-tk
-python3 python3-tk thonny
+python3-pygame
+python3-tk thonny
python3-pgzero
-python-serial python3-serial
-python-picamera python3-picamera
+python3-serial
+python3-picamera
debian-reference-en dillo
raspberrypi-net-mods raspberrypi-ui-mods
-python-pip python3-pip
+python3-pip
python3-numpy
pypy
alacarte rc-gui sense-hat
@@ -13,11 +13,11 @@ tree
libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr
geany
piclone
-wiringpi pigpio python-pigpio python3-pigpio raspi-gpio python3-rpi.gpio
-python-spidev python3-spidev
-python-twython python3-twython
-python-smbus python3-smbus
-python-flask python3-flask
+pigpio python3-pigpio raspi-gpio python3-rpi.gpio
+python3-spidev
+python3-twython
+python3-smbus
+python3-flask
pprompt
piwiz
rp-prefapps
diff --git a/stage4/00-install-packages/01-packages b/stage4/00-install-packages/01-packages
index fdf5e73..5441d9d 100644
--- a/stage4/00-install-packages/01-packages
+++ b/stage4/00-install-packages/01-packages
@@ -1,22 +1,22 @@
-python-automationhat python3-automationhat
-python-blinkt python3-blinkt
-python-cap1xxx python3-cap1xxx
-python-drumhat python3-drumhat
-python-envirophat python3-envirophat
-python-explorerhat python3-explorerhat
-python-fourletterphat python3-fourletterphat
-python-microdotphat python3-microdotphat
-python-mote python3-mote
-python-motephat python3-motephat
-python-phatbeat python3-phatbeat
-python-pianohat python3-pianohat
-python-piglow python3-piglow
-python-rainbowhat python3-rainbowhat
-python-scrollphat python3-scrollphat
-python-scrollphathd python3-scrollphathd
-python-sn3218 python3-sn3218
-python-skywriter python3-skywriter
-python-touchphat python3-touchphat
-python-buttonshim python3-buttonshim
-python-unicornhathd python3-unicornhathd
-python-pantilthat python3-pantilthat
+python3-automationhat
+python3-blinkt
+python3-cap1xxx
+python3-drumhat
+python3-envirophat
+python3-explorerhat
+python3-fourletterphat
+python3-microdotphat
+python3-mote
+python3-motephat
+python3-phatbeat
+python3-pianohat
+python3-piglow
+python3-rainbowhat
+python3-scrollphat
+python3-scrollphathd
+python3-sn3218
+python3-skywriter
+python3-touchphat
+python3-buttonshim
+python3-unicornhathd
+python3-pantilthat
diff --git a/stage5/00-install-extras/00-packages b/stage5/00-install-extras/00-packages
index 38c5c8d..1b9d488 100644
--- a/stage5/00-install-extras/00-packages
+++ b/stage5/00-install-extras/00-packages
@@ -3,8 +3,7 @@ sonic-pi
scratch nuscratch scratch3
smartsim
-minecraft-pi python-minecraftpi python-picraft python3-picraft
-python-sense-emu sense-emu-tools python-sense-emu-doc
+python3-sense-emu sense-emu-tools python-sense-emu-doc
wolfram-engine
claws-mail
@@ -12,5 +11,4 @@ greenfoot-unbundled bluej
nodered
realvnc-vnc-viewer
-python-games
code-the-classics