Install ca-certificates in the buildd chroots
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 13 Feb 2018 20:30:52 +0000 (21:30 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 13 Feb 2018 20:30:52 +0000 (21:30 +0100)
This is need in addition of apt-transport-https.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
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