mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-02 20:59:06 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user