From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KkIIr-00072g-SU for garchives@archives.gentoo.org; Mon, 29 Sep 2008 12:56:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C04EE0571; Mon, 29 Sep 2008 12:56:00 +0000 (UTC) Received: from powerman.name (powerman.name [85.90.198.1]) by pigeon.gentoo.org (Postfix) with ESMTP id BFF70E0571 for ; Mon, 29 Sep 2008 12:55:58 +0000 (UTC) Received: (qmail 10093 invoked by uid 1000); 29 Sep 2008 12:55:53 -0000 Date: Mon, 29 Sep 2008 15:55:53 +0300 From: Alex Efros To: gentoo-server@lists.gentoo.org Subject: Re: [gentoo-server] Emerging for servers Message-ID: <20080929125553.GA13061@home.power> Mail-Followup-To: gentoo-server@lists.gentoo.org References: <20080924190642.T60035@shell.bway.net> <48E08665.9040100@vanalteren.nl> <20080929132108.63e09209@robbieab.com> <48E0C89E.6000504@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: e90e87d0-b0c7-420d-baf7-a26feba00ce1 X-Archives-Hash: 09a0ac790c1d47d9d1fae6194e3fe040 Hi! On Mon, Sep 29, 2008 at 07:32:31AM -0500, Spahn, Daniel wrote: > Is there an app or script that I can use to emerge up to the point of > compiling, without installing or completing the merge, track the > packages that were compiled, and run a batch install of the compiled > packages, collecting the package-specific notices? If not, can someone > point me to a good scripting resource? I don't know a lot of shell > scripting yet, so I need a basic and intermediate tutorial... Thanks! step1: emerge -B pkg1 pkg2 pkg3 step2: emerge -K pkg1 pkg2 pkg3 But there problem with this: if pkg2 DEPEND on pkg1, then it either will not compile at all (without installing pkg1 first), or, worse, it will compile using older, currently installed version of pkg1, and after installing at step2 pkg2 become broken (because pkg1 was replaced by newer version without recompiling pkg2). -- WBR, Alex.