summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_usb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_binary_usb')
-rwxr-xr-xscripts/build/lb_binary_usb6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_binary_usb b/scripts/build/lb_binary_usb
index 228827dd0..ad03caa51 100755
--- a/scripts/build/lb_binary_usb
+++ b/scripts/build/lb_binary_usb
@@ -172,17 +172,17 @@ Losetup $FREELO chroot/binary.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