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

Unified Diff: skolo/raspberry-pi/setup_for_chroot.yml

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/setup_for_chroot.yml
diff --git a/skolo/raspberry-pi/setup_for_chroot.yml b/skolo/raspberry-pi/setup_for_chroot.yml
index 6efe1fb452f4f30b4568c86587b8139040328014..33190364334df9a926c11fd16b96b2ae3691bfaf 100644
--- a/skolo/raspberry-pi/setup_for_chroot.yml
+++ b/skolo/raspberry-pi/setup_for_chroot.yml
@@ -28,5 +28,12 @@
# Illegal instruction (core dumped)
- lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="/usr/lib/arm-linux-gnueabihf/libarmmem.so" state=absent
- lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="#/usr/lib/arm-linux-gnueabihf/libarmmem.so" state=present
+
+ - name: Create the startup script
+ copy: src=start_swarming dest=/opt/raspberrypi/root/opt/start_swarming owner=root group=root mode=0755
+
+ - name: Create the swarming service
+ copy: src=swarming dest=/opt/raspberrypi/root/etc/init.d/swarming owner=root group=root mode=0755
+
handlers:

Powered by Google App Engine
This is Rietveld 408576698