[Pbuilder-maint] Bug#430765: please add ccache support

Mike Hommey mh at glandium.org
Wed Jun 27 18:10:39 UTC 2007


On Wed, Jun 27, 2007 at 10:34:11AM +0200, Steinar H. Gunderson <sesse at debian.org> wrote:
> Package: pbuilder
> Version: 0.170
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> As discussed on the boat under DebConf, here's a patch to enable ccache
> support in pbuilder. I've only tested it lightly, but it seems to work
> well.

I looks a bit overkill to copy the cache over... why not just bind mount
it ?

FWIW, the simple setup that just works(tm):
    export CCACHE_DIR="/var/cache/pbuilder/ccache"
    export PATH="/usr/lib/ccache:${PATH}"
    EXTRAPACKAGES=ccache
    BINDMOUNTS="${CCACHE_DIR}" 

BTW, why not use CCACHE_DIR instead of CCACHE_LOCATION ?

Mike




More information about the Pbuilder-maint mailing list