diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 159: fix hang with add-apt-repository in oneiric

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

Commit Message

Paul Larson Nov. 16, 2011, 4:53 p.m. UTC
Merge authors:
  Paul Larson (pwlars)
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-dispatcher/bug-886209/+merge/82346
  proposed by: Paul Larson (pwlars)
  review: Needs Information - Spring Zhang (qzhang)
------------------------------------------------------------
revno: 159 [merge]
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Wed 2011-11-16 10:51:29 -0600
message:
  fix hang with add-apt-repository in oneiric
modified:
  lava_dispatcher/actions/lava-test.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.py'
--- lava_dispatcher/actions/lava-test.py	2011-11-02 20:22:23 +0000
+++ lava_dispatcher/actions/lava-test.py	2011-11-16 16:50:44 +0000
@@ -161,7 +161,7 @@ 
         client.run_cmd_master('chroot /mnt/root apt-get -y install python-software-properties')
 
         #add ppa
-        client.run_cmd_master('chroot /mnt/root add-apt-repository ' + arg[0])
+        client.run_cmd_master('chroot /mnt/root add-apt-repository %s < /dev/null' % arg[0])
         client.run_cmd_master('chroot /mnt/root apt-get update')
 
         _teardown_testrootfs(client)