summaryrefslogtreecommitdiff
path: root/stage0
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2020-02-20 18:43:05 +0000
committerSerge Schneider <serge@raspberrypi.com>2020-07-30 15:29:40 +0100
commit99399d30fc7c80553cf50899388ff8ecb278867d (patch)
tree56b64c41fc1aaae2133da613ac4a780686f2a562 /stage0
parent9a3a10bf1019ebb2d59053564dc6b90068bad27d (diff)
aarch64
Diffstat (limited to 'stage0')
-rwxr-xr-xstage0/00-configure-apt/00-run.sh1
-rw-r--r--stage0/00-configure-apt/files/sources.list10
-rwxr-xr-xstage0/prerun.sh2
3 files changed, 9 insertions, 4 deletions
diff --git a/stage0/00-configure-apt/00-run.sh b/stage0/00-configure-apt/00-run.sh
index d10a49f..651d154 100755
--- a/stage0/00-configure-apt/00-run.sh
+++ b/stage0/00-configure-apt/00-run.sh
@@ -14,6 +14,7 @@ fi
on_chroot apt-key add - < files/raspberrypi.gpg.key
on_chroot << EOF
+dpkg --add-architecture armhf
apt-get update
apt-get dist-upgrade -y
EOF
diff --git a/stage0/00-configure-apt/files/sources.list b/stage0/00-configure-apt/files/sources.list
index 4a5dd8a..0332f89 100644
--- a/stage0/00-configure-apt/files/sources.list
+++ b/stage0/00-configure-apt/files/sources.list
@@ -1,3 +1,7 @@
-deb http://raspbian.raspberrypi.org/raspbian/ RELEASE main contrib non-free rpi
-# Uncomment line below then 'apt-get update' to enable 'apt-get source'
-#deb-src http://raspbian.raspberrypi.org/raspbian/ RELEASE main contrib non-free rpi
+deb http://deb.debian.org/debian RELEASE main contrib non-free
+deb http://deb.debian.org/debian-security/ RELEASE/updates main contrib non-free
+deb http://deb.debian.org/debian RELEASE-updates main contrib non-free
+# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
+#deb-src http://deb.debian.org/debian RELEASE main contrib non-free
+#deb-src http://deb.debian.org/debian-security/ RELEASE/updates main contrib non-free
+#deb-src http://deb.debian.org/debian RELEASE-updates main contrib non-free
diff --git a/stage0/prerun.sh b/stage0/prerun.sh
index 3b25783..283ffd5 100755
--- a/stage0/prerun.sh
+++ b/stage0/prerun.sh
@@ -1,5 +1,5 @@
#!/bin/bash -e
if [ ! -d "${ROOTFS_DIR}" ]; then
- bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.org/raspbian/
+ bootstrap ${RELEASE} "${ROOTFS_DIR}" http://deb.debian.org/debian/
fi