diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-09 13:24:46 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-09 13:24:46 +0000 |
commit | b2596ff6b7fe7c6ac250b5b16162cb8fb1849fa3 (patch) | |
tree | 797dc7040a2f2ce60f609445a1f2c433810f9e8a /baserock-bootstrap | |
parent | f07cb579b63a64dde7c42260005b098fb7e23364 (diff) | |
download | morph-b2596ff6b7fe7c6ac250b5b16162cb8fb1849fa3.tar.gz |
Add untested support for ccache through the CCACHE_HOST_DIR variable.
This variable can optionally be set outside the squeeze chroot (that is,
outside the run-bootstrap-in-chroot script. The directory is then bind
mounted into the chroot and baserock-bootstrap will set its CCACHE_DIR
to the location inside the chroot.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-x | baserock-bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap index 036b0b16..7d13c45b 100755 --- a/baserock-bootstrap +++ b/baserock-bootstrap @@ -28,6 +28,7 @@ HOST_SUDO=`which sudo` HOST_READLINK=`which readlink` HOST_CHMOD=`which chmod` +export CCACHE_DIR="/var/tmp/ccache" export PATH="$tools/bin:$tools/sbin:/usr/lib/ccache:/usr/bin:/bin" download() |