From 21dfadb6225968fb960510f6fc04904f93b204b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 13 Jun 2011 21:05:05 +0200 Subject: Using -wildcards option when calling mksquashfs with an excludes file. --- scripts/build/lb_binary_rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs index 70a6dc7dc..754a7c25f 100755 --- a/scripts/build/lb_binary_rootfs +++ b/scripts/build/lb_binary_rootfs @@ -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} -- cgit v1.2.3