aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-11-28 16:00:27 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-11-28 16:00:27 +0000
commit27879b9a70b76edcb5d4cc72f4f739c985708eb0 (patch)
treeed4870928193b1b02a7bbab67eecdd0f782e84d7 /release/release.sh
parent212ff84f4a0e7ebe6bb2a141e29e0e66556acce5 (diff)
downloadsrc-27879b9a70b76edcb5d4cc72f4f739c985708eb0.tar.gz
src-27879b9a70b76edcb5d4cc72f4f739c985708eb0.zip
Set DISTDIR and WRKDIRPREFIX when building ports within the
chroot(8) to avoid mtime changes within the ports checkout, which can cause checksum differences. MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=326315
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh
index 067eec5c09a1..25f17df0ab13 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -280,6 +280,8 @@ extra_chroot_setup() {
PBUILD_FLAGS="OSVERSION=${_OSVERSION} BATCH=yes"
PBUILD_FLAGS="${PBUILD_FLAGS} UNAME_r=${UNAME_r}"
PBUILD_FLAGS="${PBUILD_FLAGS} OSREL=${REVISION}"
+ PBUILD_FLAGS="${PBUILD_FLAGS} WRKDIRPREFIX=/tmp/ports"
+ PBUILD_FLAGS="${PBUILD_FLAGS} DISTDIR=/tmp/distfiles"
chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \
${PBUILD_FLAGS} OPTIONS_UNSET="FOP IGOR" \
FORCE_PKG_REGISTER=1 \