summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:18:54 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:34 +0100
commit991139e0f6a1a4ee48c78ecbc6268fac39d33ad0 (patch)
tree1f7ec246f88078475975127e868541a058141b36 /helpers
parent25ad66e62d7dbef9d2c99a4de1ad65a2de55eccf (diff)
downloadvyos-live-build-991139e0f6a1a4ee48c78ecbc6268fac39d33ad0.tar.gz
vyos-live-build-991139e0f6a1a4ee48c78ecbc6268fac39d33ad0.zip
Allow LH_APT_SECURE to disable package cdebootstrap package authentication
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 0297dfc18..2d04aed65 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -119,6 +119,11 @@ then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
fi
+if [ "${LH_APT_SECURE}" = "disabled" ]
+then
+ CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --allow-unauthenticated"
+fi
+
if [ -x "/usr/bin/cdebootstrap" ]
then
if [ "${LH_CACHE_PACKAGES}" = "enabled" ]