Subject: Re: how to install when DESTDIR != / ?
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-users
Date: 07/05/2002 18:38:36
On Fri, 5 Jul 2002 17:07:38 +0200
"Ronald van der Pol" <Ronald.vanderPol@rvdp.org> wrote:

> Until now I have always "build.sh" with DESTDIR=/ . I have now
> set DESTDIR to another directory. But I cannot find what the
> preferred way is to install this build into / . Is there some
> kind of "make install"? Could somebody give me the recipe for
> upgrading from sources with DESTDIR != / ?
> 

You can do:

./build.sh -u -D /

If you can (it will take more time), build a release with the -R switch.
If you do not want all the extra things -R compiles, do:

./build.sh -d -D /var/build/root

as usual, and then:

cd /usr/src/distrib/sets
make sets

This will create the .tgz files you use to install a system. Unpack them
later in / with tar xzvpf. That's all :D

Regards

-- 
HispaBSD admin - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>