blob: cf00f3436b842a3c73523d12e19fa4fbdcbffa17 [file] [log] [blame]
{
while [ -z "$(df -v | grep sdb)" ]; do
echo "/dev/sdb not yet attached..."
sleep 1
done
if [ -z "$1" ]; then
SKIA_REPO_DIR="skia-master"
else
SKIA_REPO_DIR="$1"
fi
export PATH="$PATH:/home/default/$SKIA_REPO_DIR/depot_tools"
mkdir -p ~/$SKIA_REPO_DIR
cd ~/$SKIA_REPO_DIR
gclient config https://skia.googlesource.com/buildbot.git
gclient sync --force
cd buildbot
python scripts/launch_master.py --loop
} > ~/reboot.log 2>&1