[PATCH 1/1] switch debian snapshot mirror to snapshot.debian.org

3 views
Skip to first unread message

Felix Moessbauer

unread,
Jul 19, 2024, 7:34:27 AM (9 days ago) Jul 19
to isar-...@googlegroups.com, jan.k...@siemens.com, andre....@siemens.com, Felix Moessbauer
The cloudflare mirror is not updated since may 2024. By that, other
projects like reproducible-containers switched back to the "official"
snapshot.d.o mirror, after being informed by me.

Having an outdated upstream mirror poses the risk of being
"non-reproducible", just because the SDE is more recent than the latest
snapshot and once the mirror is updated, a more recent snapshot is taken
(due to the redirect-to-latest logic of the snapshot mirror).

This patch also switches the debian mirror to snapshot.debian.org to at
least use an official and maintained mirror. In case downstream users
run into rate-limiting issues, they still can switch to other mirrors.

Signed-off-by: Felix Moessbauer <felix.mo...@siemens.com>
---
References:

- snapshot-debian ML: https://lists.debian.org/debian-snapshot/2024/06/msg00014.html
- docker-library issue: https://github.com/docker-library/official-images/issues/16044#issuecomment-2238577223
- reproducible-containers issue: https://github.com/reproducible-containers/repro-sources-list.sh/issues/17

Best regards,
Felix Moessbauer

meta/conf/distro/debian-common.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/debian-common.conf b/meta/conf/distro/debian-common.conf
index 9b07efb5..d8556964 100644
--- a/meta/conf/distro/debian-common.conf
+++ b/meta/conf/distro/debian-common.conf
@@ -41,4 +41,4 @@ COMPAT_DISTRO_ARCH:amd64 = "i386"
COMPAT_DISTRO_ARCH:arm64 = "armhf"

# snapshot mirror for reproducible builds
-DISTRO_APT_SNAPSHOT_PREMIRROR ??= "deb.debian.org/(.*) snapshot-cloudflare.debian.org/archive/\1/${APT_SNAPSHOT_DATE}/\n"
\ No newline at end of file
+DISTRO_APT_SNAPSHOT_PREMIRROR ??= "deb.debian.org/(.*) snapshot.debian.org/archive/\1/${APT_SNAPSHOT_DATE}/\n"
--
2.39.2

Reply all
Reply to author
Forward
0 new messages