summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-11-06 18:52:19 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-11-06 18:52:19 -0600
commita6cb404ac205e47210de1fa1f07f11571182c18c (patch)
tree7380bc1a1ed35f05f16f0ec0917faa5bc3f96f60 /src
parent1400a6e791c83a88e5de73a7c995cbe74f17c616 (diff)
downloadbcfg2-a6cb404ac205e47210de1fa1f07f11571182c18c.tar.gz
bcfg2-a6cb404ac205e47210de1fa1f07f11571182c18c.tar.bz2
bcfg2-a6cb404ac205e47210de1fa1f07f11571182c18c.zip
Portage: Turn off pipe detection in equery
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/Portage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/Portage.py b/src/lib/Client/Tools/Portage.py
index 571f349d9..17163afa9 100644
--- a/src/lib/Client/Tools/Portage.py
+++ b/src/lib/Client/Tools/Portage.py
@@ -48,8 +48,9 @@ class Portage(Bcfg2.Client.Tools.PkgTool):
if self.installed[entry.attrib['name']] == entry.attrib['version']:
if not self.setup['quick'] and \
entry.get('verify', 'true') == 'true':
- output = self.cmd.run("/usr/bin/equery check '=%s-%s' 2>&1 |grep '!!!' | awk '{print $2}'" \
- % (entry.get('name'), entry.get('version')))[1]
+ output = self.cmd.run("/usr/bin/equery -N check '=%s-%s' 2>&1 "
+ "| grep '!!!' | awk '{print $2}'" \
+ % (entry.get('name'), entry.get('version')))[1]
if [filename for filename in output \
if filename not in modlist]:
return False