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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
1 --- 1 ---
2 - hosts: 127.0.0.1 2 - hosts: 127.0.0.1
3 connection: local 3 connection: local
4 remote_user: chrome-bot 4 remote_user: chrome-bot
5 become_user: root 5 become_user: root
6 become: yes 6 become: yes
7 become_method: sudo 7 become_method: sudo
8 vars: 8 vars:
9 image: /opt/rpi_img/2016-03-18-raspbian-jessie-lite.img 9 image: /opt/rpi_img/2016-03-18-raspbian-jessie-lite.img
10 # 8192 * 512 10 # 8192 * 512
(...skipping 10 matching lines...) Expand all
21 # Additionally, I don't necessarily want to update fstab 21 # Additionally, I don't necessarily want to update fstab
22 - command: mount --rbind /dev /opt/raspberrypi/root/dev 22 - command: mount --rbind /dev /opt/raspberrypi/root/dev
23 - command: mount -t proc none /opt/raspberrypi/root/proc 23 - command: mount -t proc none /opt/raspberrypi/root/proc
24 - command: mount -o bind /sys /opt/raspberrypi/root/sys 24 - command: mount -o bind /sys /opt/raspberrypi/root/sys
25 25
26 # Comment out this line in this file so as to avoid 26 # Comment out this line in this file so as to avoid
27 # qemu: uncaught target signal 4 (Illegal instruction) - core dumped 27 # qemu: uncaught target signal 4 (Illegal instruction) - core dumped
28 # Illegal instruction (core dumped) 28 # Illegal instruction (core dumped)
29 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="/usr/lib/ar m-linux-gnueabihf/libarmmem.so" state=absent 29 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="/usr/lib/ar m-linux-gnueabihf/libarmmem.so" state=absent
30 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="#/usr/lib/a rm-linux-gnueabihf/libarmmem.so" state=present 30 - lineinfile: dest=/opt/raspberrypi/root/etc/ld.so.preload line="#/usr/lib/a rm-linux-gnueabihf/libarmmem.so" state=present
31
32 - name: Create the startup script
33 copy: src=start_swarming dest=/opt/raspberrypi/root/opt/start_swarming own er=root group=root mode=0755
34
35 - name: Create the swarming service
36 copy: src=swarming dest=/opt/raspberrypi/root/etc/init.d/swarming owner=ro ot group=root mode=0755
37
31 handlers: 38 handlers:
32 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698