From 4908e9a90716c9c9d9eb1c5eb152f330d4827a95 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 7 Sep 2008 14:21:55 +0100 Subject: Add "/.disk" metadata on usb-hdd images. --- helpers/lh_binary_disk | 11 +++++++---- 1 file 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..." -- cgit v1.0