summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
commitae5c245c5d0b910b9fde27f99668c46f64f9bcc2 (patch)
tree3bc1bcdbff4ec3bd5a82ae34d9efed47b157e3e0 /helpers/lh_binary_memtest
parentb88a20b5ddd2c64c9b1f072905dce8eb9e09fc0d (diff)
downloadvyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.tar.gz
vyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.zip
Adding live-helper 1.0~a17-1.
Diffstat (limited to 'helpers/lh_binary_memtest')
-rwxr-xr-xhelpers/lh_binary_memtest20
1 files changed, 18 insertions, 2 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest
index 329f566e6..2d413fdc1 100755
--- a/helpers/lh_binary_memtest
+++ b/helpers/lh_binary_memtest
@@ -74,7 +74,15 @@ Install_package
# Setting destination directory
case "${LIVE_BINARY_IMAGES}" in
iso)
- DESTDIR="binary/live"
+ case "${LH_INITRAMFS}" in
+ casper)
+ DESTDIR="binary/casper"
+ ;;
+
+ live-initramfs)
+ DESTDIR="binary/live"
+ ;;
+ esac
;;
net)
@@ -82,7 +90,15 @@ case "${LIVE_BINARY_IMAGES}" in
;;
tar|usb-hdd)
- DESTDIR="binary/live"
+ case "${LH_INITRAMFS}" in
+ casper)
+ DESTDIR="binary/casper"
+ ;;
+
+ live-initramfs)
+ DESTDIR="binary/live"
+ ;;
+ esac
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names
if [ "${LIVE_DISTRIBUTION}" = "etch" ] && [ "${LIVE_BOOTLOADER}" = "syslinux" ]