Stop configuring the Raspberry OS repository.

With the merge of the pi-5-support branch in the debian-12 repository,
we're now including everything we need from the Raspberry OS repository,
via the pirogue-3rd-party part of our PPA.

This should give us peace of mind regarding further package updates.

Link: https://github.com/PiRogueToolSuite/pirogue-images/issues/2
Link: ef742a961f
This commit is contained in:
Cyril Brulebois 2024-08-19 03:24:31 +02:00
parent 18b57694d8
commit 3e629d21be
2 changed files with 0 additions and 19 deletions

View File

@ -54,25 +54,6 @@ toast_me() {
install -m 755 -o root -g root files/rpi-resizerootfs.script \
$MNT/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs
# Configure Raspberry Pi repository
cat > $MNT/etc/apt/sources.list.d/raspberrypi.list <<EOF
# Only some specific packages are installed from there (see pirogue.pref):
deb http://archive.raspberrypi.com/debian/ bookworm main
EOF
cat > $MNT/etc/apt/preferences.d/pirogue.pref <<EOF
# Make sure to only install specific packages from there (see raspberrypi.list):
Package: *
Pin: origin archive.raspberrypi.com
Pin-Priority: -1
Package: linux-image-* firmware-brcm80211
Pin: origin archive.raspberrypi.com
Pin-Priority: 500
EOF
cp files/raspberrypi-archive-stable.gpg $MNT/etc/apt/trusted.gpg.d
# Install required packages. The firmware-brcm80211 package ships some files
# already owned by raspi-firmware, hence the dpkg option.
chroot $MNT apt-get update