From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Loqy4-0000k1-Ue for garchives@archives.gentoo.org; Wed, 01 Apr 2009 03:18:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7B6AE0663; Wed, 1 Apr 2009 03:18:19 +0000 (UTC) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by pigeon.gentoo.org (Postfix) with ESMTP id BACC2E0663 for ; Wed, 1 Apr 2009 03:18:19 +0000 (UTC) Received: from imp09 ([10.20.200.9]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090401031819.PENX2647.mta31.charter.net@imp09> for ; Tue, 31 Mar 2009 23:18:19 -0400 Received: from agaffney.org ([71.81.81.248]) by imp09 with charter.net id a3JJ1b00J5MTQ6X053JK41; Tue, 31 Mar 2009 23:18:19 -0400 Received: from [192.168.0.10] (kagome [192.168.0.10]) by agaffney.org (Postfix) with ESMTP id A67AA1E0002 for ; Tue, 31 Mar 2009 22:18:18 -0500 (CDT) Message-ID: <49D2DCFA.3060505@gentoo.org> Date: Tue, 31 Mar 2009 22:18:18 -0500 From: Andrew Gaffney User-Agent: Thunderbird 2.0.0.21 (X11/20090322) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] ccache cache deleted during stage2 build References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b269d722-cb64-468d-bb6e-08b989baf322 X-Archives-Hash: 5994aa0dbe3efcccccd29f1a100d7b75 Please file a bug about this. Tom Stellard wrote: > I am using the latest version of catalyst from git(commit > 16745ae35961557a1205b5c86419d1aa496fcdf7). I noticed that when the > stage2-preclean-chroot.sh script calls cleanup_stages() in > chroot_functions.sh, it deletes everything in $CHROOT_PATH/var/tmp, > but since $CHROOT_PATH/var/tmp/ccache is still bound to > /var/tmp/ccache my cache that lives outside of the chroot is cleared > as well. I have attached a patch that appears to fix the problem. I > am not sure if there are any ill side-effects from this patch, but > since the "clean" action sequence also clears /var/tmp/*, is it really > necessary to do it in the stage2-preclean-chroot.sh script? > > -Tom Stellard > -- Andrew Gaffney http://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Catalyst/Genkernel + Release Engineering Lead