cvs commit: src Makefile.inc1 src/share/mk Makefile src/share/termcap Makefile src/usr.bin/vgrind Makefile

Joe Marcus Clarke marcus at marcuscom.com
Sat Feb 26 22:25:03 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050226/514488d8/attachment.bin


More information about the cvs-all mailing list