summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:52 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:52 +0200
commitdfd9c85cd99613c27f672da86a21cf48225cb840 (patch)
treee1cdc0adec3e4799f5db5ad1a8b34800e28a9439 /helpers/lh_binary_memtest
parent3de3c9914784e384c5747323bc18988601e137e6 (diff)
downloadvyos-live-build-dfd9c85cd99613c27f672da86a21cf48225cb840.tar.gz
vyos-live-build-dfd9c85cd99613c27f672da86a21cf48225cb840.zip
Adding live-helper 1.0~a8-1.
Diffstat (limited to 'helpers/lh_binary_memtest')
-rwxr-xr-xhelpers/lh_binary_memtest11
1 files changed, 8 insertions, 3 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest
index ea0742276..edf3830ed 100755
--- a/helpers/lh_binary_memtest
+++ b/helpers/lh_binary_memtest
@@ -25,10 +25,11 @@ Arguments "${@}"
Echo_debug "Init ${PROGRAM}"
# Reading configuration files
+Read_conffile config/common
Read_conffile config/bootstrap
Read_conffile config/chroot
-Read_conffile config/common
-Read_conffile config/image
+Read_conffile config/binary
+Read_conffile config/source
Set_defaults
if [ "${LIVE_MEMTEST}" = "disabled" ]
@@ -80,7 +81,7 @@ case "${LIVE_BINARY_IMAGE}" in
DESTDIR="tftpboot"
;;
- usb|hdd)
+ usb-hdd|hdd)
DESTDIR="binary"
;;
esac
@@ -92,6 +93,10 @@ then
if [ -n "${MULTIARCH}" ]
then
case "${LIVE_ARCHITECTURE}" in
+ amd64)
+ DESTDIR="${DESTDIR}.amd"
+ ;;
+
i386)
DESTDIR="${DESTDIR}.386"
;;