On Wed, Jun 27, 2007 at 10:34:11AM +0200, Steinar H. Gunderson <[EMAIL 
PROTECTED]> 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to