summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-20 10:17:38 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:40 +0100
commite86a27449ac3410aad6df15093cb4d41e701266f (patch)
tree4b59fc91971dd0f10335271e833f714e78158f7d /functions
parenta12a4b71fbb63126045cdc89781c0b8e2cbddbb0 (diff)
downloadlive-build-e86a27449ac3410aad6df15093cb4d41e701266f.zip
live-build-e86a27449ac3410aad6df15093cb4d41e701266f.tar.gz
Install loop-aes-utils if we are using encryption.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3a3b423..9c4d2d3 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -437,6 +437,10 @@ Set_defaults ()
# Setting packages string
# LH_PACKAGES
+ if [ -z "${LH_PACKAGES}" ] && [ "${LH_ENCRYPTION}" != "disabled" ]
+ then
+ LH_PACKAGES="loop-aes-utils"
+ fi
# Setting packages list string
LH_PACKAGES_LISTS="${LH_PACKAGES_LISTS:-standard}"