Date: Wed, 5 Apr 2000 23:47:45 -0400 (EDT) From: Chuck Robey <chuckr@picnic.mat.net> To: Yu Guo/PEK/Lotus <Yu_Guo@lotus.com> Cc: "Andrzej Bialecki <abial" <abial@webgiro.com>, freebsd-current <freebsd-current@FreeBSD.ORG> Subject: Re: Installworld to /some/where/... Message-ID: <Pine.BSF.4.21.0004052342410.59241-100000@picnic.mat.net> In-Reply-To: <OFB5979A4E.AE3CDBC3-ON482568B9.00134138@lotus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Apr 2000, Yu Guo/PEK/Lotus wrote: > > Just do a > make DESTDIR=/mnt/installdir installworld > Or remotely mount /usr/obj and /usr/src, and do 15 make installworlds on 15 machines. In fact, I'm not totally sure that first method works, because I think that perl, at least, records the name of DESTDIR during the 'make buildworld' so moving DESTDIR only in installworld, that might bomb later when you ran it. In fact, I think that will happen, and to cc1 (of gcc) also, because the 'specs' get set during buildworld, don't they? The above would only be safe, I think, if you did the make buildworld with the same DESTDIR. Anyone know if that's true? > > Hi, > > Is it possible to do an installworld not to / of existing system, but to, > say, subdirs somewhere, which could be mountpoints for another disk? > Something like: > > /mnt/installdir/ > /mnt/installdir/compat > /mnt/installdir/etc > /mnt/installdir/usr > /mnt/installdir/var > /mnt/installdir/ > > The reason I'm asking is that I'm looking for a method to easily > clone/upgrade a bunch of servers without having to do 'make world' on all > of them. I'm not satisfied either with using dd - the machines are not > identical, there are some bits and pieces of config specific to each > machine. So far the best method was to do a make world, but it becomes > more and more a nuisance and waste of time... > > > Andrzej Bialecki > > // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) > // ------------------------------------------------------------------- > // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- > // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004052342410.59241-100000>