Allow LH_APT_SECURE to disable package cdebootstrap package authentication
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
7918534bc5
commit
cfd2990dc3
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue