Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support wildcards in rootfs exclude lists (Closes: #500677).
This commit is contained in:
parent
1476f3a1c3
commit
7ce22c258d
helpers
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue