parent
90921a8485
commit
f8b26a1bcf
2 changed files with 12 additions and 12 deletions
|
|
@ -296,14 +296,14 @@ class BuildRoot(object):
|
|||
# Append opts['plugin_conf'] to enable Mock package signing
|
||||
if 'mock.plugin_conf.sign_enable' in self.config['extra']:
|
||||
# check rest of configuration
|
||||
if ('mock.plugin_conf.sign_cmd' not in self.config['extra'] or
|
||||
'mock.plugin_conf.sign_opts' not in self.config['extra']):
|
||||
if ('mock.plugin_conf.sign_opts.cmd' not in self.config['extra'] or
|
||||
'mock.plugin_conf.sign_opts.opts' not in self.config['extra']):
|
||||
raise koji.GenericError("Tag is not configured properly for mock's sign plugin'")
|
||||
opts['plugin_conf'] = {
|
||||
'sign_enable': self.config['extra']['mock.plugin_conf.sign_enable'],
|
||||
'sign_opts': {
|
||||
'cmd': self.config['extra']['mock.plugin_conf.sign_cmd'],
|
||||
'opts': self.config['extra']['mock.plugin_conf.sign_opts'],
|
||||
'cmd': self.config['extra']['mock.plugin_conf.sign_opts.cmd'],
|
||||
'opts': self.config['extra']['mock.plugin_conf.sign_opts.opts'],
|
||||
}
|
||||
}
|
||||
if self.internal_dev_setup is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue