diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 167: fix extra PS1 for android-ics

Message ID 20111123024018.10177.35336.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson Nov. 23, 2011, 2:40 a.m. UTC
------------------------------------------------------------
revno: 167
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Tue 2011-11-22 20:38:04 -0600
message:
  fix extra PS1 for android-ics
modified:
  lava_dispatcher/actions/android_deploy.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/actions/android_deploy.py'
--- lava_dispatcher/actions/android_deploy.py	2011-11-15 08:08:40 +0000
+++ lava_dispatcher/actions/android_deploy.py	2011-11-23 02:38:04 +0000
@@ -204,6 +204,8 @@ 
             "/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0" %sdcard_part_lava
         client.run_cmd_master(
             'sed -i "%s" /mnt/lava/system/etc/vold.fstab' % sed_cmd)
+        #Change the prompt if it exists in mkshrc also
+        client.run_cmd_master('sed -i "s/^PS1=.*$/PS1=\'root@linaro: \'/" /mnt/lava/system/etc/mkshrc')
         client.run_cmd_master('umount /mnt/lava/system')
 
     def purge_linaro_android_sdcard(self):