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 1LoVdG-0001kr-K1 for garchives@archives.gentoo.org; Tue, 31 Mar 2009 04:31:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75803E092B; Tue, 31 Mar 2009 04:31:25 +0000 (UTC) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 5787BE092B for ; Tue, 31 Mar 2009 04:31:25 +0000 (UTC) Received: by gxk24 with SMTP id 24so5003955gxk.10 for ; Mon, 30 Mar 2009 21:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Kszdsdge6HujrBu/iCH/w9kOGSxi9SEWu+2YbKswdwA=; b=sc6InTAvx036q8PXJXAmJrZMBpSRElhNpx2NS5dGt8GEFGqn+rK0VWY5mKGquy/Jwo uP9sD4tY6NHRK1wN4AR71gYd+H/HMQz8h87gDCRoWVg2dyUfvPydMNvK1r56FdNk+EFl foczxLg5xqVfwpJu8ATYc/eTqSyNfosudw2jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HrFsIYdSsDQ7VMIDhzABGob2PiGUZ0u9TOTs0icF1DpR4Iia9e480++fzHrio1aVmC ULHmp6iKmGZqHbLUFFRMM5Qh5jSQO9eSpYhmKXDUlCRlmeffaJJuqzRfAJ9jxsNpH7+y CVSPaEM101XtZeJo+zyhklDhhB5S/jmAesYyM= 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 Received: by 10.150.181.7 with SMTP id d7mr11529859ybf.169.1238473885040; Mon, 30 Mar 2009 21:31:25 -0700 (PDT) Date: Tue, 31 Mar 2009 12:31:25 +0800 Message-ID: Subject: [gentoo-catalyst] ccache cache deleted during stage2 build From: Tom Stellard To: gentoo-catalyst@lists.gentoo.org Content-Type: multipart/mixed; boundary=000e0cd6a9f4fb44fd046662abe4 X-Archives-Salt: 82b41ee1-1904-4ff8-8640-8e4114299c76 X-Archives-Hash: a1b41e67e46d7b680b3915b830f3962c --000e0cd6a9f4fb44fd046662abe4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --000e0cd6a9f4fb44fd046662abe4 Content-Type: text/plain; charset=US-ASCII; name="catalyst.diff" Content-Disposition: attachment; filename="catalyst.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fsy33tcx0 ZGlmZiAtLWdpdCBhL3RhcmdldHMvc3VwcG9ydC9jaHJvb3QtZnVuY3Rpb25zLnNoIGIvdGFyZ2V0 cy9zdXBwb3J0L2Nocm9vdC1mdW5jdGlvbnMuc2gKaW5kZXggZjkxZjUzYy4uZmUyMDE5NCAxMDA2 NDQKLS0tIGEvdGFyZ2V0cy9zdXBwb3J0L2Nocm9vdC1mdW5jdGlvbnMuc2gKKysrIGIvdGFyZ2V0 cy9zdXBwb3J0L2Nocm9vdC1mdW5jdGlvbnMuc2gKQEAgLTIxMCw3ICsyMTAsNiBAQCBjbGVhbnVw X3N0YWdlcygpIHsKIAllc2FjCiAKIAlybSAtZiAvdmFyL2xvZy9lbWVyZ2UubG9nIC92YXIvbG9n L3BvcnRhZ2UvZWxvZy8qCi0Jcm0gLXJmIC92YXIvdG1wLyoKIH0KIAogdXBkYXRlX2Vudl9zZXR0 aW5ncygpewo= --000e0cd6a9f4fb44fd046662abe4--