diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-14 17:22:57 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:35 +0100 |
commit | 4d748e582c9a6a843a6d5a9c51581d0085f58dc6 (patch) | |
tree | a85b56f39032caf558239ec21bcb3b756fac19d2 /helpers/lh_binary_debian-installer | |
parent | 4950924195bff535f80f7ea1a6b2aa4dd7196d1a (diff) | |
download | live-build-4d748e582c9a6a843a6d5a9c51581d0085f58dc6.zip live-build-4d748e582c9a6a843a6d5a9c51581d0085f58dc6.tar.gz |
Set correct d-i image type on usb-hdd and tar image types
Diffstat (limited to 'helpers/lh_binary_debian-installer')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 4c4c2b8..3e2bdcc 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 ;; |