'make distribution' must be run from src, not src/etc, so that the proper

set of /usr/share/mk/* is available. This is necessary to build a 7.x
NanoBSD image on a 6.x host.

Reviewed by:	phk
This commit is contained in:
Thomas Quinot 2006-07-28 14:37:38 +00:00
parent 909d8c4019
commit 42f470c0e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160783

View File

@ -192,7 +192,7 @@ install_etc ( ) (
echo "## install /etc"
echo "### log: ${MAKEOBJDIRPREFIX}/_.etc"
cd ${NANO_SRC}/etc
cd ${NANO_SRC}
${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} distribution \
DESTDIR=${NANO_WORLDDIR} \
> ${MAKEOBJDIRPREFIX}/_.etc 2>&1