svn commit: r197101 - stable/7/release
John Baldwin
jhb at FreeBSD.org
Fri Sep 11 21:09:59 UTC 2009
Author: jhb
Date: Fri Sep 11 21:09:59 2009
New Revision: 197101
URL: http://svn.freebsd.org/changeset/base/197101
Log:
MFC part of 180012:
Changes to exclude .svn directories when building tarballs during release
builds (not documented in the original commit to HEAD).
Modified:
stable/7/release/ (props changed)
stable/7/release/Makefile
Modified: stable/7/release/Makefile
==============================================================================
--- stable/7/release/Makefile Fri Sep 11 19:23:11 2009 (r197100)
+++ stable/7/release/Makefile Fri Sep 11 21:09:59 2009 (r197101)
@@ -731,7 +731,7 @@ release.6:
@rm -rf ${RD}/dists/ports/ports*
@mkdir -p ${RD}/dists/ports
@echo rolling ports/ports tarball
- @tar --exclude CVS --exclude 'ports/distfiles/*' \
+ @tar --exclude CVS --exclude .svn --exclude 'ports/distfiles/*' \
-czf ${RD}/dists/ports/ports.tgz -C /usr ports
@cp ${.CURDIR}/scripts/ports-install.sh ${RD}/dists/ports/install.sh
@(cd ${RD}/dists/ports; \
@@ -834,7 +834,8 @@ release.8:
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
@cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot
.endif
- @tar --exclude CVS -cf - -C ${.CURDIR}/../usr.sbin/sysinstall help | \
+ @tar --exclude CVS --exclude .svn -cf - \
+ -C ${.CURDIR}/../usr.sbin/sysinstall help | \
tar xf - -C ${RD}/mfsfd/stand
@mkdir -p ${RD}/mfsroot
sh -e ${DOFS_SH} ${RD}/mfsroot/mfsroot ${RD} ${MNT} \
@@ -1232,7 +1233,7 @@ doTARBALL:
@( cd ${SD} && \
tn=`echo ${TN} | tr 'A-Z' 'a-z'` && \
echo rolling ${TD}/$$tn tarball &&\
- tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
+ tar --exclude CVS --exclude .svn --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. && \
sh ${.CURDIR}/scripts/info.sh ${RD}/dists/${TD}/$$tn \
> ${RD}/dists/${TD}/$$tn.inf && \
More information about the svn-src-stable-7
mailing list