Skip to content

Commit 98741ba

Browse files
saiarcot895tiger_fu
authored and
tiger_fu
committed
Use the archive repo for Buster (sonic-net#18678)
Why I did it Buster is EOL, and the backports section has been removed from the main Debian repos. This also means that our default mirror (for non-snapshot builds) is also affected. Work item tracking Microsoft ADO (number only): 27691460 How I did it Change to using archive.debian.org directly for Buster. How to verify it
1 parent be7b5de commit 98741ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/build_mirror_config.sh

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ if [ "$ARCHITECTURE" == "armhf" ]; then
2525
DEFAULT_MIRROR_SECURITY_URLS=http://deb.debian.org/debian-security/
2626
fi
2727

28+
if [ "$DISTRIBUTION" == "buster" ]; then
29+
DEFAULT_MIRROR_URLS=http://archive.debian.org/debian/
30+
fi
31+
2832
if [ "$MIRROR_SNAPSHOT" == y ]; then
2933
if [ -f "$MIRROR_VERSION_FILE" ]; then
3034
DEBIAN_TIMESTAMP=$(grep "^debian==" $MIRROR_VERSION_FILE | tail -n 1 | sed 's/.*==//')

0 commit comments

Comments
 (0)