Date: Sat, 26 Feb 2005 17:24:36 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/share/mk Makefile src/share/termcap Makefile src/usr.bin/vgrind Makefile Message-ID: <1109456676.53375.22.camel@shumai.marcuscom.com> In-Reply-To: <20050226222035.GD93910@ip.net.ua> References: <200502222329.j1MNTskQ089307@repoman.freebsd.org> <20050226204051.GA51467@ip.net.ua> <opsmtqk4v19aq2h7@mezz.mezzweb.com> <1109454759.53375.19.camel@shumai.marcuscom.com> <20050226222035.GD93910@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sun, 2005-02-27 at 00:20 +0200, Ruslan Ermilov wrote:
> On Sat, Feb 26, 2005 at 04:52:39PM -0500, Joe Marcus Clarke wrote:
> > I'm a bit confused. My script downloads the source, and does a fresh
> > make world followed by a make distribution (almost exactly how it's
> > documented in the jail(8) man page):
> >
> > cd ${SRCBASE}
> > mkdir -p ${D}
> > env DESTDIR=${D} make world
> >
> > if [ $? != 0 ]; then
> > echo "ERROR: make world failed. See above output."
> > exit 1
> > fi
> >
> > cd etc
> > make distribution DESTDIR=${D}
> >
> > if [ $? != 0 ]; then
> > echo "ERROR: make distribution failed. See above output."
> > exit 1
> > fi
> >
> > What is meant by an "upgrade" in this context, and how exactly should I
> > be building a full FreeBSD jail?
> >
> By "upgrade" I mean when your sources do not match your installed
> world, e.g., when you're trying to populate jail(8) with today's
> sources using yesterday's world.
Understood. I thought you were referring to a NO_CLEAN type build.
>
> During the buildworld/installworld we bootstrap several utilities.
> For example, cap_mkdb(8) was recently updated to handle different
> endianness needed to be used as a tool in cross-build environment.
> src/share/termcap/Makefile was modified accordingly and is called
> as part of "make distribution" from src/etc/Makefile.
>
> For "make distribution" to work correctly in upgrade environment,
> it should be supplied such an environment. This patch does this:
Thanks.
Joe
--
PGP Key : http://www.marcuscom.com/pgp.asc
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQBCIPckb2iPiv4Uz4cRAmMOAJwILCeXlhcZxQHB6ARbgprZCnONRwCfRcSo
YoFu7/Z/57in1DznhJD6wXQ=
=gG2/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1109456676.53375.22.camel>
