1 # Settings for "dsa" profile.
4 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
5 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
8 if [ -e "$/etc/schroot/default/config" ]; then
9 . "$/etc/schroot/default/config"
11 FSTAB="/etc/schroot/default/fstab"
12 COPYFILES="/etc/schroot/default/copyfiles"
13 NSSDATABASES="/etc/schroot/default/nssdatabases"
18 if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
19 case $CHROOT_DESCRIPTION in
21 chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
22 suitevariant_arch_tuple="${chroot_type%%-dchroot-*}"
23 suitevariant=${suitevariant_arch_tuple%_*}
24 SUITE_BASE=${suitevariant%-*}
25 SUITE_VARIANT=${suitevariant##*-}
28 chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
29 SUITE_BASE="${chroot_type%%_*}"
32 if [ "$STAGE" = "setup-start" ]; then
33 echo >&2 "Unable to parse chroot description for what kind of chroot you want."
40 CHROOT_FILE_UNPACK_DIR=/srv/chroot/schroot-unpack
42 if [ -e /etc/schroot/dsa/default-mirror ]; then
43 MIRROR=$(cat /etc/schroot/dsa/default-mirror )
45 MIRROR=${MIRROR:-cdn.debian.net}
47 if [ "$(basename "$0")" = "00check" ] &&
48 [ "$CHROOT_TYPE" = "file" ] &&
49 [ "$STAGE" = "setup-start" ]; then
50 echo "Untarring chroot environment. This might take a minute or two."