summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-12 11:10:47 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit7ce22c258dd6a3fd8572cce209b95780d200c31f (patch)
tree2314275109d6c7b552f748e23683e2c3bf9f7289
parent1476f3a1c36090279dbf9a4ceef61893e3972e93 (diff)
downloadlive-build-7ce22c258dd6a3fd8572cce209b95780d200c31f.zip
live-build-7ce22c258dd6a3fd8572cce209b95780d200c31f.tar.gz
Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support wildcards in rootfs exclude lists (Closes: #500677).
-rwxr-xr-xhelpers/lh_binary_rootfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 85cccb9..450753a 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -94,7 +94,7 @@ then
if [ -f config/binary_rootfs/excludes ]
then
cp config/binary_rootfs/excludes chroot/chroot/excludes
- chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes rm -rf
+ chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
rm -f chroot/chroot/excludes
fi