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

Side by Side Diff: skolo/raspberry-pi/setup-swarming.sh

Issue 1933243002: Mount sd partitions as noatime and fix df (Closed) Base URL: https://skia.googlesource.com/buildbot@script-on-start
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
« no previous file with comments | « skolo/raspberry-pi/finalize_image.yml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Sets up the chrome-bot swarming user and installs python adb to /opt/adb 2 # Sets up the chrome-bot swarming user and installs python adb to /opt/adb
3 3
4 set -ex 4 set -ex
5 5
6 sudo chroot /opt/raspberrypi/root/ 6 sudo chroot /opt/raspberrypi/root/
7 7
8 rm /etc/localtime 8 rm /etc/localtime
9 ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime 9 ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
10 10
(...skipping 20 matching lines...) Expand all
31 pip install rsa 31 pip install rsa
32 pip install libusb1 32 pip install libusb1
33 33
34 if [ ! -f /opt/adb ] 34 if [ ! -f /opt/adb ]
35 then 35 then
36 git clone https://github.com/google/python-adb 36 git clone https://github.com/google/python-adb
37 ./python-adb/make_tools.py 37 ./python-adb/make_tools.py
38 ln python-adb/adb.zip adb 38 ln python-adb/adb.zip adb
39 fi 39 fi
40 40
41 # Fix df
42 ln -s /proc/mounts /etc/mtab
43
41 # Make swarming run on boot 44 # Make swarming run on boot
42 update-rc.d swarming defaults 90 45 update-rc.d swarming defaults 90
43 # Adb can now be used by python /opt/adb 46 # Adb can now be used by python /opt/adb
44 exit 47 exit
OLDNEW
« no previous file with comments | « skolo/raspberry-pi/finalize_image.yml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698