summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-27 11:06:16 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-27 11:06:19 +0100
commita0218fcc318d65ffb85d26e454213328fca261bc (patch)
treeb37e1edd2ae56b5e1c0140032f5b62c6b31a5b8b /bin/schroot-create.sh
parent80c4803631fff6b66c6a82f1caddb1e786e773ef (diff)
downloadjenkins.debian.net-a0218fcc318d65ffb85d26e454213328fca261bc.tar.xz
to bootstrap experimental, first bootstrap sid and then add experimental sources
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 6b767750..604c3f73 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -24,6 +24,13 @@ shift
DISTRO="$1"
shift
+if [ "$DISTRO" == "experimental" ] ; then
+ # experimental cannot be bootstrapped
+ DISTRO=sid
+ EXTRA_PACKAGES="deb $MIRROR experimental main"
+ EXTRA_SOURCES="deb-src $MIRROR experimental main"
+fi
+
if [ "$1" == "backports" ] ; then
EXTRA_PACKAGES="deb $MIRROR ${DISTRO}-backports main"
EXTRA_SOURCES="deb-src $MIRROR ${DISTRO}-backports main"