Subject: Re: Kernels during build.sh -R
To: Julio Merino <jmmv@hispabsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 05/25/2002 08:47:39
On Sat, 25 May 2002, Julio Merino wrote:
> On Sat, May 25, 2002 at 07:28:35AM -0500, Frederick Bruckman wrote:
> > On Sat, 25 May 2002, Julio Merino wrote:
> >
> > Sounds like you don't really want to build a release at all. Use "-d"
> > instead. If you still want the tarballs, you could "make sets" in
> > "distrib/sets" after the build is done. "-R" is used to build
> > snapshots for distribution. It builds just the kernels that the
> > sysinstall binaries know what to do with, and there's no knob to make
> > it do otherwise.
>
> Ahh, nice. That is what I want, the tarballs. So I build.sh -d /some/dir
> and then cd distrib/sets; make sets? I mean, is the -d needed? Or make
> sets also works if I build without -d?
No, "make sets" just tars up the sets from what's in ${DESTDIR}. If
you don't have DESTDIR set in your environment or "/etc/mk.conf", you
have to set that too:
cd /usr/src; ./build.sh -d -D /some/destdir
cd distrib/sets; make sets DESTDIR=/some/destdir
Frederick