Gentoo Archives: gentoo-catalyst

From: Tom Stellard <tstellar@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] ccache cache deleted during stage2 build
Date: Wed, 01 Apr 2009 03:41:55
Message-Id: d24863920903312041p316f684j3857d8968e5dd24f@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] ccache cache deleted during stage2 build by Andrew Gaffney
1 On Wed, Apr 1, 2009 at 11:18 AM, Andrew Gaffney <agaffney@g.o> wrote:
2 > Please file a bug about this.
3 >
4 > Tom Stellard wrote:
5 >> I am using the latest version of catalyst from git(commit
6 >> 16745ae35961557a1205b5c86419d1aa496fcdf7).  I noticed that when the
7 >> stage2-preclean-chroot.sh script calls cleanup_stages() in
8 >> chroot_functions.sh, it deletes everything in $CHROOT_PATH/var/tmp,
9 >> but since $CHROOT_PATH/var/tmp/ccache is still bound to
10 >> /var/tmp/ccache my cache that lives outside of the chroot is cleared
11 >> as well. I have attached a patch that appears to fix the problem.  I
12 >> am not sure if there are any ill side-effects from this patch, but
13 >> since the "clean" action sequence also clears /var/tmp/*, is it really
14 >> necessary to do it in the stage2-preclean-chroot.sh script?
15 >>
16 >> -Tom Stellard
17 >>
18 >
19 >
20 > --
21 > Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
22 > Gentoo Linux Developer            Catalyst/Genkernel + Release Engineering Lead
23 >
24 >
25
26 I have filed a bug report:
27 http://bugs.gentoo.org/show_bug.cgi?id=264457
28
29 -Tom