opencomputeproject / onie

Open Network Install Environment
https://opencomputeproject.github.io/onie
Other
606 stars 376 forks source link

ONIE build env should support archive.debian.org #1051

Closed nrf53 closed 6 months ago

nrf53 commented 9 months ago

Due to following change, Dockerfile should be changed. https://lists.debian.org/debian-devel-announce/2023/03/msg00006.html

Add below before apt-get commands.

RUN sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
    sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
    sed -i '/stretch-updates/d' /etc/apt/sources.list

https://github.com/opencomputeproject/onie/blob/master/contrib/build-env/Dockerfile

ehdoyle commented 6 months ago

Could you provide an example of the platform where this is impacting build, and what the failure is? Also, DUE addressed a Debian 9 archive change a while back, so the latest version may solve your problem. https://github.com/CumulusNetworks/DUE/blob/master/image-patches/debian/9/filesystem/etc/apt/patch-sources.list

ehdoyle commented 6 months ago

Moving to close out. Feel free to reopen if this is still an issue. Thanks.