diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-14 17:18:54 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:34 +0100 |
commit | 991139e0f6a1a4ee48c78ecbc6268fac39d33ad0 (patch) | |
tree | 1f7ec246f88078475975127e868541a058141b36 /helpers/lh_bootstrap_cdebootstrap | |
parent | 25ad66e62d7dbef9d2c99a4de1ad65a2de55eccf (diff) | |
download | live-build-991139e0f6a1a4ee48c78ecbc6268fac39d33ad0.zip live-build-991139e0f6a1a4ee48c78ecbc6268fac39d33ad0.tar.gz |
Allow LH_APT_SECURE to disable package cdebootstrap package authentication
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_cdebootstrap | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap index 0297dfc..2d04aed 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" ] |