summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2025-08-19 17:00:46 +0100
committerSerge Schneider <serge@raspberrypi.com>2025-08-19 17:11:11 +0100
commitb434ecdf5d2330f1e4dc9f2912023dbbe47f3abd (patch)
tree949ce1e2b835c0f6091161fa9870b1dbfa7ad49f
parent5fe4c02bcf884fbb8fa994c7ec17a37658fb5a9b (diff)
stage0: Use Debian as base arm64 repo
-rwxr-xr-xstage0/00-configure-apt/00-run.sh4
-rw-r--r--stage0/00-configure-apt/files/debian.sources11
-rw-r--r--stage0/00-configure-apt/files/raspbian.sources6
3 files changed, 13 insertions, 8 deletions
diff --git a/stage0/00-configure-apt/00-run.sh b/stage0/00-configure-apt/00-run.sh
index 8e47893..f3e95b0 100755
--- a/stage0/00-configure-apt/00-run.sh
+++ b/stage0/00-configure-apt/00-run.sh
@@ -1,9 +1,9 @@
#!/bin/bash -e
true > "${ROOTFS_DIR}/etc/apt/sources.list"
-install -m 644 files/raspbian.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/"
+install -m 644 files/debian.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/"
install -m 644 files/raspi.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/"
-sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/raspbian.sources"
+sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/debian.sources"
sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/raspi.sources"
if [ -n "$APT_PROXY" ]; then
diff --git a/stage0/00-configure-apt/files/debian.sources b/stage0/00-configure-apt/files/debian.sources
new file mode 100644
index 0000000..cabf3b5
--- /dev/null
+++ b/stage0/00-configure-apt/files/debian.sources
@@ -0,0 +1,11 @@
+Types: deb
+URIs: http://deb.debian.org/debian/
+Suites: RELEASE RELEASE-updates
+Components: main contrib non-free non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp
+
+Types: deb
+URIs: http://deb.debian.org/debian-security/
+Suites: RELEASE-security
+Components: main contrib non-free non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp
diff --git a/stage0/00-configure-apt/files/raspbian.sources b/stage0/00-configure-apt/files/raspbian.sources
deleted file mode 100644
index 0f2e26f..0000000
--- a/stage0/00-configure-apt/files/raspbian.sources
+++ /dev/null
@@ -1,6 +0,0 @@
-Types: deb
-URIs: http://raspbian.raspberrypi.com/raspbian/
-Arch: armhf
-Suites: RELEASE
-Components: main contrib non-free rpi
-Signed-By: /usr/share/keyrings/raspbian-archive-keyring.gpg