'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:
parent
909d8c4019
commit
42f470c0e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160783
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user