summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-20 10:17:38 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-08-20 10:17:38 +0100
commit8f0b9e37464f6434e4d11691ac5409ea7e1a7621 (patch)
tree918462cf9de2b959dcc775784cae2515cad810c0
parente090ac8ad51939e9bab393ec57e869487e9c3ae1 (diff)
downloadvyos-live-build-8f0b9e37464f6434e4d11691ac5409ea7e1a7621.tar.gz
vyos-live-build-8f0b9e37464f6434e4d11691ac5409ea7e1a7621.zip
Install loop-aes-utils if we are using encryption.tmp-lamby
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xfunctions/defaults.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3a3b4237c..9c4d2d34a 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}"