diff mbox

[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
State Accepted
Headers show

Commit Message

Paul Larson Feb. 28, 2012, 2:39 p.m. UTC
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 <paul.larson@linaro.org>
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
diff mbox

Patch

=== 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)