From patchwork Tue Feb 28 14:39:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 6973 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 B06AD23EA8 for ; Tue, 28 Feb 2012 14:39:14 +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 6F0A0A1883B for ; Tue, 28 Feb 2012 14:39:14 +0000 (UTC) Received: by iage36 with SMTP id e36so1363336iag.11 for ; Tue, 28 Feb 2012 06:39:13 -0800 (PST) Received: from mr.google.com ([10.43.52.74]) by 10.43.52.74 with SMTP id vl10mr17828373icb.55.1330439953857 (num_hops = 1); Tue, 28 Feb 2012 06:39:13 -0800 (PST) Received: by 10.43.52.74 with SMTP id vl10mr14440136icb.55.1330439953808; Tue, 28 Feb 2012 06:39:13 -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.231.11.10 with SMTP id r10csp9652ibr; Tue, 28 Feb 2012 06:39:12 -0800 (PST) Received: by 10.180.107.68 with SMTP id ha4mr31242959wib.9.1330439952097; Tue, 28 Feb 2012 06:39:12 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id bt3si12992352wib.14.2012.02.28.06.39.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Feb 2012 06:39:12 -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 1S2OCt-0006YK-Hs for ; Tue, 28 Feb 2012 14:39:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7D439E1427 for ; Tue, 28 Feb 2012 14:39:11 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-test X-Launchpad-Branch: ~linaro-validation/lava-test/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 120 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 120: add force-yes option when installing packages in the test image Message-Id: <20120228143911.14916.12203.launchpad@ackee.canonical.com> Date: Tue, 28 Feb 2012 14:39: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="14874"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: a16866ab4358cbdc083c0eeb9cc00a3b8d826ec3 X-Gm-Message-State: ALoCoQlALyrF6PvP4b81CCQbYYWF4A4sUJSaRdn0e/2uhY5xc43H3YKpxq1em/aWwWAqlf/8dr5x Merge authors: Spring Zhang (qzhang) Related merge proposals: https://code.launchpad.net/~qzhang/lava-test/fix-941737/+merge/94711 proposed by: Spring Zhang (qzhang) review: Approve - Paul Larson (pwlars) ------------------------------------------------------------ revno: 120 [merge] committer: Paul Larson branch nick: lava-test timestamp: Tue 2012-02-28 08:37:32 -0600 message: add force-yes option when installing packages in the test image modified: lava_test/core/installers.py --- lp:lava-test https://code.launchpad.net/~linaro-validation/lava-test/trunk You are subscribed to branch lp:lava-test. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-test/trunk/+edit-subscription === modified file 'lava_test/core/installers.py' --- lava_test/core/installers.py 2011-09-12 09:19:10 +0000 +++ lava_test/core/installers.py 2012-02-27 03:15:13 +0000 @@ -62,7 +62,7 @@ if self.deps: if observer: observer.about_to_install_packages(self.deps) # XXX: Possible point of target-specific package installation - cmd = "sudo apt-get install -y " + " ".join(self.deps) + cmd = "sudo apt-get install -y --force-yes " + " ".join(self.deps) self._run_shell_cmd(cmd, observer) if observer: observer.did_install_packages(self.deps)