summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 12:58:31 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitd32d4326784d4ed1b5658b3f89dcac090894b6cb (patch)
treed33669c18b0690f260264ffe1432b7ab1b656c86 /scripts
parenta6938bb129b8ea469d6d8676ebc71590584aa4fd (diff)
downloadvyos-live-build-d32d4326784d4ed1b5658b3f89dcac090894b6cb.tar.gz
vyos-live-build-d32d4326784d4ed1b5658b3f89dcac090894b6cb.zip
Omitting memtest in binary if chroot filesystem is set to none.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_memtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_memtest b/scripts/build/binary_memtest
index 5d21b2201..0bb346eff 100755
--- a/scripts/build/binary_memtest
+++ b/scripts/build/binary_memtest
@@ -24,7 +24,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LB_MEMTEST}" = "false" ] || [ "${LB_MEMTEST}" = "none" ]
+if [ "${LB_MEMTEST}" = "false" ] || [ "${LB_MEMTEST}" = "none" ] || [ "${LB_CHROOT_FILESYSTEM}" = "none" ]
then
exit 0
fi