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

Unified Diff: tools/raspberry-pi2/raspbian_prepare.py

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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
« no previous file with comments | « tools/raspberry-pi2/raspbian-scripts/fletch-configuration ('k') | tools/run_dartino_agent » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/raspberry-pi2/raspbian_prepare.py
diff --git a/tools/raspberry-pi2/raspbian_prepare.py b/tools/raspberry-pi2/raspbian_prepare.py
index 06e895ec867817279955fdea2488a806107b5049..74b84c32c9c25cddf7bb1bd4d42e3bd584a57957 100755
--- a/tools/raspberry-pi2/raspbian_prepare.py
+++ b/tools/raspberry-pi2/raspbian_prepare.py
@@ -5,7 +5,7 @@
# BSD-style license that can be found in the LICENSE file.
#
-# Prepares a raspbian image to support fletch. We use qemu to edit the image
+# Prepares a raspbian image to support dartino. We use qemu to edit the image
# since this allows us to run commands and push data to the image without using
# sudo. This script will "edit" the image in place, so take a copy before using.
@@ -20,7 +20,7 @@ HOSTNAME = 'localhost'
USERNAME = 'pi'
PASSWORD = 'raspberry'
KERNEL = 'third_party/raspbian/kernel/kernel-qemu'
-CONFIG = 'tools/raspberry-pi2/raspbian-scripts/fletch-configuration'
+CONFIG = 'tools/raspberry-pi2/raspbian-scripts/dartino-configuration'
QEMU = 'third_party/qemu/linux/qemu/bin/qemu-system-arm'
PORT = 10022
@@ -48,16 +48,16 @@ def InstallAgent(qemu, agent):
qemu.run_command('rm %s' % deb_dst)
# This will fail, but it lets us validate that the binary was installed.
# (it fails due to the simulated cpu not being armv7)
- qemu.run_command('fletch-vm --version')
+ qemu.run_command('dartino-vm --version')
def InstallConfig(qemu):
- config_dst = '/tmp/fletch-configuration'
+ config_dst = '/tmp/dartino-configuration'
qemu.put_file(CONFIG, config_dst)
- qemu.run_command('sudo cp /tmp/fletch-configuration /etc/init.d')
- qemu.run_command('sudo chown root:root /etc/init.d/fletch-configuration')
- qemu.run_command('sudo chmod 755 /etc/init.d/fletch-configuration')
- qemu.run_command('sudo insserv fletch-configuration')
- qemu.run_command('sudo update-rc.d fletch-configuration enable')
+ qemu.run_command('sudo cp /tmp/dartino-configuration /etc/init.d')
+ qemu.run_command('sudo chown root:root /etc/init.d/dartino-configuration')
+ qemu.run_command('sudo chmod 755 /etc/init.d/dartino-configuration')
+ qemu.run_command('sudo insserv dartino-configuration')
+ qemu.run_command('sudo update-rc.d dartino-configuration enable')
def InstallSrcTarball(qemu, src):
src_dst = os.path.join('/home', 'pi', os.path.basename(src))
« no previous file with comments | « tools/raspberry-pi2/raspbian-scripts/fletch-configuration ('k') | tools/run_dartino_agent » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698