From f4d90c447d391e9335b18d803770ab449b340578 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Sat, 14 Aug 2021 18:30:07 +0200 Subject: [PATCH] prepare vpython virtual environment try changing current dir --- images/bromite-build/pre-start.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/images/bromite-build/pre-start.sh b/images/bromite-build/pre-start.sh index 5ab4e99..095a976 100644 --- a/images/bromite-build/pre-start.sh +++ b/images/bromite-build/pre-start.sh @@ -22,10 +22,11 @@ echo "nomatter" >$WORKSPACE/.debug_auth_file sudo cp $WORKSPACE/goma_auth.py $WORKSPACE/goma/ echo -e ${RED} -------- prepare vpython virtual environment -sudo mkdir /github/home/.vpython_cipd_cache +sudo mkdir -p /github/home/.vpython_cipd_cache sudo chown lg /github/home/.vpython_cipd_cache -sudo mkdir /github/home/.vpython-root +sudo mkdir -p /github/home/.vpython-root sudo chown lg /github/home/.vpython-root -vpython -vpython-spec ~/working_dir/chromium/src/.vpython -vpython-log-level debug -vpython-tool install +cd $WORKSPACE/chromium/src +vpython -vpython-spec .vpython -vpython-log-level debug -vpython-tool install