From 2e2f1ca490a9dec0cf975662769e8620c81c90ae Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Date: Wed, 22 Jan 2025 21:53:32 +0100
Subject: Removing automatic inclusion of apt-transport-https when using https
 in container-build scripts, not needed for buster and newer.

Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
---
 share/build-scripts/debconf     | 2 +-
 share/build-scripts/debootstrap | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'share/build-scripts')

diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf
index 9e28216..7bc8c06 100755
--- a/share/build-scripts/debconf
+++ b/share/build-scripts/debconf
@@ -378,7 +378,7 @@ Bootstrap ()
 	if ( echo "${MIRROR}" | grep -qs '^https' ) || \
 	   ( echo "${PARENT_MIRROR}" | grep -qs '^https' )
 	then
-		INCLUDE="${INCLUDE},apt-transport-https,ca-certificates"
+		INCLUDE="${INCLUDE},ca-certificates"
 	fi
 
 	case "${MODE}" in
diff --git a/share/build-scripts/debootstrap b/share/build-scripts/debootstrap
index 696c7b4..ccfc2c9 100755
--- a/share/build-scripts/debootstrap
+++ b/share/build-scripts/debootstrap
@@ -161,7 +161,7 @@ INCLUDE="dbus"
 
 case "${MIRROR}" in
 	https*)
-		INCLUDE="${INCLUDE},apt-transport-https,ca-certificates"
+		INCLUDE="${INCLUDE},ca-certificates"
 		;;
 esac
 
-- 
cgit v1.2.3