projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Gah, puppet!
[mirror/dsa-puppet.git]
/
modules
/
schroot
/
files
/
schroot-setup.d
/
99porterbox-extra-sources
diff --git
a/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources
b/modules/schroot/files/schroot-setup.d/99porterbox-extra-sources
index
c87ecf4
..
e6e0f08
100755
(executable)
--- a/
modules/schroot/files/schroot-setup.d/99porterbox-extra-sources
+++ b/
modules/schroot/files/schroot-setup.d/99porterbox-extra-sources
@@
-37,6
+37,7
@@
if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then
SRCL="${CHROOT_PATH}/etc/apt/sources.list.d/auto.list"
rm -f "$SRCL"
mirror=${MIRROR:-http://ftp.debian.org/debian}
SRCL="${CHROOT_PATH}/etc/apt/sources.list.d/auto.list"
rm -f "$SRCL"
mirror=${MIRROR:-http://ftp.debian.org/debian}
+ debugmirror=${DEBUGMIRROR:-http://debug.mirrors.debian.org/debian-debug/}
case "$SUITE_ARCH" in
ppc64)
case "$SUITE_ARCH" in
ppc64)
@@
-68,6
+69,9
@@
if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then
experimental)
echo "deb $mirror sid main" >> "$SRCL"
echo "deb-src $mirror sid main" >> "$SRCL"
experimental)
echo "deb $mirror sid main" >> "$SRCL"
echo "deb-src $mirror sid main" >> "$SRCL"
+
+ echo "deb $debugmirror sid-debug main" >> "$SRCL"
+ echo "deb-src $debugmirror sid-debug main" >> "$SRCL"
;;
sid|stretch)
;;
;;
sid|stretch)
;;
@@
-76,13
+80,20
@@
if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then
echo "deb-src http://security.debian.org/ ${suite_alias}/updates main" >> "$SRCL"
;;
esac
echo "deb-src http://security.debian.org/ ${suite_alias}/updates main" >> "$SRCL"
;;
esac
+ case "${SUITE_BASE:-}" in
+ experimental|sid|stretch)
+ echo "deb $debugmirror ${suite_alias}-debug main" >> "$SRCL"
+ echo "deb-src $debugmirror ${suite_alias}-debug main" >> "$SRCL"
+ ;;
+ esac
+
echo "deb $mirror ${suite_alias} main" >> "$SRCL"
echo "deb-src $mirror ${suite_alias} main" >> "$SRCL"
case "${SUITE_VARIANT:-}" in
backports)
echo "deb $mirror ${suite_alias} main" >> "$SRCL"
echo "deb-src $mirror ${suite_alias} main" >> "$SRCL"
case "${SUITE_VARIANT:-}" in
backports)
- echo "deb $mirror ${
suite_alias
}-${SUITE_VARIANT} main" >> "$SRCL"
- echo "deb-src $mirror ${
suite_alias
}-${SUITE_VARIANT} main" >> "$SRCL"
+ echo "deb $mirror ${
SUITE_BASE
}-${SUITE_VARIANT} main" >> "$SRCL"
+ echo "deb-src $mirror ${
SUITE_BASE
}-${SUITE_VARIANT} main" >> "$SRCL"
;;
esac
;;
;;
esac
;;