summaryrefslogtreecommitdiffstats
path: root/mock/fc25x.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/fc25x.cfg
parent2ee504dc92c47d8d482ef917b555e213d7d6f98a (diff)
tweak f25 mock config again
Diffstat (limited to 'mock/fc25x.cfg')
-rw-r--r--mock/fc25x.cfg20
1 files changed, 15 insertions, 5 deletions
diff --git a/mock/fc25x.cfg b/mock/fc25x.cfg
index 01e27ef..6ecc192 100644
--- a/mock/fc25x.cfg
+++ b/mock/fc25x.cfg
@@ -1,7 +1,9 @@
config_opts['root'] = 'fc25x'
config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
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
@@ -30,13 +32,15 @@ config_opts['macros']['%runselftest']="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
@@ -44,13 +48,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/
@@ -58,8 +66,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]