Skip to content

Commit faa5c90

Browse files
authored
Place the buildbot home on /b
To avoid ccache issues
1 parent b65c78f commit faa5c90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

buildbot/buildbot_init.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
9595

9696
userdel buildbot
9797
groupadd buildbot
98-
useradd buildbot -g buildbot -m -d /var/lib/buildbot
98+
useradd buildbot -g buildbot -m -d /b/home
99+
rm -rf /var/lib/buildbot
100+
ln -s /b/home /var/lib/buildbot
101+
chmod 777 /var/lib/buildbot
99102

100103
if [[ "${HOSTNAME}" == ml-opt-dev* ]]
101104
then
@@ -157,6 +160,7 @@ chown buildbot:buildbot $TENSORFLOW_API_PATH
157160

158161
rm -f /b/buildbot.tac
159162

163+
160164
WORKER_NAME="$(hostname)"
161165
WORKER_PASSWORD="$(gsutil cat gs://ml-compiler-opt-buildbot/buildbot_password)"
162166

0 commit comments

Comments
 (0)