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
>
> // <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>
>
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>
----------------------------------------------------------------------------
Chuck Robey | Interests include C & Java programming, FreeBSD,
[EMAIL PROTECTED] | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message