mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1694785 - Add debian-debug archive to apt sources in docker images. r=firefox-build-system-reviewers,sheehan,mhentges
We're going to need them for -dbgsym packages shortly. Differential Revision: https://phabricator.services.mozilla.com/D106401
This commit is contained in:
parent
8768860a67
commit
318c279fe0
@ -12,12 +12,18 @@ COPY setup_packages.sh /usr/local/sbin/
|
|||||||
# %ARG DIST
|
# %ARG DIST
|
||||||
# %ARG SNAPSHOT
|
# %ARG SNAPSHOT
|
||||||
# Set apt sources list to a snapshot.
|
# Set apt sources list to a snapshot.
|
||||||
RUN for s in debian_$DIST debian_$DIST-updates debian_$DIST-backports debian-security_$DIST/updates; do \
|
RUN for s in debian_$DIST debian_$DIST-updates debian_$DIST-backports debian-security_$DIST/updates debian-debug_$DIST-debug debian-debug_$DIST-proposed-updates-debug debian-debug_$DIST-backports-debug; do \
|
||||||
if [ $s = "debian_jessie-backports" ]; then \
|
case "$s" in \
|
||||||
|
debian_jessie-backports) \
|
||||||
echo "deb http://snapshot.debian.org/archive/debian-archive/20190328T105444Z/debian/ ${s#*_} main"; \
|
echo "deb http://snapshot.debian.org/archive/debian-archive/20190328T105444Z/debian/ ${s#*_} main"; \
|
||||||
else \
|
;; \
|
||||||
|
debian-debug_jessie*) \
|
||||||
|
: No debian-debug archive for Jessie; \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
echo "deb http://snapshot.debian.org/archive/${s%_*}/$SNAPSHOT/ ${s#*_} main"; \
|
echo "deb http://snapshot.debian.org/archive/${s%_*}/$SNAPSHOT/ ${s#*_} main"; \
|
||||||
fi; \
|
;; \
|
||||||
|
esac; \
|
||||||
done > /etc/apt/sources.list && \
|
done > /etc/apt/sources.list && \
|
||||||
( echo 'quiet "true";'; \
|
( echo 'quiet "true";'; \
|
||||||
echo 'APT::Get::Assume-Yes "true";'; \
|
echo 'APT::Get::Assume-Yes "true";'; \
|
||||||
|
Loading…
Reference in New Issue
Block a user