local builds: Don't call mock with -v

Verbose output from mock is not useful for someone trying to figure out
why their module build failed, and in fact makes it harder by adding
quite a bit of extraneous noise.
This commit is contained in:
Owen W. Taylor
2020-10-29 11:04:59 -04:00
parent debfd8a5c5
commit 728b96133d

View File

@@ -655,7 +655,7 @@ class MockModuleBuilder(GenericBuilder):
try:
# Initialize mock.
execute_cmd(
["mock", "-v", "-r", mock_config, "--init"],
["mock", "-r", mock_config, "--init"],
output=mock_output_log,
)
@@ -804,7 +804,7 @@ class BaseBuilder(object):
def __init__(self, config, resultsdir):
self.config = config
self.resultsdir = resultsdir
self.cmd = ["mock", "-v", "-r", config, "--no-clean", "--resultdir=%s" % resultsdir]
self.cmd = ["mock", "-r", config, "--no-clean", "--resultdir=%s" % resultsdir]
def build(self, output):
execute_cmd(self.cmd, output=output)