Skip to content

Commit

Permalink
pbuilder: Remove use of /var/cache/archive
Browse files Browse the repository at this point in the history
  • Loading branch information
cskarby committed Apr 21, 2015
1 parent 1f03188 commit 7e4d66e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .pbuilderrc
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ else
echo "Unknown distribution: $DIST"
exit 1
fi
OTHERMIRROR="deb file:///var/cache/archive $DIST/"

# ccache
export CCACHE_DIR="/var/cache/pbuilder/ccache/$DIST"
export PATH="/usr/lib/ccache:${PATH}"
mkdir -p "${CCACHE_DIR}" /var/cache/archive
chown -R 1234:root "${CCACHE_DIR}" /var/cache/archive
mkdir -p "${CCACHE_DIR}"
chown -R 1234:root "${CCACHE_DIR}"
chmod 755 "${CCACHE_DIR}"
EXTRAPACKAGES=ccache
BINDMOUNTS="${CCACHE_DIR} /var/cache/archive"
BINDMOUNTS="${CCACHE_DIR}"

0 comments on commit 7e4d66e

Please sign in to comment.