summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-11 20:48:21 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-11 20:48:21 +0100
commit4faa6f7ef0cb9e818af746a0ab715c0b2ef1c642 (patch)
tree202d917f0fa0346e1414eb50678dbe6e990671f2
parent3b54494dad9c972f3241f2a0988c4a88f10b9ba6 (diff)
downloadjenkins.debian.net-4faa6f7ef0cb9e818af746a0ab715c0b2ef1c642.tar.xz
reproducible fedora rpms: config as taken from https://github.com/kholia/ReproducibleBuilds/blob/master/fedora-23-x86_64-reproducible-builds.cfg
-rw-r--r--hosts/profitbricks-build3-amd64/etc/mock/fedora-23-x86_64.cfg31
1 files changed, 22 insertions, 9 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/mock/fedora-23-x86_64.cfg b/hosts/profitbricks-build3-amd64/etc/mock/fedora-23-x86_64.cfg
index c05a8452..a8330fe9 100644
--- a/hosts/profitbricks-build3-amd64/etc/mock/fedora-23-x86_64.cfg
+++ b/hosts/profitbricks-build3-amd64/etc/mock/fedora-23-x86_64.cfg
@@ -1,13 +1,15 @@
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['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'fc23' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '23'
config_opts['yum.conf'] = """
[main]
-cachedir=/var/cache/yum
-debuglevel=1
+keepcache=1
+debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
@@ -16,22 +18,28 @@ gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
+install_weak_deps=0
+metadata_expire=0
# repos
[fedora]
name=fedora
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-23&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
failovermethod=priority
+gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-23-primary
+gpgcheck=1
[updates]
name=updates
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f23&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
failovermethod=priority
+gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-23-primary
+gpgcheck=1
[updates-testing]
name=updates-testing
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f23&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
@@ -43,19 +51,24 @@ enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-23&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
-mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f23&arch=x86_64
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
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
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
+
+[reproducible-builds]
+name=reproducible-builds
+baseurl=https://fedorapeople.org/~halfie/repository/
+enabled=1
"""