From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18698 invoked from network); 11 Mar 2004 01:48:33 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 11 Mar 2004 01:48:33 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1B1FJJ-0004lC-JJ for arch-gentoo-portage-dev@lists.gentoo.org; Thu, 11 Mar 2004 01:48:33 +0000 Received: (qmail 14350 invoked by uid 50004); 11 Mar 2004 01:48:32 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 16101 invoked from network); 11 Mar 2004 01:48:32 +0000 From: Jason Stubbs To: gentoo-portage-dev@lists.gentoo.org Date: Thu, 11 Mar 2004 10:46:55 +0900 User-Agent: KMail/1.6 References: <3592E70770A47748BE84101253BACC79125DCB@lumex02.lumenos.com> <200403101525.51119.george@gentoo.org> In-Reply-To: <200403101525.51119.george@gentoo.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403111046.55363.jstubbs@gentoo.org> Subject: Re: [gentoo-portage-dev] cloning systems across architectures X-Archives-Salt: 64912ff3-73ea-4572-80ad-01a1dc38770e X-Archives-Hash: a438aabab8336223388afc3a1b87ecbe On Thursday 11 March 2004 08:25, George Shapovalov wrote: > On Wednesday 10 March 2004 12:44, Anthony Dodson wrote: > > For instance, how can one move the definition of the "world" class to the > > new machine (bootstrapped) and then emerge all that software at once? Is > > there a better approach? > > So, you basically have two different systems and you want to optimize both > (so no common denominator) or they are different arches, meaning that you > would rather recompile; but you would rather not mess with all the > individual packages? Is this the situation? > Then yes, no need to go package by package: > 1. clone your /etc/make.conf and adjust C[XX]FLAGS correspondingly (but > keep USE definition identical) > 2. copy /var/cache/edb/world over (to a different directory) > 3. do "emerge -[p]e world" or even simply "emerge world" emerge $(cat world) Emerge now checks to see if a package listed in the world file is installed before doing anything with it. If it's not installed, it is skipped. Regards, Jason Stubbs -- gentoo-portage-dev@gentoo.org mailing list