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. --- scripts/build/lb_source_usb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/lb_source_usb') 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 -- cgit v1.2.3