From d019ce692fc54c129eec5db8b6703774505757d5 Mon Sep 17 00:00:00 2001 From: gjb Date: Sun, 11 Nov 2012 21:52:18 +0000 Subject: 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 --- release/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/Makefile b/release/Makefile index 104670f..79a3e3f 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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: -- cgit v1.1