diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-09-07 14:21:55 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:41 +0100 |
commit | 4908e9a90716c9c9d9eb1c5eb152f330d4827a95 (patch) | |
tree | 7d5d64285907516c8b2a8ab12373792b19d4f8ce /helpers/lh_binary_disk | |
parent | 523899d26db1b586e07df736d6a9a2fb6111c625 (diff) | |
download | live-build-4908e9a90716c9c9d9eb1c5eb152f330d4827a95.zip live-build-4908e9a90716c9c9d9eb1c5eb152f330d4827a95.tar.gz |
Add "/.disk" metadata on usb-hdd images.
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-x | helpers/lh_binary_disk | 11 |
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..." |