Subject: Re: building userland with the build.sh
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-users
Date: 03/21/2005 23:26:25
In article <8cb27cbf050321143613e0eac7@mail.gmail.com>,
Jon Drews <jon.drews@gmail.com> writes:
> How do I rebuild and install the userland on NetBSD 2.0.2 Beta? Do I use
>
> ./build.sh -a i386 build followed by
> ./build.sh install=/
1.) You build as non-root user:
./build-sh -m i386 -D /dir/for/destdir -U distribution
The "-m i386" is not neccesary unless you are cross building which
you are probably not. "-a" does *not* define the target port, it
defines the architecture which is e.g. "m68k" for "amiga". You
don't need that option most of the time (or always?).
2.) You install as root:
./build.sh -D /dir/for/destdir -U install=/
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/