summaryrefslogtreecommitdiff
path: root/scripts/build/lb_source_debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-18 22:27:30 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-18 22:30:15 +0200
commit2d94f79d0acc5405bf5e8ce9c580dda1c6e91287 (patch)
tree8fa1352be23ba1e0c0ff736a460c3bc8ae0bf8b2 /scripts/build/lb_source_debian
parent44fd76f5a0f08493c43fa82316e1591709dc76f5 (diff)
downloadvyos-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_debian')
-rwxr-xr-xscripts/build/lb_source_debian19
1 files changed, 18 insertions, 1 deletions
diff --git a/scripts/build/lb_source_debian b/scripts/build/lb_source_debian
index eb4b11ed8..dcde7a477 100755
--- a/scripts/build/lb_source_debian
+++ b/scripts/build/lb_source_debian
@@ -55,13 +55,30 @@ Chroot chroot "dpkg --get-selections" | awk '{ print $1 }' > source-selection.tx
cat >> source-selection.txt << EOF
${LB_BOOTLOADER}
live-build
-dosfstools
genisoimage
parted
squashfs-tools
mtd-tools
EOF
+case "${LB_BINARY_FILESYSTEM}" in
+ fat*)
+ echo "dosfstools" >> source-selection.txt
+ ;;
+
+ ntfs)
+ case "${LB_DISTRIBUTION}" in
+ squeeze)
+ echo "ntfsprogs" >> source-selection.txt
+ ;;
+
+ *)
+ echo "ntfs-3g" >> source-selection.txt
+ ;;
+ esac
+ ;;
+esac
+
case "${LB_ARCHITECTURES}" in
amd64|i386)