Subject: Re: Proper Procedure for xsrc Release
To: Bryan Vyhmeister <bsd@hub3.net>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 07/03/2003 06:00:50
On Wed, 2 Jul 2003, Bryan Vyhmeister wrote:

> I am running a NetBSD 1.6U system from 06/27/2003 and I want to build an xsrc
> snapshot for this system. I have tried the following:
>
> cd /usr/xsrc
> env DESTDIR=/usr/home/dest RELEASEDIR=/usr/home/release make release
>
> This works all the way until the very end and then errors right before
> making the tarballs. I should have written down the error but I didn't.
> I was wondering if someone could share the procedure for creating a
> snapshot release of xsrc. I want to be able to create tarballs for
> NetBSD 1.6U along with a snapshot of xsrc also built on NetBSD 1.6U.

That should work. I built a snapshot of 1.6U not too long ago (1.6T at
least, I'm certain). Try again with UPDATE=yes, but capture the output
this time. E.g, with a Bourne-style shell, like "/bin/ksh":

    make DESTDIR=/usr/home/dest RELEASEDIR=/usr/home/release \
        UPDATE=yes > mklog 2>&1 &

or csh-style, for "tcsh" or "bash":

    make DESTDIR=/usr/home/dest RELEASEDIR=/usr/home/release \
        UPDATE=yes >& mklog &

Note that you can set those variables on the "make" command line,
rather than the environment, though they work as well either way.

Frederick