Subject: Re: NetBSD newbie sup/make world questions
To: Joe Abley <jabley@patho.gen.nz>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 06/27/1999 19:07:41
On Sun, Jun 27, 1999 at 12:46:41AM +1200, Joe Abley wrote:
> Hi,
> 
> I'm new here, although I'm used to running -stable and -current releases
> of FreeBSD. Some quick pointers on staying stable or current on NetBSD
> would be appreciated..
> 
> 1. In /etc/supfiles/coll.list, I have:
> 
>   current release=allsrc host=sup.au.netbsd.org hostbase=/ftp \
>       base=/usr prefix=/usr backup use-rel-suffix compress
> 
>   current release=pkgsrc host=sup.au.netbsd.org hostbase=/ftp \
>       base=/usr prefix=/usr backup use-rel-suffix compress delete
> 
> Now, I'm pretty sure what I want to do is keep stable on 1.4 rather
> than running current. How do I specify this? Do I need to use a
> different tag to "current"?
> 
> Does "staying stable" have the same meaning in NetBSD as it does in
> FreeBSD? Are -current changes (for example) rolled back into the 1.4
> tree, to be picked up by stable-trackers?

There is a 'stable' branch in NetBSD as well, which is currently 1.4.
Important fixes are integrated here. For now this branch is made available
to public though 'patch releases' (next one will be 1.4.1), so you won't have
access to it before 1.4.1 is out (should happen 'soon').


> 
> 2. With FreeBSD, a "make buildworld" in /usr/src would build bootstrap
> tools (linkers, compilers, whatever) and then proceed to build userland
> in /usr/obj -- a "make installworld" would then do the installation.

'make world' should to what you want.

> 
> Is NetBSD radically different from this? From the comments in
> /usr/src/Makefile, it looks like DESTDIR (which defaults to "/")
> specifies the intermediate build directory (the FreeBSD /usr/obj).
> Now, presumably I am out to lunch in saying this, but it would be
> good if someone could confirm that I am :)

No, DESTDIR is where to put the new binaries. The default value '/' will
just upgrade your system. Setting DESTDIR to a different directory
is used for, e.g. building snapshots sets.

Whats you're probably looking for is 'BSDOBJDIR', default is /usr/obj.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--