From patchwork Thu Aug 18 15:10:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 3509 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 B9F4123F26 for ; Thu, 18 Aug 2011 15:10:17 +0000 (UTC) Received: from mail-ew0-f52.google.com (mail-ew0-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id B03DDA187B1 for ; Thu, 18 Aug 2011 15:10:17 +0000 (UTC) Received: by mail-ew0-f52.google.com with SMTP id 28so1105372ewy.11 for ; Thu, 18 Aug 2011 08:10:17 -0700 (PDT) Received: by 10.213.32.131 with SMTP id c3mr1805866ebd.94.1313680217460; Thu, 18 Aug 2011 08:10:17 -0700 (PDT) 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.213.102.5 with SMTP id e5cs78560ebo; Thu, 18 Aug 2011 08:10:16 -0700 (PDT) Received: by 10.227.207.15 with SMTP id fw15mr2089012wbb.66.1313680215810; Thu, 18 Aug 2011 08:10:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id fs19si3600607wbb.22.2011.08.18.08.10.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Aug 2011 08:10:15 -0700 (PDT) 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 1Qu4EZ-0005A4-Cw for ; Thu, 18 Aug 2011 15:10:15 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 5834BE0304 for ; Thu, 18 Aug 2011 15:10:15 +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: 86 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 86: Fix bug #821385 auto-mount prevent formating on testboot and testrootfs from Spring Zhang Message-Id: <20110818151015.21765.27643.launchpad@ackee.canonical.com> Date: Thu, 18 Aug 2011 15:10:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13697"; Instance="initZopeless config overlay" X-Launchpad-Hash: 4a7200680fd64a970a377ce1261ed4cf2c36c880 Merge authors: Spring Zhang (qzhang) Related merge proposals: https://code.launchpad.net/~qzhang/lava-dispatcher/fix-bug-821385/+merge/72040 proposed by: Spring Zhang (qzhang) ------------------------------------------------------------ revno: 86 [merge] committer: Paul Larson branch nick: lava-dispatcher timestamp: Thu 2011-08-18 15:08:04 +0100 message: Fix bug #821385 auto-mount prevent formating on testboot and testrootfs from Spring Zhang modified: lava_dispatcher/actions/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/deploy.py' --- lava_dispatcher/actions/deploy.py 2011-08-18 14:05:24 +0000 +++ lava_dispatcher/actions/deploy.py 2011-08-18 14:08:04 +0000 @@ -153,6 +153,9 @@ client = self.client print "Deploying linaro image" client.run_shell_command( + 'umount /dev/disk/by-label/testrootfs', + response = MASTER_STR) + client.run_shell_command( 'mkfs.ext3 -q /dev/disk/by-label/testrootfs -L testrootfs', response = MASTER_STR) client.run_shell_command( @@ -177,6 +180,9 @@ def deploy_linaro_bootfs(self, bootfs): client = self.client client.run_shell_command( + 'umount /dev/disk/by-label/testboot', + response = MASTER_STR) + client.run_shell_command( 'mkfs.vfat /dev/disk/by-label/testboot -n testboot', response = MASTER_STR) client.run_shell_command(