diff options
author | Daniel Baumann <daniel@debian.org> | 2012-07-18 22:27:30 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-07-18 22:30:15 +0200 |
commit | 2d94f79d0acc5405bf5e8ce9c580dda1c6e91287 (patch) | |
tree | 8fa1352be23ba1e0c0ff736a460c3bc8ae0bf8b2 /scripts/build/lb_source_hdd | |
parent | 44fd76f5a0f08493c43fa82316e1591709dc76f5 (diff) | |
download | vyos-live-build-2d94f79d0acc5405bf5e8ce9c580dda1c6e91287.tar.gz vyos-live-build-2d94f79d0acc5405bf5e8ce9c580dda1c6e91287.zip |
Adding support for ntfs as binary filesystem when using syslinux.
Diffstat (limited to 'scripts/build/lb_source_hdd')
-rwxr-xr-x | scripts/build/lb_source_hdd | 9 |
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}" |