Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: skolo/raspberry-pi/start_swarming

Issue 1930143002: Make swarming bootstrap at boot, not login (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skolo/raspberry-pi/start_swarming
diff --git a/skolo/raspberry-pi/startup-script.sh b/skolo/raspberry-pi/start_swarming
similarity index 73%
rename from skolo/raspberry-pi/startup-script.sh
rename to skolo/raspberry-pi/start_swarming
index 3fe5b31e647711ec3cb647d513f7fbae45500b59..7111dec12cc5ec4ca264b172ecbb44330c95c019 100644
--- a/skolo/raspberry-pi/startup-script.sh
+++ b/skolo/raspberry-pi/start_swarming
@@ -3,6 +3,10 @@
# Hack to get swarming access to /b
sudo chmod 777 /b
+# Wait 10s to make sure ssl is fully booted. Otherwise, we get an error
+# when trying to download the bootstrap code.
+sleep 10s
stephana 2016/04/29 13:18:41 There is some more evidence that certain python co
kjlubick 2016/04/29 13:53:06 Agreed. I think systemd is more "modern" and more
+
if [ ! -d "/b/swarm_slave" ]; then
cd /b
echo "Bootstrapping swarming, expect a reboot"

Powered by Google App Engine
This is Rietveld 408576698