summaryrefslogtreecommitdiff
path: root/scripts/build/lb_source_hdd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_source_hdd')
-rwxr-xr-xscripts/build/lb_source_hdd9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/lb_source_hdd b/scripts/build/lb_source_hdd
index 4b133ff9b..990f81c58 100755
--- a/scripts/build/lb_source_hdd
+++ b/scripts/build/lb_source_hdd
@@ -83,6 +83,10 @@ case "${LB_BINARY_FILESYSTEM}" in
PARTITION_TYPE="${LB_BINARY_FILESYSTEM}"
;;
+ ntfs)
+ PARTITION_TYPE="NTFS"
+ ;;
+
*)
Echo_error "Unsupported binary filesystem %s" "${LB_BINARY_FILESYSTEM}"
exit 1
@@ -112,6 +116,11 @@ case "${LB_BINARY_FILESYSTEM}" in
MKFS="vfat"
MKFS_OPTIONS="-F 32 -n ${LB_HDD_LABEL}"
;;
+
+ ntfs)
+ MKFS="ntfs"
+ MKFS_OPTIONS="-L ${LB_HDD_LABEL}"
+ ;;
esac
Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"