summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-07 19:58:49 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-07 19:58:49 +0100
commit50f5f1e924e48474f8dec32c4135d19fd183a3e8 (patch)
treef74d610cb8d66ce0be547e759cb4a9874d41a3a7 /hosts/profitbricks-build3-amd64
parent40b8019f210d18fdd069ae57d5a651bfafc504e1 (diff)
downloadjenkins.debian.net-50f5f1e924e48474f8dec32c4135d19fd183a3e8.tar.xz
reproducible fedora: try harder to configure mock correctly
Diffstat (limited to 'hosts/profitbricks-build3-amd64')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/fedora-23-x86_64.cfg61
-rw-r--r--hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src (renamed from hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src)2
2 files changed, 62 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/fedora-23-x86_64.cfg b/hosts/profitbricks-build3-amd64/etc/fedora-23-x86_64.cfg
new file mode 100644
index 00000000..c05a8452
--- /dev/null
+++ b/hosts/profitbricks-build3-amd64/etc/fedora-23-x86_64.cfg
@@ -0,0 +1,61 @@
+config_opts['root'] = 'fedora-23-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['legal_host_arches'] = ('x86_64',)
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc23' # only useful for --resultdir variable subst
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+debuglevel=1
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+
+# repos
+
+[fedora]
+name=fedora
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-23&arch=x86_64
+failovermethod=priority
+
+[updates]
+name=updates
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f23&arch=x86_64
+failovermethod=priority
+
+[updates-testing]
+name=updates-testing
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f23&arch=x86_64
+failovermethod=priority
+enabled=0
+
+[local]
+name=local
+baseurl=http://kojipkgs.fedoraproject.org/repos/f23-build/latest/x86_64/
+cost=2000
+enabled=0
+
+[fedora-debuginfo]
+name=fedora-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-23&arch=x86_64
+failovermethod=priority
+enabled=0
+
+[updates-debuginfo]
+name=updates-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f23&arch=x86_64
+failovermethod=priority
+enabled=0
+
+[updates-testing-debuginfo]
+name=updates-testing-debuginfo
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f23&arch=x86_64
+failovermethod=priority
+enabled=0
+"""
diff --git a/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src b/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src
index 78a7e37b..3db137ba 100644
--- a/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src
+++ b/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src
@@ -1,4 +1,4 @@
-[fedora23-src]
+[fedora-23-src]
name=fedora 23 sources
baseurl=http://fedora.mirrors.telekom.ro/pub/fedora/linux/development/23/source/SRPMS
enabled=1