summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:22:57 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commit4d748e582c9a6a843a6d5a9c51581d0085f58dc6 (patch)
treea85b56f39032caf558239ec21bcb3b756fac19d2 /helpers/lh_binary_debian-installer
parent4950924195bff535f80f7ea1a6b2aa4dd7196d1a (diff)
downloadvyos-live-build-4d748e582c9a6a843a6d5a9c51581d0085f58dc6.tar.gz
vyos-live-build-4d748e582c9a6a843a6d5a9c51581d0085f58dc6.zip
Set correct d-i image type on usb-hdd and tar image types
Diffstat (limited to 'helpers/lh_binary_debian-installer')
-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
;;