copr: set best=0 for epel-8 chroots, but outside of a template
Because having it in a template didn't work for me, so either PEBKAC or we need to figure out, how to do it.
This commit is contained in:
parent
15d06b360f
commit
e10da77da8
4 changed files with 30 additions and 34 deletions
|
@ -0,0 +1,10 @@
|
|||
include('/etc/mock/templates/centos-8.tpl')
|
||||
include('/etc/mock/templates/epel-8.tpl')
|
||||
|
||||
config_opts['root'] = 'epel-8-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
|
||||
# Unfortunately, we need to temporarily set this
|
||||
# See: RHBZ 1756681 and RHBZ 1758467
|
||||
best=False
|
|
@ -0,0 +1,10 @@
|
|||
include('/etc/mock/templates/centos-8.tpl')
|
||||
include('/etc/mock/templates/epel-8.tpl')
|
||||
|
||||
config_opts['root'] = 'epel-8-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
|
||||
# Unfortunately, we need to temporarily set this
|
||||
# See: RHBZ 1756681 and RHBZ 1758467
|
||||
best=False
|
|
@ -0,0 +1,10 @@
|
|||
include('/etc/mock/templates/centos-8.tpl')
|
||||
include('/etc/mock/templates/epel-8.tpl')
|
||||
|
||||
config_opts['root'] = 'epel-8-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
|
||||
# Unfortunately, we need to temporarily set this
|
||||
# See: RHBZ 1756681 and RHBZ 1758467
|
||||
best=False
|
|
@ -1,34 +0,0 @@
|
|||
config_opts['yum.conf'] += """
|
||||
|
||||
# We temporarily want to set this because of RHBZ: 1756681
|
||||
best=0
|
||||
|
||||
[epel]
|
||||
name=epel
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=$basearch
|
||||
failovermethod=priority
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8
|
||||
gpgcheck=1
|
||||
skip_if_unavailable=False
|
||||
|
||||
[testing]
|
||||
name=epel-testing
|
||||
enabled=0
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel8&arch=$basearch
|
||||
failovermethod=priority
|
||||
skip_if_unavailable=False
|
||||
|
||||
[local]
|
||||
name=local
|
||||
baseurl=https://kojipkgs.fedoraproject.org/repos/epel8-build/latest/$basearch/
|
||||
cost=2000
|
||||
enabled=0
|
||||
skip_if_unavailable=False
|
||||
|
||||
[epel-debuginfo]
|
||||
name=epel-debug
|
||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-8&arch=$basearch
|
||||
failovermethod=priority
|
||||
enabled=0
|
||||
skip_if_unavailable=False
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue