From patchwork Wed Mar 21 05:49:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spring Zhang X-Patchwork-Id: 7381 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 1580723E13 for ; Wed, 21 Mar 2012 05:49:15 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id CF2C5A187D3 for ; Wed, 21 Mar 2012 05:49:14 +0000 (UTC) Received: by iage36 with SMTP id e36so1484249iag.11 for ; Tue, 20 Mar 2012 22:49:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=QFPuVa9AceSfgUpFYl4AuhZ7Q2B5rK4Yv2vOkHcAyNY=; b=KOa1o9l0UnHBkG0CIx/u8VikAVJSWbPQIXQxvtXM8nQ4Yf9lMoOxFq6wJyKUioxj+k Vrnq3m6LikVLgmalmSbiSpuGVVRCfi43ADvNkf3bMSzz4a8rFjqJyS0dqzUK57IpwnN8 +DXKWqGQ8InF51R54n29dKGBzSVEPNnHNbHcS0fdIdN5EhjKWtY5BUvlrFiNCzsbXdx7 OgFi2XpbCINh4BsJyRSHNUd0ZWnAEq3ySY7CJ7pPOSluCEKjMVHjqIILE4B+6cdNIRqA 1/E6rI/wom0/Ru/9RiLh+OisaRe1hCwkHOSg17iKIWLvhtpjYGuMBwxjS0JrA8RWj+1J vSag== Received: by 10.50.47.231 with SMTP id g7mr10663974ign.12.1332308954266; Tue, 20 Mar 2012 22:49:14 -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.231.203.79 with SMTP id fh15csp1940ibb; Tue, 20 Mar 2012 22:49:13 -0700 (PDT) Received: by 10.180.81.37 with SMTP id w5mr5862151wix.16.1332308952656; Tue, 20 Mar 2012 22:49:12 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id 6si708583wiz.41.2012.03.20.22.49.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 22:49:12 -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 1SAEQ3-0000Fk-US for ; Wed, 21 Mar 2012 05:49:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id DCCEBE012C for ; Wed, 21 Mar 2012 05:49:11 +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: 260 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 260: umount 'sdcard' label partition before format Message-Id: <20120321054911.18965.5245.launchpad@ackee.canonical.com> Date: Wed, 21 Mar 2012 05:49:11 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14981"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: e33624ce049d3168e465e201fc4481dca32d3942 X-Gm-Message-State: ALoCoQlWaZmxyYPCMCt6BHCw/hczjiNLGV1M/sq4Prhe2gkchDMCOPeA+4yEC+A2hGCut/7f5Al3 Merge authors: Spring Zhang (qzhang) Related merge proposals: https://code.launchpad.net/~qzhang/lava-dispatcher/fix-sdcard-format/+merge/98558 proposed by: Spring Zhang (qzhang) ------------------------------------------------------------ revno: 260 [merge] committer: Spring Zhang branch nick: fix-959957 timestamp: Wed 2012-03-21 13:43:15 +0800 message: umount 'sdcard' label partition before format modified: lava_dispatcher/client/master.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/client/master.py' --- lava_dispatcher/client/master.py 2012-03-19 22:20:07 +0000 +++ lava_dispatcher/client/master.py 2012-03-20 06:59:13 +0000 @@ -199,6 +199,7 @@ def _deploy_linaro_android_data(session, datatbz2): ##consider the compatiblity, here use the existed sdcard partition data_label = 'sdcard' + session.run('umount /dev/disk/by-label/%s' % data_label, failok=True) session.run('mkfs.ext4 -q /dev/disk/by-label/%s -L %s' % (data_label, data_label)) session.run('udevadm trigger') session.run('mkdir -p /mnt/lava/data')