[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Building world on another drive
From:       Annelise Anderson <andrsn () andrsn ! stanford ! edu>
Date:       1999-08-31 22:14:40
[Download RAW message or body]

	I have two hard drives, each of which has a bootable
installation of FreeBSD.

	I have sources on the second hard drive in /usr0/src,
and would like to do a "make buildworld" in that directory and
have the obj directory be /usr0/obj.

	If I edit Makefile.inc0 in /usr0/src and change the line

MAKEOBJDIRPREFIX?=/usr/obj

to

MAKEOBJDIRPREFIX=/usr0/obj

or

MAKEOBJDIRPREFIX?=/usr0/obj

the buildworld writes to /usr/obj/usr0, in fact to /usr/obj/usr0/src.

So obviously there's something here I don't understand; what should I
be doing?  and once built in /usr0/obj, how would I do in /usr0/src
a "make installworld" so the installation gets done on this second
drive rather than on the first drive?

I am aware that I can reboot to the second drive and do it that way,
but I want to do it while FreeBSD is running from the first drive.

Thanks very much.

	Annelise






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic