diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-02-20 08:25:26 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-05 11:39:57 +0000 |
commit | 3840ac200507d60be1278d4149882bee88261699 (patch) | |
tree | 188a34a00dd464b1975b75c637baf906ce839f77 /scripts/build/binary_memtest | |
parent | fcafaede192e150daaf61591aef57edf3c2983fc (diff) | |
download | vyos-live-build-3840ac200507d60be1278d4149882bee88261699.tar.gz vyos-live-build-3840ac200507d60be1278d4149882bee88261699.zip |
memtest: better handle obsolete LB_MEMTEST value
available values currently are memtest86+|memtest86|none; "false" is
presumably handled for backwards compatibility
there is no need to handle this in individual scripts. the right place
to handle it is in Set_Defaults as now done
Gbp-Dch: Short
Closes: #952866
Diffstat (limited to 'scripts/build/binary_memtest')
-rwxr-xr-x | scripts/build/binary_memtest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_memtest b/scripts/build/binary_memtest index 96fb4f101..7c9864e65 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" ] || [ "${LB_CHROOT_FILESYSTEM}" = "none" ] +if [ "${LB_MEMTEST}" = "none" ] || [ "${LB_CHROOT_FILESYSTEM}" = "none" ] then exit 0 fi |