Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support wildcards in rootfs exclude lists (Closes: ).

This commit is contained in:
Daniel Baumann 2008-10-12 11:10:47 +02:00
parent 1476f3a1c3
commit 7ce22c258d
1 changed files with 1 additions and 1 deletions

View File

@ -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