Install ca-certificates in the buildd chroots
[mirror/dsa-puppet.git] / modules / schroot / files / setup-dchroot
index 99f0919..1040212 100755 (executable)
@@ -386,10 +386,10 @@ chroot "$rootdir" apt-get install -y --no-install-recommends build-essential
 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