1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
This commit is contained in:
Glen Barber 2013-12-02 14:28:30 +00:00
parent a92a06d31a
commit 4e11928ded
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258847

View File

@ -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}