summaryrefslogtreecommitdiffstats
path: root/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
commitaf76318689bfe2b740833353e59afd3064257bbf (patch)
tree5c80fb64212375861f7561afb2eb985ccc08dd04 /fc25xscl55.cfg
parentc203dd495e02bff3efe299cf170f6205b53f52da (diff)
tweak f25 mock config again
Diffstat (limited to 'fc25xscl55.cfg')
-rw-r--r--fc25xscl55.cfg18
1 files changed, 14 insertions, 4 deletions
diff --git a/fc25xscl55.cfg b/fc25xscl55.cfg
index 0fdc78e..f973339 100644
--- a/fc25xscl55.cfg
+++ b/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]