[SCM] live-build branch, debian-next, updated. debian/3.0_a25-1-9-g57ab082
Daniel Baumann
daniel at debian.org
Tue Jul 19 08:11:43 UTC 2011
The following commit has been merged in the debian-next branch:
commit 57ab08226514e2270e423cce77accaff565d5a64
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Jul 19 10:13:10 2011 +0200
Using --no-check-gpg option when using debootstrap >= 1.0.30 and apt secure is disabled, thanks to Eugenio Paolantonio <me at medesimo.eu> (Closes: #633356).
diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap
index bcc0980..1b5f5fe 100755
--- a/scripts/build/lb_bootstrap_debootstrap
+++ b/scripts/build/lb_bootstrap_debootstrap
@@ -103,6 +103,13 @@ then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --verbose"
fi
+# If LB_APT_SECURE is false, do not check signatures of the Release file
+# (requires debootstrap >= 1.0.30)
+if [ "${LB_APT_SECURE}" = "false" ] && /usr/sbin/debootstrap --help | grep -qs '\-\-no-check-gpg'
+then
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --no-check-gpg"
+fi
+
if [ -x "/usr/sbin/debootstrap" ]
then
if [ "${LB_CACHE_PACKAGES}" = "true" ]
--
live-build
More information about the debian-live-changes
mailing list