diskimage-builder/elements/opensuse/install.d/01-ccache-symlinks
Ralf Haferkamp 831cd69790 Setup ccache symlinks on openSUSE
openSUSE's ccache package doesn't include symlinks to enable ccache
for gcc by default, so we set them up manually.

Change-Id: I79dbe814ff2dfad8158fb1f06d68cc07eae19a41
2014-01-21 22:01:17 +01:00

10 lines
199 B
Bash
Executable File

#!/bin/bash
set -e
# Setup ccache symlinks, as openSUSE's ccache package doesn't
# include them.
mkdir -p /usr/lib/ccache
for tool in cc gcc; do
ln -s /usr/bin/ccache /usr/lib/ccache/$tool
done