diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-02 17:12:47 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-02 17:15:32 +0100 |
commit | 59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba (patch) | |
tree | c3d13e71335ee6ec35b79971f0a259b2bc890932 /examples | |
parent | adf712fc4a1037f68d19aa30c0f010d3e1588153 (diff) | |
download | pbuilder-59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba.tar pbuilder-59082fcfab2b7f4272a0bb0f3a812fc779e9f5ba.tar.gz |
Add builtin ccache support, enabled by default
Add builtin support for using ccache in pbuilder and enable it by
default. Ship a new /var/cache/pbuilder/ccache dir and bind-mount and
chown it to BUILDUSERID at build time. Install/remove ccache
automatically on create/update if CCACHEDIR is set/unset. Update docs
and remove old ccache config example. Add a NEWS entry featuring the
change.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pbuilderrc.ccache | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/pbuilderrc.ccache b/examples/pbuilderrc.ccache deleted file mode 100644 index cc963af..0000000 --- a/examples/pbuilderrc.ccache +++ /dev/null @@ -1,8 +0,0 @@ -export CCACHE_DIR="/var/cache/pbuilder/ccache" -export PATH="/usr/lib/ccache:${PATH}" -EXTRAPACKAGES="ccache ${EXTRAPACKAGES}" -BINDMOUNTS="${CCACHE_DIR} ${BINDMOUNTS}" -mkdir -p "${CCACHE_DIR}" 2> /dev/null || true -if [ -n "${BUILDUSERID}" ]; then - chown "${BUILDUSERID}":"${BUILDUSERID}" "${CCACHE_DIR}" || true -fi |