summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:22:57 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:22:57 +0100
commit6ada2b7bd46155b3a8325d35fe40ca24b0f5ead7 (patch)
treea85b56f39032caf558239ec21bcb3b756fac19d2
parent9690d108b206c6a7f1f86600a2c8c51839706dff (diff)
downloadvyos-live-build-6ada2b7bd46155b3a8325d35fe40ca24b0f5ead7.tar.gz
vyos-live-build-6ada2b7bd46155b3a8325d35fe40ca24b0f5ead7.zip
Set correct d-i image type on usb-hdd and tar image types
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xhelpers/lh_binary_debian-installer15
1 files changed, 8 insertions, 7 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 4c4c2b8dd..3e2bdcc97 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -92,18 +92,19 @@ case "${LH_BINARY_IMAGES}" in
;;
esac
-# Setting remote d-i directories
-case "${LH_BINARY_IMAGES}" in
- net)
+# Set d-i image type
+case "${LH_DEBIAN_INSTALLER}" in
+ businesscard|netboot|netinst)
DI_IMAGE_TYPE="netboot"
;;
*)
- case "${LH_DEBIAN_INSTALLER}" in
- businesscard|netboot)
- DI_IMAGE_TYPE="netboot"
+ case "${LH_BINARY_IMAGES}" in
+ iso)
+ DI_IMAGE_TYPE="cdrom"
;;
+
*)
- DI_IMAGE_TYPE="cdrom"
+ DI_IMAGE_TYPE="netboot"
;;
esac
;;