summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-06-13 21:05:05 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-13 21:05:05 +0200
commit21dfadb6225968fb960510f6fc04904f93b204b1 (patch)
treed74ab032d05569243ea97316d6d4234a36a38eb6 /scripts
parentf42443464abcd209a7a1f2aa6e475a7c8bd349cc (diff)
downloadvyos-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-xscripts/build/lb_binary_rootfs4
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}