diff options
author | thomas <thomas@FreeBSD.org> | 2006-07-28 14:37:38 +0000 |
---|---|---|
committer | thomas <thomas@FreeBSD.org> | 2006-07-28 14:37:38 +0000 |
commit | f27e5b6199d6bd03ed0ce3acda9476211b63a736 (patch) | |
tree | 61856dc59a877741747eb7a112f8f2f4d9acc1d6 /tools | |
parent | 2638b17f4bde71cf005139846043450e5fd9b197 (diff) | |
download | FreeBSD-src-f27e5b6199d6bd03ed0ce3acda9476211b63a736.zip FreeBSD-src-f27e5b6199d6bd03ed0ce3acda9476211b63a736.tar.gz |
'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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/nanobsd/nanobsd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 88d6723..a08f04e 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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 |