diff options
author | Daniel Baumann <daniel@debian.org> | 2011-06-13 21:05:05 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-06-13 21:05:05 +0200 |
commit | 21dfadb6225968fb960510f6fc04904f93b204b1 (patch) | |
tree | d74ab032d05569243ea97316d6d4234a36a38eb6 /scripts | |
parent | f42443464abcd209a7a1f2aa6e475a7c8bd349cc (diff) | |
download | vyos-live-build-21dfadb6225968fb960510f6fc04904f93b204b1.tar.gz vyos-live-build-21dfadb6225968fb960510f6fc04904f93b204b1.zip |
Using -wildcards option when calling mksquashfs with an excludes file.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_binary_rootfs | 4 |
1 files 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} |