summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 12:58:31 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-30 12:58:31 +0100
commitbd0ccc992b8798f97e3984d5f41019a8d6fa4ad6 (patch)
treeeaa31f64b70eb8ac96672bdf57ffb60c30da5abd /scripts
parent2ef5a2bfe1dec6ecdf0a163177459ef074f67f7c (diff)
downloadvyos-live-build-bd0ccc992b8798f97e3984d5f41019a8d6fa4ad6.tar.gz
vyos-live-build-bd0ccc992b8798f97e3984d5f41019a8d6fa4ad6.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 826a12e60..a3a7aa838 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