aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-12-02 14:28:30 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-12-02 14:28:30 +0000
commit4e11928ded709681347a62e5322a6b16fd39a78e (patch)
tree911d62900c00a7bd730a744a3728fd45253c58d1 /release/scripts
parenta92a06d31a790cf8d0e612a015b163cdb78c6e92 (diff)
downloadsrc-4e11928ded709681347a62e5322a6b16fd39a78e.tar.gz
src-4e11928ded709681347a62e5322a6b16fd39a78e.zip
Provide reproducibility between builds by building pkg(8) from ports,
instead of using pkg-bootstrap. This should resolve a problem that was discovered during 10.0-BETA4 freebsd-update(8) builds, Reported by: secteam (delphij) MFC after: 3 days X-MFC-to-10: possibly immediately, pending freebsd-update(8) builds Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=258847
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/pkg-stage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh
index 348e1530dda6..93768fffa8d9 100755
--- a/release/scripts/pkg-stage.sh
+++ b/release/scripts/pkg-stage.sh
@@ -25,7 +25,7 @@ REVISION="${2}"
. "${1}" || exit 1
if [ ! -x /usr/local/sbin/pkg ]; then
- /usr/sbin/pkg bootstrap
+ /usr/bin/make -C /usr/ports/ports-mgmt/pkg install clean
fi
/bin/mkdir -p ${PKG_CACHEDIR}