From patchwork Wed Nov 23 02:40:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 5285 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 43DB023E04 for ; Wed, 23 Nov 2011 02:40:23 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 30A95A182C4 for ; Wed, 23 Nov 2011 02:40:23 +0000 (UTC) Received: by faaa26 with SMTP id a26so1611677faa.11 for ; Tue, 22 Nov 2011 18:40:23 -0800 (PST) Received: by 10.152.135.179 with SMTP id pt19mr13292442lab.47.1322016021253; Tue, 22 Nov 2011 18:40:21 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs210657lal; Tue, 22 Nov 2011 18:40:20 -0800 (PST) Received: by 10.180.109.106 with SMTP id hr10mr27948836wib.9.1322016018787; Tue, 22 Nov 2011 18:40:18 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id v7si7675931weq.144.2011.11.22.18.40.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Nov 2011 18:40:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RT2l0-0007Qr-9V for ; Wed, 23 Nov 2011 02:40:18 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 3F046E01E4 for ; Wed, 23 Nov 2011 02:40:18 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 167 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 167: fix extra PS1 for android-ics Message-Id: <20111123024018.10177.35336.launchpad@ackee.canonical.com> Date: Wed, 23 Nov 2011 02:40:18 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14336"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 008acd971fe659fb210c9453561de7d5158ea72a ------------------------------------------------------------ revno: 167 committer: Paul Larson 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 === 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):