fi
fi
+case "$suite" in
+ stretch|jessie|precise|trusty|xenial)
+ include="$include,apt-transport-https"
+ ;
+esac
+
set -x
debootstrap \
--keyring "$keyring" \
[ -z "$bare" ] && [ -z "$ubuntu" ] && chroot "$rootdir" apt-get install -y --no-install-recommends locales-all
chroot "$rootdir" apt-get install -y --no-install-recommends build-essential
[ -z "$bare" ] && chroot "$rootdir" apt-get install -y --no-install-recommends zsh less vim fakeroot devscripts gdb
-if [ -n "$buildd" ] ; then
- case "$suite" in
- wheezy|jessie|stretch)
- chroot "$rootdir" apt-get install -y --no-install-recommends apt-transport-https ca-certificates
- ;;
- *)
- chroot "$rootdir" apt-get install -y --no-install-recommends ca-certificates
- ;;
- esac
-fi
if [ -n "$ubuntu" ]; then
echo "deb $mirror ${suite}-updates main" >> "$rootdir/etc/apt/sources.list"
echo "deb $mirror ${suite}-security main" >> "$rootdir/etc/apt/sources.list"