diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/source_debian | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/scripts/build/source_debian b/scripts/build/source_debian index a8c0fb896..433a7befc 100755 --- a/scripts/build/source_debian +++ b/scripts/build/source_debian @@ -55,12 +55,24 @@ Chroot chroot "dpkg --get-selections" | awk '{ print $1 }' > source-selection.tx cat >> source-selection.txt << EOF ${LB_BOOTLOADER} live-build -xorriso -parted -squashfs-tools -mtd-tools EOF +case "${LB_BINARY_IMAGES}" in + iso*) + echo "xorriso" >> source-selection.txt + ;; + + hdd*) + echo "parted" >> source-selection.txt + ;; +esac + +case "${LB_CHROOT_FILESYSTEM}" in + squashfs) + echo "squashfs-tools" >> source-selection.txt + ;; +esac + case "${LB_BINARY_FILESYSTEM}" in fat*) echo "dosfstools" >> source-selection.txt |