decommission petrova (RT#7978)
[mirror/dsa-puppet.git] / modules / schroot / files / schroot-setup.d / 99builddsourceslist
index d9dc92d..d96f711 100755 (executable)
@@ -140,13 +140,17 @@ if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then
             domirror "https://security-master.debian.org/debian-security ${SUITE_BASE}/updates COMPONENT" ${APT_LIST}
             domirror "https://security-master.debian.org/debian-security-buildd buildd-${SUITE_BASE}/updates COMPONENT" ${APT_LIST}
 
-        elif [ "${SUITE_VARIANT%%-sloppy}" = 'backports' ]; then
-            # Hack: for kfreebsd-* the base suite for jessie-backports and jessie-backports-sloppy is jessie-kfreebsd (and not jessie)
-            if echo "${CHROOT_ALIAS}" | grep -q 'kfreebsd-\w\+-sbuild$' ; then
-                SUITES="${SUITE_BASE}-kfreebsd"
-            else
-                SUITES="${SUITE_BASE}"
+            # Temporarily add stretch-proposed-updates for stretch-security chroots as requested
+            # by the security team to handle Thunderbird and Firefox ESR 60.x releases. This should
+            # be removed with the release of the 9.12 point release.
+            if [ ${SUITE_BASE} = "stretch" ] ; then
+                SUITES="${SUITE_BASE}-proposed-updates"
+                [ -n "${debian_mirror}" ] && domirror "${debian_mirror} SUITE COMPONENT" ${APT_LIST}
+                domirror "http://ftp.debian.org/debian SUITE COMPONENT" ${APT_LIST}
             fi
+
+        elif [ "${SUITE_VARIANT%%-sloppy}" = 'backports' ]; then
+            SUITES="${SUITE_BASE}"
             [ -n "${debian_mirror}" ] && domirror "${debian_mirror} SUITE COMPONENT" ${APT_LIST}
             domirror "http://ftp.debian.org/debian SUITE COMPONENT" ${APT_LIST}
             SUITES="${SUITE_BASE}"