From bb718340e227fe25761fc52469664428323ea1a9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 12 Sep 2011 09:19:30 +0200 Subject: Adding option for setting filesystem label on usb-hdd images. --- functions/defaults.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 643123c89..f157091f4 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1010,6 +1010,29 @@ Set_defaults () ;; esac + # Setting hdd options + case "${LB_MODE}" in + debian) + LB_HDD_LABEL="${LB_HDD_LABEL:-DEBIAN_LIVE}" + ;; + + emdebian) + LB_HDD_LABEL="${LB_HDD_LABEL:-EMDEBIAN_LIVE}" + ;; + + progress) + LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr [a-z][A-Z])}" + ;; + + ubuntu) + LB_HDD_LABEL="${LB_HDD_LABEL:-UBUNTU}" + ;; + + kubuntu) + LB_HDD_LABEL="${LB_HDD_LABEL:-KUBUNTU}" + ;; + esac + # Setting iso volume case "${LB_MODE}" in debian) -- cgit v1.2.3