Subject: Re: build.sh
To: Rasputin <rasputin@idoru.mine.nu>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 01/30/2003 12:26:32
On Wed, Jan 29, 2003 at 05:45:54PM +0000, Rasputin wrote:
  | Hi! Is there a new equivalent of the buildworld/installworld capability
  | Luke giave us for Christmas (see
  | http://tinyurl.com/51z5
  | ) ?
  | 
  | I took a wild guess at
  | 
  | ./build.sh tools
  | ./build.sh kernel=IDORU
  | <reboot>
  | ./build.sh -D /devel/fakeroot -U build
  | <currently running, then as root: >
  | ./build.sh -D /devel/fakeroot -U idir=/ 
  | 
  | Does that sound plausible/non-fatal (I read ./build.sh -usage as
  | though 'distribution' rather than 'build' would clobber /etc)?
  | Thanks.

you'll want:
	./build.sh -D /devel/fakeroot -U distribution
	./build.sh -D /devel/fakeroot -U install=/ 

or even easier
	./build.sh -D /devel/fakeroot -U distribution install=/ 

"distribution" clobbers ${DESTDIR}/etc, *not* /etc (i'll highlight this
in the documentation), and since you've supplied DESTDIR as
/devel/fakeroot, distribution will update /devel/fakeroot/etc...