Using -wildcards option when calling mksquashfs with an excludes file.

This commit is contained in:
Daniel Baumann 2011-06-13 21:05:05 +02:00
parent f42443464a
commit 21dfadb622
1 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
then
cp config/binary_rootfs/excludes chroot/excludes
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -ef /excludes"
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef /excludes"
fi
# Create image
@ -425,7 +425,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
false)
if [ -e config/binary_rootfs/excludes ]
then
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -ef config/binary_rootfs/excludes"
MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef config/binary_rootfs/excludes"
fi
mksquashfs chroot binary/${INITFS}/filesystem.squashfs ${MKSQUASHFS_OPTIONS}