mock 2.7 requires additional config options
Mock 2.7 defaults to using dnf. The centos 7 mock config must provide additional arguements to ensure a sane yum environment. With out them it will try to use dnf. Closes-Bug: 1916275 Signed-off-by: Scott Little <scott.little@windriver.com> Change-Id: I4801accf05b68e1e0bdf8975d1b4d989fd0a303f
This commit is contained in:
parent
1d669071f9
commit
0972ffe246
@ -4,6 +4,9 @@ config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
||||
config_opts['releasever'] = '7'
|
||||
config_opts['package_manager'] = 'yum'
|
||||
config_opts['use_bootstrap'] = False
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_networking'] = False
|
||||
|
||||
|
||||
|
@ -4,6 +4,9 @@ config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
||||
config_opts['releasever'] = '7'
|
||||
config_opts['package_manager'] = 'yum'
|
||||
config_opts['use_bootstrap'] = False
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_networking'] = False
|
||||
|
||||
|
||||
|
@ -4,6 +4,9 @@ config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
||||
config_opts['releasever'] = '7'
|
||||
config_opts['package_manager'] = 'yum'
|
||||
config_opts['use_bootstrap'] = False
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_networking'] = False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user