From owner-freebsd-current Thu Apr 6 10:14:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 2C9E437C02C for ; Thu, 6 Apr 2000 10:14:39 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 7F7102DB; Thu, 6 Apr 2000 10:14:38 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0.1) id KAA15213; Thu, 6 Apr 2000 10:14:34 -0700 (PDT) Message-ID: <38ECC5FB.5A47A057@cup.hp.com> Date: Thu, 06 Apr 2000 10:14:35 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Chuck Robey Cc: Yu Guo/PEK/Lotus , "Andrzej Bialecki , freebsd-current Subject: Re: Installworld to /some/where/... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > > 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? Yes. > The above would only be safe, I think, if you did the make buildworld with > the same DESTDIR. Anyone know if that's true? Yes, and it's not true :-) DESTDIR is overloaded. It is reassigned during a buildworld for internal purposes. There's only a very limited way (ie for a very limited set of tools) to specify during build where they will end up and where they can expect data files. In all other cases it is assumed that the programs are run from the normal place. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message