From b434ecdf5d2330f1e4dc9f2912023dbbe47f3abd Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 17:00:46 +0100 Subject: [PATCH] stage0: Use Debian as base arm64 repo --- stage0/00-configure-apt/00-run.sh | 4 ++-- stage0/00-configure-apt/files/debian.sources | 11 +++++++++++ stage0/00-configure-apt/files/raspbian.sources | 6 ------ 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 stage0/00-configure-apt/files/debian.sources delete mode 100644 stage0/00-configure-apt/files/raspbian.sources 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