diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 489: ensure a noninteractive installer for lava-test-shell deps

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

Commit Message

Andy Doan Dec. 6, 2012, 10:40 p.m. UTC
------------------------------------------------------------
revno: 489
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-dispatcher
timestamp: Thu 2012-12-06 16:38:56 -0600
message:
  ensure a noninteractive installer for lava-test-shell deps
  
  discovered while trying to install cpuburn
modified:
  lava_dispatcher/actions/lava_test_shell.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
diff mbox

Patch

=== modified file 'lava_dispatcher/actions/lava_test_shell.py'
--- lava_dispatcher/actions/lava_test_shell.py	2012-12-04 01:24:51 +0000
+++ lava_dispatcher/actions/lava_test_shell.py	2012-12-06 22:38:56 +0000
@@ -103,7 +103,6 @@ 
 # After the test run has completed, the /lava/results directory is pulled over
 # to the host and turned into a bundle for submission to the dashboard.
 
-from glob import glob
 import logging
 import os
 import pexpect
@@ -383,7 +382,7 @@ 
             deps = self.testdef['install'].get('deps', [])
             if deps:
                 f.write('sudo apt-get update\n')
-                f.write('sudo apt-get install -y ')
+                f.write('sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -q ')
                 for dep in deps:
                     f.write('%s ' % dep)
                 f.write('\n')