diff options
author | Daniel Baumann <daniel@debian.org> | 2011-09-12 09:19:30 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-12 09:19:30 +0200 |
commit | bb718340e227fe25761fc52469664428323ea1a9 (patch) | |
tree | 8f2c38df057915326f3d117971ca743764b659cd /functions/defaults.sh | |
parent | 80fa0406d9dbc687b42df52361ca6339bc81e1bb (diff) | |
download | vyos-live-build-bb718340e227fe25761fc52469664428323ea1a9.tar.gz vyos-live-build-bb718340e227fe25761fc52469664428323ea1a9.zip |
Adding option for setting filesystem label on usb-hdd images.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 23 |
1 files changed, 23 insertions, 0 deletions
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) |