svn commit: r242897 - head/release

Glen Barber gjb at FreeBSD.org
Sun Nov 11 21:52:19 UTC 2012


Author: gjb (doc,ports committer)
Date: Sun Nov 11 21:52:18 2012
New Revision: 242897
URL: http://svnweb.freebsd.org/changeset/base/242897

Log:
  Prevent including .zfs snapshot directories in the src.txz
  distribution.  This can happen if the src/ tree checkout is
  within its own ZFS dataset, and the 'snapdir' ZFS property
  is set to 'visible.'
  
  Approved by:	hrs
  MFC after:	3 days
  X-MFC-To:	stable/9 only

Modified:
  head/release/Makefile

Modified: head/release/Makefile
==============================================================================
--- head/release/Makefile	Sun Nov 11 15:34:58 2012	(r242896)
+++ head/release/Makefile	Sun Nov 11 21:52:18 2012	(r242897)
@@ -83,7 +83,7 @@ kernel.txz:
 src.txz:
 	mkdir -p ${DISTDIR}/usr
 	ln -fs ${WORLDDIR} ${DISTDIR}/usr/src
-	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn \
+	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn --exclude .zfs \
 	    --exclude CVS --exclude @ --exclude usr/src/release/dist usr/src
 
 ports.txz:


More information about the svn-src-all mailing list