From b9e695f8f7a1472c87a3661412a39ec7802c33e1 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Wed, 13 Nov 2024 13:40:32 -0500 Subject: [PATCH] fix: stx-pkgbuilder failed to build due to snapshot.debian.org 503 Upversion from debootstrap_1.0.126+nmu1_all.deb to debootstrap_1.0.128+nmu2+deb12u1_all.deb. The new version is part of snapshot.debian.org/archive/debian/20211128T160803Z And mirror.starlingx.windriver.com has a mirror of that snapshot. This in turn allows the stx-pkgbuilder container to pull debootstrap from either of two sources. Closes-Bug: 1996940 Change-Id: Ifc5b5d1a4197df8cc9bcae0e1e55c36dcf51173c Signed-off-by: Scott Little --- stx/dockerfiles/stx-pkgbuilder.Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stx/dockerfiles/stx-pkgbuilder.Dockerfile b/stx/dockerfiles/stx-pkgbuilder.Dockerfile index 116a9e377..edc3828eb 100644 --- a/stx/dockerfiles/stx-pkgbuilder.Dockerfile +++ b/stx/dockerfiles/stx-pkgbuilder.Dockerfile @@ -52,9 +52,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ # workaround for docker debootstrap bug # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968927 RUN cd /tmp && \ - wget \ - http://snapshot.debian.org/archive/debian/20211128T160803Z/pool/main/d/debootstrap/debootstrap_1.0.126%2Bnmu1_all.deb && \ - dpkg -i debootstrap_1.0.126+nmu1_all.deb + ( \ + wget https://mirror.starlingx.windriver.com/mirror/debian/debian/snapshot.debian.org/archive/debian/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2%2Bdeb12u1_all.deb || \ + wget http://snapshot.debian.org/archive/debian/20220331T000000Z/pool/main/d/debootstrap/debootstrap_1.0.128%2Bnmu2$2Bdeb12u1_all.deb \ + ) && \ + dpkg -i debootstrap_1.0.128+nmu2+deb12u1_all.deb RUN groupadd crontab COPY stx/toCOPY/pkgbuilder/app.py /opt/