summaryrefslogtreecommitdiff
path: root/scripts/build/lb_source_debian
diff options
context:
space:
mode:
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)