Use bootstrapped install(1) install of tools/install.sh in world stage

This should be noticeably faster due to fewer processes being forked and
also handles other flags such as -S or writing to METALOG.

Reviewed By:	brooks
Differential Revision: https://reviews.freebsd.org/D26039
This commit is contained in:
Alex Richardson 2020-08-25 13:30:14 +00:00
parent eb51ce8efb
commit 3ce13dbc23

View File

@ -765,7 +765,7 @@ KTMAKE= \
# world stage # world stage
WMAKEENV= ${CROSSENV} \ WMAKEENV= ${CROSSENV} \
INSTALL="sh ${.CURDIR}/tools/install.sh" \ INSTALL="${INSTALL_CMD} -U" \
PATH=${TMPPATH} \ PATH=${TMPPATH} \
SYSROOT=${WORLDTMP} SYSROOT=${WORLDTMP}