if [ -n "$buildd" ] ; then
case "$suite" in
wheezy|jessie|stretch)
- chroot "$rootdir" apt-get install -y --no-install-recommends apt-transport-https
+ chroot "$rootdir" apt-get install -y --no-install-recommends apt-transport-https ca-certificates
;;
*)
- # Nothing to do, https support is part of the apt package
+ chroot "$rootdir" apt-get install -y --no-install-recommends ca-certificates
;;
esac
fi