diff mbox

[Branch,~linaro-validation/lava-test/trunk] Rev 148: fix bug 1002285: set DEBIAN_FRONTEND=noninteractive when installing test dependencies

Message ID 20120522012312.25621.24865.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson May 22, 2012, 1:23 a.m. UTC
------------------------------------------------------------
revno: 148
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Tue 2012-05-22 13:21:13 +1200
message:
  fix bug 1002285: set DEBIAN_FRONTEND=noninteractive when installing test dependencies
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	2012-03-08 18:05:05 +0000
+++ lava_test/core/installers.py	2012-05-22 01:21:13 +0000
@@ -65,7 +65,7 @@ 
             if observer:
                 observer.about_to_install_packages(self.deps)
             # XXX: Possible point of target-specific package installation
-            cmd = "sudo apt-get install -y --force-yes " + " ".join(self.deps)
+            cmd = "sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes " + " ".join(self.deps)
             self._run_shell_cmd(cmd, observer)
             if observer:
                 observer.did_install_packages(self.deps)