mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-16 13:56:11 +08:00
Fix #641 - mock configuration is hardcoded
This commit is contained in:
14
conf/mock.cfg
Normal file
14
conf/mock.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
config_opts['root'] = '$root'
|
||||
config_opts['target_arch'] = '$arch'
|
||||
config_opts['legal_host_arches'] = ('$arch',)
|
||||
config_opts['chroot_setup_cmd'] = 'install $group'
|
||||
config_opts['dist'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['releasever'] = ''
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['nosync'] = True
|
||||
config_opts['use_bootstrap_container'] = False
|
||||
|
||||
config_opts['yum.conf'] = \"\"\"
|
||||
$yum_conf
|
||||
\"\"\"
|
||||
17
conf/yum.conf
Normal file
17
conf/yum.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
[main]
|
||||
keepcache=1
|
||||
debuglevel=2
|
||||
reposdir=/dev/null
|
||||
logfile=/var/log/yum.log
|
||||
retries=20
|
||||
obsoletes=1
|
||||
gpgcheck=0
|
||||
assumeyes=1
|
||||
syslog_ident=mock
|
||||
syslog_device=
|
||||
install_weak_deps=0
|
||||
metadata_expire=3600
|
||||
mdpolicy=group:primary
|
||||
|
||||
# repos
|
||||
|
||||
Reference in New Issue
Block a user