etcupdate should use the src tree from where the release is built, not

the default (/usr/src) tree.

MFC after:	2 weeks
This commit is contained in:
John Hay 2014-02-17 12:29:17 +00:00
parent 044ae9dbef
commit d6d73d476b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262036

View File

@ -105,7 +105,7 @@ base.txz:
sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \
"TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${.OBJDIR}/${DISTDIR}/base"
etcupdate extract -B -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \
-d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
-s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
# Package all components
cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR}
mv ${DISTDIR}/*.txz .