Since I'm using SVN to support my LTIB work, I see .svn directories
sneek into the rootfs via the platform merge directories. Here's a
patch to merge.spec that should prune out any CVS, SVN, or GIT Version
Control System metadata:
Index: dist/lfs-5.1/merge/merge.spec
===================================================================
--- dist/lfs-5.1/merge/merge.spec (revision 7984)
+++ dist/lfs-5.1/merge/merge.spec (working copy)
@@ -35,7 +35,7 @@
if [ -d $dir ]
then
cd $dir
- find . -name CVS -prune -o -perm -444 ! -type b ! -type c -print0
2>/dev/null | cpio -p0d --quiet $RPM_BUILD_ROOT/%{pfx}
+ find . \( -name CVS -o -name .svn -o -name .git \) -prune -o -perm -444 !
-type b ! -type c -print0 2>/dev/null | cpio -p0d --quiet
$RPM_BUILD_ROOT/%{pfx}
cd -
fi
done
--
Peter Barada <address@hidden <mailto:address@hidden>>
Logic Product Development, Inc.
------------------------------------------------------------------------
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib