summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-09-07 14:21:55 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:41 +0100
commit4908e9a90716c9c9d9eb1c5eb152f330d4827a95 (patch)
tree7d5d64285907516c8b2a8ab12373792b19d4f8ce
parent523899d26db1b586e07df736d6a9a2fb6111c625 (diff)
downloadlive-build-4908e9a90716c9c9d9eb1c5eb152f330d4827a95.zip
live-build-4908e9a90716c9c9d9eb1c5eb152f330d4827a95.tar.gz
Add "/.disk" metadata on usb-hdd images.
-rwxr-xr-xhelpers/lh_binary_disk11
1 files changed, 7 insertions, 4 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index 04db1ac..7cb707f 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -28,10 +28,13 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LH_BINARY_IMAGES}" != "iso" ]
-then
- exit 0
-fi
+case "${LH_BINARY_IMAGES}" in
+ iso|usb-hdd)
+ ;;
+ *)
+ exit 0
+ ;;
+esac
Echo_message "Begin installing disk information..."