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

Side by Side Diff: tools/raspberry-pi2/qemufy-image.sh

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 2 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE.md file. 4 # BSD-style license that can be found in the LICENSE.md file.
5 # 5 #
6 # Script for preparing the Raspberry Pi2 image for easy installation of the 6 # Script for preparing the Raspberry Pi2 image for easy installation of the
7 # fletch agent. All this script does is basically to comment out a few lines 7 # fletch agent. All this script does is basically to comment out a few lines
8 # in /etc/fstab and /etc/ld.so.preload. 8 # in /etc/fstab and /etc/ld.so.preload.
9 # 9 #
10 # It is expected that the script producing the actual release image will remove 10 # It is expected that the script producing the actual release image will remove
11 # the comment characters to reenable the full system for running on the pi. 11 # the comment characters to reenable the full system for running on the pi.
12 # 12 #
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 sudo mount $1 -o loop,offset=$((122880*512)),rw $MOUNT_DIR 53 sudo mount $1 -o loop,offset=$((122880*512)),rw $MOUNT_DIR
54 54
55 echo "Fixing ld.so.preload" 55 echo "Fixing ld.so.preload"
56 sudo sed -i 's/^/#/' $MOUNT_DIR/etc/ld.so.preload 56 sudo sed -i 's/^/#/' $MOUNT_DIR/etc/ld.so.preload
57 57
58 echo "Fixing fstab" 58 echo "Fixing fstab"
59 sudo sed -i '/mmcblk/s/^/#/g' $MOUNT_DIR/etc/fstab 59 sudo sed -i '/mmcblk/s/^/#/g' $MOUNT_DIR/etc/fstab
60 60
61 echo "Umounting" 61 echo "Umounting"
62 sudo umount $MOUNT_DIR 62 sudo umount $MOUNT_DIR
OLDNEW
« no previous file with comments | « tools/raspberry-pi2/prepare-image.sh ('k') | tools/raspberry-pi2/raspbian-scripts/fletch-configuration » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698