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 FSTAB="/etc/schroot/dsa/fstab"
9 [ -e "$FSTAB" ] || FSTAB="/etc/schroot/default/fstab"
11 COPYFILES="/etc/schroot/dsa/copyfiles"
12 [ -e "$COPYFILES" ] || COPYFILES="/etc/schroot/default/copyfiles"
14 NSSDATABASES="/etc/schroot/dsa/nssdatabases"
15 [ -e "$NSSDATABASES" ] || NSSDATABASES="/etc/schroot/default/nssdatabases"
19 if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
20 case $CHROOT_DESCRIPTION in
22 chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
23 suitevariant_arch_tuple="${chroot_type%%-dchroot-*}"
24 suitevariant=${suitevariant_arch_tuple%_*}
25 SUITE_BASE=${suitevariant%-*}
26 SUITE_VARIANT=${suitevariant##*-}
29 chroot_type="$CHROOT_DESCRIPTION"; chroot_type="${chroot_type#\[}"; chroot_type="${chroot_type%%]*}"
30 SUITE_BASE="${chroot_type%%_*}"
33 if [ "$STAGE" = "setup-start" ]; then
34 echo >&2 "Unable to parse chroot description for what kind of chroot you want."
41 CHROOT_FILE_UNPACK_DIR=/srv/chroot/schroot-unpack
43 if [ -e /etc/schroot/dsa/default-mirror ]; then
44 MIRROR=$(cat /etc/schroot/dsa/default-mirror )
46 MIRROR=${MIRROR:-cdn.debian.net}
48 if [ "$(basename "$0")" = "00check" ] &&
49 [ "$CHROOT_TYPE" = "file" ] &&
50 [ "$STAGE" = "setup-start" ]; then
51 echo "Untarring chroot environment. This might take a minute or two."