[Build][201911] Fix the stretch/jessie mirror removed issue (#15083)
[Build] Fix the stretch/jessie mirror removed issue.
This commit is contained in:
parent
9d8c082415
commit
7aeb5d46ce
@ -81,9 +81,9 @@ if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
|
|||||||
# qemu arm bin executable for cross-building
|
# qemu arm bin executable for cross-building
|
||||||
sudo mkdir -p $FILESYSTEM_ROOT/usr/bin
|
sudo mkdir -p $FILESYSTEM_ROOT/usr/bin
|
||||||
sudo cp /usr/bin/qemu*static $FILESYSTEM_ROOT/usr/bin || true
|
sudo cp /usr/bin/qemu*static $FILESYSTEM_ROOT/usr/bin || true
|
||||||
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://deb.debian.org/debian
|
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z
|
||||||
else
|
else
|
||||||
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://debian-archive.trafficmanager.net/debian
|
sudo http_proxy=$http_proxy debootstrap --variant=minbase --arch $CONFIGURED_ARCH stretch $FILESYSTEM_ROOT http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Config hostname and hosts, otherwise 'sudo ...' will complain 'sudo: unable to resolve host ...'
|
## Config hostname and hosts, otherwise 'sudo ...' will complain 'sudo: unable to resolve host ...'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
## Debian mirror on Microsoft Azure
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
## Ref: http://debian-archive.trafficmanager.net/
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Debian mirror for ARM repo
|
## Debian mirror for ARM repo
|
||||||
|
|
||||||
# ARM repo
|
# ARM repo
|
||||||
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Debian mirror for ARM repo
|
## Debian mirror for ARM repo
|
||||||
|
|
||||||
# ARM repo
|
# ARM repo
|
||||||
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
## Debian mirror on Microsoft Azure
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
## Ref: http://debian-archive.trafficmanager.net/
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ jessie main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ jessie main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ jessie main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z jessie/updates main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ jessie/updates main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z jessie/updates main contrib non-free
|
||||||
|
@ -9,6 +9,10 @@ FROM {{ prefix }}debian:stretch
|
|||||||
|
|
||||||
MAINTAINER Pavel Shirshov
|
MAINTAINER Pavel Shirshov
|
||||||
|
|
||||||
|
# Configure the debian mirrors
|
||||||
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
||||||
|
|
||||||
## Remove retired jessie-updates repo
|
## Remove retired jessie-updates repo
|
||||||
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
|
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
|
||||||
|
|
||||||
|
4
dockers/docker-ptf/no-check-valid-until
Normal file
4
dockers/docker-ptf/no-check-valid-until
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Instruct apt-get to NOT check the "Valid Until" date in Release files
|
||||||
|
# Once the Debian team archives a repo, they stop updating this date
|
||||||
|
|
||||||
|
Acquire::Check-Valid-Until "false";
|
8
dockers/docker-ptf/sources.list.amd64
Normal file
8
dockers/docker-ptf/sources.list.amd64
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
## Debian mirror on Microsoft Azure
|
||||||
|
## Ref: http://debian-archive.trafficmanager.net/
|
||||||
|
|
||||||
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free
|
7
dockers/docker-ptf/sources.list.arm64
Normal file
7
dockers/docker-ptf/sources.list.arm64
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
## Debian mirror for ARM repo
|
||||||
|
|
||||||
|
# ARM repo
|
||||||
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
||||||
|
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
7
dockers/docker-ptf/sources.list.armhf
Normal file
7
dockers/docker-ptf/sources.list.armhf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
## Debian mirror for ARM repo
|
||||||
|
|
||||||
|
# ARM repo
|
||||||
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
|
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
||||||
|
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
@ -1,8 +1,8 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
## Debian mirror on Microsoft Azure
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
## Ref: http://debian-archive.trafficmanager.net/
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
## Debian mirror for ARM
|
## Debian mirror for ARM
|
||||||
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
||||||
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
## Debian mirror for ARM
|
## Debian mirror for ARM
|
||||||
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
||||||
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
|
deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main contrib non-free
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb [arch=arm64] https://download.docker.com/linux/debian stretch stable
|
deb [arch=arm64] https://download.docker.com/linux/debian stretch stable
|
||||||
deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main
|
deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free
|
||||||
deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free
|
deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free
|
||||||
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
||||||
deb [arch=armhf] https://download.docker.com/linux/debian stretch stable
|
deb [arch=armhf] https://download.docker.com/linux/debian stretch stable
|
||||||
deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main
|
deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main
|
||||||
|
|
||||||
|
@ -11,28 +11,28 @@ MAINTAINER gulv@microsoft.com
|
|||||||
|
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
||||||
|
|
||||||
RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
RUN echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=amd64] http://packages.trafficmanager.net/snapshot/debian-security/20230101T000243Z stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian stretch-backports main" >> /etc/apt/sources.list
|
echo "deb [arch=amd64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main" >> /etc/apt/sources.list
|
||||||
|
|
||||||
{%- if CONFIGURED_ARCH == "armhf" %}
|
{%- if CONFIGURED_ARCH == "armhf" %}
|
||||||
RUN echo "deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
|
RUN echo "deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo 'deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
|
echo 'deb [arch=armhf] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main' >> /etc/apt/sources.list
|
||||||
{%- elif CONFIGURED_ARCH == "arm64" %}
|
{%- elif CONFIGURED_ARCH == "arm64" %}
|
||||||
RUN echo "deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
|
RUN echo "deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" > /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo "deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
echo "deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
||||||
echo 'deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
|
echo 'deb [arch=arm64] http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/ stretch-backports main' >> /etc/apt/sources.list
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
## Make apt-get non-interactive
|
## Make apt-get non-interactive
|
||||||
|
@ -8,9 +8,9 @@ DERIVED_TARGETS = libhiredis0.14-dbgsym_$(HIREDIS_VERSION_FULL)_$(CONFIGURED_ARC
|
|||||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||||
rm -rf hiredis-$(HIREDIS_VERSION)
|
rm -rf hiredis-$(HIREDIS_VERSION)
|
||||||
|
|
||||||
wget -O hiredis_$(HIREDIS_VERSION).orig.tar.gz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION).orig.tar.gz
|
wget -O hiredis_$(HIREDIS_VERSION).orig.tar.gz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION).orig.tar.gz
|
||||||
wget -O hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz
|
wget -O hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz
|
||||||
wget -O hiredis_$(HIREDIS_VERSION_FULL).dsc http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
|
wget -O hiredis_$(HIREDIS_VERSION_FULL).dsc http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
|
||||||
|
|
||||||
dpkg-source -x hiredis_$(HIREDIS_VERSION_FULL).dsc
|
dpkg-source -x hiredis_$(HIREDIS_VERSION_FULL).dsc
|
||||||
pushd hiredis-$(HIREDIS_VERSION)
|
pushd hiredis-$(HIREDIS_VERSION)
|
||||||
|
@ -8,7 +8,7 @@ DERIVED_TARGETS = libip4tc0_$(IPTABLES_VERSION_FULL)_amd64.deb \
|
|||||||
libiptc0_$(IPTABLES_VERSION_FULL)_amd64.deb \
|
libiptc0_$(IPTABLES_VERSION_FULL)_amd64.deb \
|
||||||
libxtables12_$(IPTABLES_VERSION_FULL)_amd64.deb
|
libxtables12_$(IPTABLES_VERSION_FULL)_amd64.deb
|
||||||
|
|
||||||
IPTABLES_URL = http://deb.debian.org/debian/pool/main/i/iptables
|
IPTABLES_URL = http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/i/iptables
|
||||||
|
|
||||||
DSC_FILE = iptables_$(IPTABLES_VERSION_FULL).dsc
|
DSC_FILE = iptables_$(IPTABLES_VERSION_FULL).dsc
|
||||||
ORIG_FILE = iptables_$(IPTABLES_VERSION).orig.tar.bz2
|
ORIG_FILE = iptables_$(IPTABLES_VERSION).orig.tar.bz2
|
||||||
|
@ -10,8 +10,8 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
|||||||
rm -rf ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
|
rm -rf ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
|
||||||
|
|
||||||
# Get makedumpfile release
|
# Get makedumpfile release
|
||||||
wget http://deb.debian.org/debian/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz
|
wget http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz
|
||||||
wget http://deb.debian.org/debian/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz
|
wget http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/makedumpfile/makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz
|
||||||
tar -f makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz -x
|
tar -f makedumpfile_$(KDUMP_TOOLS_VERSION_BASE).orig.tar.gz -x
|
||||||
pushd ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
|
pushd ./makedumpfile-$(KDUMP_TOOLS_VERSION_BASE)
|
||||||
tar -f ../makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz -x
|
tar -f ../makedumpfile_$(KDUMP_TOOLS_VERSION).debian.tar.xz -x
|
||||||
|
@ -5,7 +5,7 @@ SHELL = /bin/bash
|
|||||||
MAIN_TARGET = $(LLDPD)
|
MAIN_TARGET = $(LLDPD)
|
||||||
DERIVED_TARGETS = $(LIBLLDPCTL) $(LLDPD_DBG)
|
DERIVED_TARGETS = $(LIBLLDPCTL) $(LLDPD_DBG)
|
||||||
|
|
||||||
LLDP_URL = http://ftp.debian.org/debian/pool/main/l/lldpd
|
LLDP_URL = http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/l/lldpd
|
||||||
|
|
||||||
DSC_FILE = lldpd_$(LLDPD_VERSION_FULL).dsc
|
DSC_FILE = lldpd_$(LLDPD_VERSION_FULL).dsc
|
||||||
ORIG_FILE = lldpd_$(LLDPD_VERSION).orig.tar.gz
|
ORIG_FILE = lldpd_$(LLDPD_VERSION).orig.tar.gz
|
||||||
|
@ -13,7 +13,7 @@ DERIVED_TARGETS = fancontrol_$(LM_SENSORS_VERSION_FULL)_all.deb \
|
|||||||
|
|
||||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||||
rm -rf lm-sensors-$(LM_SENSORS_VERSION)
|
rm -rf lm-sensors-$(LM_SENSORS_VERSION)
|
||||||
dget -u http://deb.debian.org/debian/pool/main/l/lm-sensors/lm-sensors_$(LM_SENSORS_VERSION_FULL).dsc
|
dget -u http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/l/lm-sensors/lm-sensors_$(LM_SENSORS_VERSION_FULL).dsc
|
||||||
git apply *.patch
|
git apply *.patch
|
||||||
pushd lm-sensors-$(LM_SENSORS_VERSION)
|
pushd lm-sensors-$(LM_SENSORS_VERSION)
|
||||||
DEB_BUILD_OPTIONS=nocheck PROG_EXTRA=sensord dpkg-buildpackage -us -uc -b -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
|
DEB_BUILD_OPTIONS=nocheck PROG_EXTRA=sensord dpkg-buildpackage -us -uc -b -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
|
||||||
|
@ -8,9 +8,9 @@ DERIVED_TARGETS = libmpdec-dev_$(MPDECIMAL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
|||||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||||
rm -rf mpdecimal-$(MPDECIMAL_VERSION)
|
rm -rf mpdecimal-$(MPDECIMAL_VERSION)
|
||||||
|
|
||||||
wget -N -O mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
|
wget -N -O mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION).orig.tar.gz
|
||||||
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz
|
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).debian.tar.xz
|
||||||
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc http://http.debian.net/debian/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
|
wget -N -O mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/m/mpdecimal/mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
|
||||||
|
|
||||||
dpkg-source -x mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
|
dpkg-source -x mpdecimal_$(MPDECIMAL_VERSION_FULL).dsc
|
||||||
pushd mpdecimal-$(MPDECIMAL_VERSION)
|
pushd mpdecimal-$(MPDECIMAL_VERSION)
|
||||||
|
@ -15,9 +15,9 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
|||||||
mkdir redis_build
|
mkdir redis_build
|
||||||
pushd redis_build
|
pushd redis_build
|
||||||
|
|
||||||
wget -O redis_$(REDIS_VERSION).orig.tar.gz -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION).orig.tar.gz"
|
wget -O redis_$(REDIS_VERSION).orig.tar.gz -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION).orig.tar.gz"
|
||||||
wget -O redis_$(REDIS_VERSION_FULL).dsc -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).dsc"
|
wget -O redis_$(REDIS_VERSION_FULL).dsc -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).dsc"
|
||||||
wget -O redis_$(REDIS_VERSION_FULL).debian.tar.xz -N "http://http.debian.net/debian/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).debian.tar.xz"
|
wget -O redis_$(REDIS_VERSION_FULL).debian.tar.xz -N "http://packages.trafficmanager.net/snapshot/debian/20230101T000234Z/pool/main/r/redis/redis_$(REDIS_VERSION_FULL).debian.tar.xz"
|
||||||
dpkg-source -x redis_$(REDIS_VERSION_FULL).dsc
|
dpkg-source -x redis_$(REDIS_VERSION_FULL).dsc
|
||||||
|
|
||||||
pushd redis-$(REDIS_VERSION)
|
pushd redis-$(REDIS_VERSION)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 58a77faa32bf2d3b8db50e90e5a809983716a432
|
Subproject commit ca480619336e516a2e41d7c496adfaef8651e3cf
|
Loading…
Reference in New Issue
Block a user