Use the shiny, new top-level 'distribution' target when populating the

chroot area.  This fixes make release of HEAD on systems that have a
/usr/src with bsd.endian.mk and a matching /usr/obj but haven't installed
the world in /usr/obj and thus have no bsd.endian.mk /usr/share/mk.
This commit is contained in:
John Baldwin 2005-03-02 14:57:45 +00:00
parent b7beb62744
commit 3b090ef7d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143038

View File

@ -361,7 +361,7 @@ release rerelease:
@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_INFO -DNO_MAN \
-DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
if [ -f /etc/resolv.conf ]; then \
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
fi