diff options
author | gjb <gjb@FreeBSD.org> | 2012-11-11 21:52:18 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2012-11-11 21:52:18 +0000 |
commit | d019ce692fc54c129eec5db8b6703774505757d5 (patch) | |
tree | d6876aa801be1f3d0c1ed55f8de0ce21f5801345 /release | |
parent | 0b7a88a2ce23f5e3257cc46563a36beb33a1b218 (diff) | |
download | FreeBSD-src-d019ce692fc54c129eec5db8b6703774505757d5.zip FreeBSD-src-d019ce692fc54c129eec5db8b6703774505757d5.tar.gz |
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
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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: |