Subject: Re: ./build.sh -u -U build fails
To: Kosta Kilim <kopno@sdf.lonestar.org>
From: David Rio Deiros <driodeiros@gmail.com>
List: netbsd-users
Date: 02/13/2005 22:23:10
> Hello,
> 
> I'm following these steps:
> 
> http://mail-index.netbsd.org/netbsd-users/2005/02/08/0023.html

Did you try to update your sources again? Maybe that source file
is screwing up everything. 

Anyway. Let's try it again. This time is gonna work for sure. 
Firstable. Let me tell you that I have just finished the compilation
of the kernel and the userlands in a linux machine. 
This is what I have:

milhouse:~/netbsd $ ls -lac
total 48
drwxr-xr-x   7 drio users  4096 Feb 13 22:12 .
drwxr-xr-x  65 drio users  4096 Feb 13 21:07 ..
-rwx------   1 drio users  1024 Feb 13 18:37 NetBSDsources.sh
drwxr-xr-x  27 drio users  4096 Feb 13 18:13 current
drwxr-xr-x  19 drio users  4096 Feb 13 18:44 obj
lrwxr-xr-x   1 drio users     7 Feb 13 18:18 src -> current
drwxr-xr-x  10 drio users  4096 Feb 13 18:39 tools
drwxr-xr-x   3 drio users  4096 Feb 13 17:47 usr

Don't forget to have the right permissions.
src points to the current sources.

Then I run this:

$ ./NetBSDsources.sh 

Which is doing:

$ export ARCH=i386
$ mkdir -p /home/drio/obj
$ mkdir -p /home/drio/tools
$ ./build.sh -O ../obj -T ../tools -U -u -m $ARCH tools
$ ./build.sh -O ../obj -T ../tools -U -u -m $ARCH distribution
$ ./build.sh -O ../obj -T ../tools -U -u -m $ARCH kernel=GENERIC

These has to work for sure. 

$ cd /home/drio/netbsd/src
$ cvs update -dP

I hope these help.

-David.