Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 21:52:18 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242897 - head/release
Message-ID:  <201211112152.qABLqIol005092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211112152.qABLqIol005092>