diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2023-09-08 11:39:51 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2023-09-25 15:04:19 +0100 |
| commit | 188c155717b68dbd5704f337fd3b2cbd1b80d966 (patch) | |
| tree | 2dc8352c3e34e77c9d294af27b7421aa5bf2a29f | |
| parent | 64b498b2dd458937cfc930d557513ff36db4dd23 (diff) | |
Migrate to raspberrypi.com
| -rw-r--r-- | stage0/00-configure-apt/files/raspi.list | 4 | ||||
| -rw-r--r-- | stage0/00-configure-apt/files/sources.list | 4 | ||||
| -rwxr-xr-x | stage0/prerun.sh | 2 | ||||
| -rwxr-xr-x | stage4/03-bookshelf/00-run.sh | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/stage0/00-configure-apt/files/raspi.list b/stage0/00-configure-apt/files/raspi.list index 41c5a70..5f889b1 100644 --- a/stage0/00-configure-apt/files/raspi.list +++ b/stage0/00-configure-apt/files/raspi.list @@ -1,3 +1,3 @@ -deb http://archive.raspberrypi.org/debian/ RELEASE main +deb http://archive.raspberrypi.com/debian/ RELEASE main # Uncomment line below then 'apt-get update' to enable 'apt-get source' -#deb-src http://archive.raspberrypi.org/debian/ RELEASE main +#deb-src http://archive.raspberrypi.com/debian/ RELEASE main diff --git a/stage0/00-configure-apt/files/sources.list b/stage0/00-configure-apt/files/sources.list index 4a5dd8a..cd339c5 100644 --- a/stage0/00-configure-apt/files/sources.list +++ b/stage0/00-configure-apt/files/sources.list @@ -1,3 +1,3 @@ -deb http://raspbian.raspberrypi.org/raspbian/ RELEASE main contrib non-free rpi +deb http://raspbian.raspberrypi.com/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-src http://raspbian.raspberrypi.com/raspbian/ RELEASE main contrib non-free rpi diff --git a/stage0/prerun.sh b/stage0/prerun.sh index c8e51a4..0252071 100755 --- a/stage0/prerun.sh +++ b/stage0/prerun.sh @@ -6,5 +6,5 @@ if [ "$RELEASE" != "bookworm" ]; then fi if [ ! -d "${ROOTFS_DIR}" ] || [ "${USE_QCOW2}" = "1" ]; then - bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.org/raspbian/ + bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.com/raspbian/ fi diff --git a/stage4/03-bookshelf/00-run.sh b/stage4/03-bookshelf/00-run.sh index 8244568..5bf017b 100755 --- a/stage4/03-bookshelf/00-run.sh +++ b/stage4/03-bookshelf/00-run.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -BOOKSHELF_URL="https://magpi.raspberrypi.org/bookshelf.xml" +BOOKSHELF_URL="https://magpi.raspberrypi.com/bookshelf.xml" GUIDE_URL="$(curl -s "$BOOKSHELF_URL" | awk -F '[<>]' "/<TITLE>Raspberry Pi Beginner's Guide 4th Edition<\/TITLE>/ {f=1; next} f==1 && /PDF/ {print \$3; exit}")" OUTPUT="$(basename "$GUIDE_URL" | cut -f1 -d'?')" |
