Subject: Re: Question about 'build.sh install=/'
To: None <email@example.com>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
Date: 07/13/2006 13:14:46
On Thu, 13 Jul 2006 18:54:54 +0200
MKD <firstname.lastname@example.org> wrote:
> After a week studying my mk.conf, I got all the OBJ built from sources
> for the 3.99.21 version. Now, I'm trying to install the compiled code
> with build.sh, but I get this error:
> nbmake: don't know how to make /usr/src/obj/destdir.i386/METALOG. Stop
> nbmake: stopped in /usr/src/distrib/sets
> *** Failed target: installworld
> And it stops there. How can I fix this??
To start with, what was the sequence of commands to get to this point?
Here is how I usually build everything:
$ rm -rf /usr/obj/* # or wherever you point your object tree
$ ./build.sh tools
$ ./build.sh kernel=GENERIC # s/GENERIC/<Your custom kernel>/
<Backup kernel, install new one and reboot>
<Make sure everything still works - go back to backup if problems>
$ ./build.sh distribution
$ ./build.sh install=/'
D'Arcy J.M. Cain <darcy@NetBSD.org>