Package: pbuilder Version: 0.215+nmu3 Severity: wishlist Tags: patch pbuilder fails to detect MIRRORSITE if /etc/apt/sources.list includes only https entries.
Patch attached. regards, -mika-
>From 258f8010bd53e5bb4f1a76dd59be9c1e3b6cf3b8 Mon Sep 17 00:00:00 2001 From: Michael Prokop <m...@debian.org> Date: Tue, 30 Jun 2015 10:43:18 +0200 Subject: [PATCH] Support https-only sources.list setup for MIRRORSITE selection --- debian/pbuilder.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/pbuilder.config b/debian/pbuilder.config index 4d2fe4b..3250e60 100755 --- a/debian/pbuilder.config +++ b/debian/pbuilder.config @@ -61,7 +61,7 @@ EOF MIRRORSITE=$( ( [ -f /etc/apt/sources.list ] && cat /etc/apt/sources.list || true ; [ -f $SRCLISTDIR/*.sources.list ] && cat $SRCLISTDIR/*.sources.list || true ) \ - | grep -E '^deb[[:space:]]+(ftp|http):' | head -n 1 | awk '{print $2;}' + | grep -E '^deb[[:space:]]+(ftp|http|https):' | head -n 1 | awk '{print $2;}' ) while [ -z "$MIRRORSITE" ] ; do db_input high pbuilder/nomirror || true -- 2.1.4