Subject: Re: Wrong permissions?
To: Michael Schabert <mikeride@mac.com>
From: Ossi Herrala <oherrala@ee.oulu.fi>
List: current-users
Date: 03/30/2003 20:24:15
On Sun, Mar 30, 2003 at 09:07:32AM -0800, Michael Schabert wrote:
>
> >I do my builds with following commands:
> >
> > ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -rU tools
> > ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU build
> > ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU kernel=TXPO
> > Install kernel with cp
> > ./build.sh -M/usr/obj -T/usr/tools -D/usr/NetBSD/dest -uU install=/
>
> But the *very* important step that you're leaving out is that you must su(d0)
> to root before the install. If you perform those steps in exactly the order that
> you list, then you either (1) were root the whole time (making -U useless),
> or (2) could not have done the proper install with permissions because you were
> not root ever.
>
You are right. I forgot to mention I do the last two command with root
permissions. Sorry about that.
And just FYI. Some time ago I tested to build with command
./build.sh <options> tools distribution kernel=GENERIC
and it works also. "tools" can be dropped because "distribution" applies
it if tools are not build. This makes ./build.sh really simple and usefull
to me. Thanks to whoever did it!
--
Ossi Herrala
Personal PGP key at http://stekt.oulu.fi/~oherrala/pgp.asc