MFC r262036

etcupdate should use the src tree from where the release is built, not
the default (/usr/src) tree.
This commit is contained in:
jhay 2014-03-11 12:04:58 +00:00
parent 9b70439221
commit 817ea2b238

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 .