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 /scripts/build/lb_source_usb | |
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 'scripts/build/lb_source_usb')
-rwxr-xr-x | scripts/build/lb_source_usb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_source_usb b/scripts/build/lb_source_usb index 1ba7e44e6..6f2fde750 100755 --- a/scripts/build/lb_source_usb +++ b/scripts/build/lb_source_usb @@ -100,17 +100,17 @@ Losetup $FREELO source.img 1 case "${LB_BINARY_FILESYSTEM}" in ext2|ext3|ext4) MKFS="${LB_BINARY_FILESYSTEM}" - MKFS_OPTIONS="-L DEBIAN_LIVE -m 0" + MKFS_OPTIONS="-L ${LB_HDD_LABEL} -m 0" ;; fat16) MKFS="vfat" - MKFS_OPTIONS="-F 16 -n DEBIAN_LIVE" + MKFS_OPTIONS="-F 16 -n ${LB_HDD_LABEL}" ;; fat32) MKFS="vfat" - MKFS_OPTIONS="-F 32 -n DEBIAN_LIVE" + MKFS_OPTIONS="-F 32 -n ${LB_HDD_LABEL}" ;; esac |