Making some more debian source-selections conditional on certain image options.
This commit is contained in:
parent
48939b9ac9
commit
20d3ef51ba
scripts/build
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue