aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2018-08-17 07:27:15 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2018-08-17 07:27:15 +0000
commit2502c66bbdaefbe6299ad7288a6a3150546123aa (patch)
tree00aeea9321d3bacd7325e6138cfc4f206a936b64 /release/scripts
parent9ebbebe4f763addd4e6269a2b4b76688f5f2fb04 (diff)
downloadsrc-2502c66bbdaefbe6299ad7288a6a3150546123aa.tar.gz
src-2502c66bbdaefbe6299ad7288a6a3150546123aa.zip
build: skip the database check when generating install media
There are several scripts and targets solely used to generate install media, make sure DB_FROM_SRC is used in that case in order to prevent checking the host database, which is irrelevant when generating install binaries. Sponsored by: Citrix Systems R&D PR: 230459 Reviewed by: gjb Differential revision: https://reviews.freebsd.org/D16638
Notes
Notes: svn path=/head/; revision=337960
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mm-mtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/mm-mtree.sh b/release/scripts/mm-mtree.sh
index 45c47be4f16e..790154595798 100755
--- a/release/scripts/mm-mtree.sh
+++ b/release/scripts/mm-mtree.sh
@@ -81,7 +81,7 @@ if [ ! -f ${SOURCEDIR}/Makefile.inc1 -a \
fi
# Setup make to use system files from SOURCEDIR
-MM_MAKE="make ${ARCHSTRING} ${MM_MAKE_ARGS} -m ${SOURCEDIR}/share/mk"
+MM_MAKE="make ${ARCHSTRING} ${MM_MAKE_ARGS} -m ${SOURCEDIR}/share/mk -DDB_FROM_SRC"
delete_temproot () {
rm -rf "${TEMPROOT}" 2>/dev/null