summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:18:54 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:18:54 +0100
commitcfd2990dc3b0fd36ae066577d4464772b7a9a5c6 (patch)
tree1f7ec246f88078475975127e868541a058141b36 /helpers/lh_bootstrap_cdebootstrap
parent7918534bc5d2cfa4916830d5b8f69987a43838af (diff)
downloadvyos-live-build-cfd2990dc3b0fd36ae066577d4464772b7a9a5c6.tar.gz
vyos-live-build-cfd2990dc3b0fd36ae066577d4464772b7a9a5c6.zip
Allow LH_APT_SECURE to disable package cdebootstrap package authentication
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-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" ]