summaryrefslogtreecommitdiffstats
path: root/mock/fc25xscl55.cfg
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-28 16:19:40 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-28 16:19:40 +0200
commite99e91587d8088744735001c518067828b40b554 (patch)
tree1985821e1b550c10adec7ad104d4e6b2cfa2947d /mock/fc25xscl55.cfg
parent2ee504dc92c47d8d482ef917b555e213d7d6f98a (diff)
tweak f25 mock config again
Diffstat (limited to 'mock/fc25xscl55.cfg')
-rw-r--r--mock/fc25xscl55.cfg18
1 files changed, 14 insertions, 4 deletions
diff --git a/mock/fc25xscl55.cfg b/mock/fc25xscl55.cfg
index 0fdc78e..f973339 100644
--- a/mock/fc25xscl55.cfg
+++ b/mock/fc25xscl55.cfg
@@ -2,6 +2,8 @@ config_opts['root'] = 'scl55fc25x'
config_opts['target_arch'] = 'x86_64'
config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php55-build php55-php-devel php55-php-pear'
config_opts['dist'] = 'fc25' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '25'
config_opts['package_manager'] = 'dnf'
config_opts['plugin_conf']['ccache_enable'] = True
@@ -33,13 +35,15 @@ config_opts['macros']['%nophptag']="1"
config_opts['yum.conf'] = """
[main]
-debuglevel=1
+keepcache=1
+debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
+metadata_expire=10
fastestmirror=1
max_parallel_downloads=6
@@ -47,13 +51,17 @@ max_parallel_downloads=6
[fedora]
name=fedora
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-25&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
+failovermethod=priority
+#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-25&arch=x86_64
#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/25/Everything/x86_64/os/
# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/25/Everything/x86_64/os/
[updates-released]
name=updates
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f25&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
+failovermethod=priority
+#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f25&arch=x86_64
#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/
# http://mirrors.ircam.fr/pub/fedora/linux/updates/25/x86_64/
# http://fr2.rpmfind.net/linux/fedora/updates/25/x86_64/
@@ -61,8 +69,10 @@ enabled=1
[updates-testing]
name=updates-testing
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
+failovermethod=priority
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f25&arch=x86_64
-baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/25/x86_64/
+#baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/25/x86_64/
enabled=1
[remi]