aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pbuilderrc.ccache8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/pbuilderrc.ccache b/examples/pbuilderrc.ccache
new file mode 100644
index 0000000..cc963af
--- /dev/null
+++ b/examples/pbuilderrc.ccache
@@ -0,0 +1,8 @@
+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