From patchwork Mon Aug 13 23:00:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 10713 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 2288723E29 for ; Mon, 13 Aug 2012 23:00:22 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id B6C21A18542 for ; Mon, 13 Aug 2012 23:00:21 +0000 (UTC) Received: by yhpp61 with SMTP id p61so3916961yhp.11 for ; Mon, 13 Aug 2012 16:00:21 -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=JyIOjVAkdZWurJQRt4TFA9mEL21Gwi8lKvNNePSeUn4=; b=RHv6DhguJfoJ/VxnqzxBO8KFZif0JY8bzjzVkBv09eUcDXmfUgMe5ASPpnT/PnEzrM qXt8pRPaW5u7sjkb+bGBnRPsDOlSN6xsgf49UQDJzLUxfomG5VjQApUmIYMwv4q7Q/yC 6OzVKeDojnOzQp3F41zARv3JMB9t5DrZWuTg21dD9TYA23mrv202tQjMH2DF+7MnpuZh RN4NXczUW9b0JtJV8BBeR/aiHOeK7349vNUKQ5JMWXtEHFohxlVrpvpEX70Nkp9Kmyef wzpOj1nUbYNK96FI6WaFuM8w8aCwoPGMTxoT6y4HDeAnQJdh9V0wLN8dh/rBNfT6cAED 2Z9Q== Received: by 10.50.159.135 with SMTP id xc7mr7945314igb.9.1344898820849; Mon, 13 Aug 2012 16:00:20 -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.50.184.200 with SMTP id ew8csp202222igc; Mon, 13 Aug 2012 16:00:19 -0700 (PDT) Received: by 10.180.81.66 with SMTP id y2mr22198128wix.22.1344898818848; Mon, 13 Aug 2012 16:00:18 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fk3si21509982wib.10.2012.08.13.16.00.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Aug 2012 16:00:18 -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 1T13cP-0004Uc-WA for ; Mon, 13 Aug 2012 23:00:18 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id E6840E017C for ; Mon, 13 Aug 2012 23:00:17 +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: 370 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 370: don't run linaro-android-media-create with sudo Message-Id: <20120813230017.25108.66813.launchpad@ackee.canonical.com> Date: Mon, 13 Aug 2012 23:00:17 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15791"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 33a95f298b289ed5944eebdcccef6a1e689fa543 X-Gm-Message-State: ALoCoQmQ8iy3aDnMlhxFoAOBosNdfoEYnvuyLAi+bJq9ypn3YbPX+OEHXSXScdW5802Teojq2SEp Merge authors: Alexander Sack (asac) Related merge proposals: https://code.launchpad.net/~asac/lava-dispatcher/drop-redundant-sudo-lamc/+merge/119105 proposed by: Alexander Sack (asac) ------------------------------------------------------------ revno: 370 [merge] committer: Andy Doan branch nick: lava-dispatcher timestamp: Mon 2012-08-13 17:58:53 -0500 message: don't run linaro-android-media-create with sudo modified: lava_dispatcher/client/lmc_utils.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/lmc_utils.py' --- lava_dispatcher/client/lmc_utils.py 2012-07-22 00:43:26 +0000 +++ lava_dispatcher/client/lmc_utils.py 2012-08-10 10:18:06 +0000 @@ -106,10 +106,10 @@ _run_linaro_media_create(cmd) def generate_android_image(device, boot, data, system, ofile, size="2000M"): - cmd = ("flock /var/lock/lava-lmc.lck sudo linaro-android-media-create " + cmd = ("flock /var/lock/lava-lmc.lck linaro-android-media-create " "--dev %s --image_file %s --image_size %s " "--boot %s --userdata %s --system %s" % - (device, ofile, size, boot, data,system) ) + (device, ofile, size, boot, data, system) ) logging.info("Generating android image with: %s" % cmd) _run_linaro_media_create(cmd)