From patchwork Thu Oct 20 13:03:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spring Zhang X-Patchwork-Id: 4747 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 5C3EC23EFA for ; Thu, 20 Oct 2011 13:03:18 +0000 (UTC) Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 414CDA18136 for ; Thu, 20 Oct 2011 13:03:18 +0000 (UTC) Received: by bkbzs2 with SMTP id zs2so4885264bkb.11 for ; Thu, 20 Oct 2011 06:03:18 -0700 (PDT) Received: by 10.223.85.139 with SMTP id o11mr18262301fal.0.1319115796325; Thu, 20 Oct 2011 06:03:16 -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.152.1.71 with SMTP id 7cs120131lak; Thu, 20 Oct 2011 06:03:15 -0700 (PDT) Received: by 10.227.59.70 with SMTP id k6mr3947569wbh.24.1319115795010; Thu, 20 Oct 2011 06:03:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id gg21si6888430wbb.84.2011.10.20.06.03.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 06:03:14 -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 1RGsHC-0005CT-JN for ; Thu, 20 Oct 2011 13:03:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 8D28EFADF1 for ; Thu, 20 Oct 2011 13:03:14 +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: 141 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 141: Update l-m-c cmdline options Message-Id: <20111020130314.25449.82725.launchpad@ackee.canonical.com> Date: Thu, 20 Oct 2011 13:03:14 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14165"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: f2f56aab94cde83d42f99a7f1d908b2b82db0a64 Merge authors: Spring Zhang (qzhang) Related merge proposals: https://code.launchpad.net/~qzhang/lava-dispatcher/fix-863091/+merge/79937 proposed by: Spring Zhang (qzhang) review: Approve - Yongqin Liu (liuyq0307) ------------------------------------------------------------ revno: 141 [merge] committer: Spring Zhang branch nick: fix-863091 timestamp: Thu 2011-10-20 21:00:49 +0800 message: Update l-m-c cmdline options 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-10-14 19:31:25 +0000 +++ lava_dispatcher/actions/deploy.py 2011-10-20 10:19:30 +0000 @@ -164,7 +164,7 @@ raise RuntimeError("linaro-hwpack-replace failed: %s" % output) cmd = ("sudo flock /var/lock/lava-lmc.lck linaro-media-create --hwpack-force-yes --dev %s " - "--image_file %s --binary %s --hwpack %s --image_size 3G" % + "--image-file %s --binary %s --hwpack %s --image-size 3G" % (client.device_type, image_file, rootfs_path, hwpack_path)) logging.info("Executing the linaro-media-create command") logging.info(cmd)