From 50f5f1e924e48474f8dec32c4135d19fd183a3e8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Dec 2015 19:58:49 +0100 Subject: reproducible fedora: try harder to configure mock correctly --- .../etc/fedora-23-x86_64.cfg | 61 ++++++++++++++++++++++ .../etc/yum/repos.d/fedora-23-src | 7 +++ .../etc/yum/repos.d/fedora23-src | 7 --- 3 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 hosts/profitbricks-build3-amd64/etc/fedora-23-x86_64.cfg create mode 100644 hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src delete mode 100644 hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src (limited to 'hosts/profitbricks-build3-amd64/etc') 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/fedora-23-src b/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src new file mode 100644 index 00000000..3db137ba --- /dev/null +++ b/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora-23-src @@ -0,0 +1,7 @@ +[fedora-23-src] +name=fedora 23 sources +baseurl=http://fedora.mirrors.telekom.ro/pub/fedora/linux/development/23/source/SRPMS +enabled=1 +gpgcheck=0 +#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release + diff --git a/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src b/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src deleted file mode 100644 index 78a7e37b..00000000 --- a/hosts/profitbricks-build3-amd64/etc/yum/repos.d/fedora23-src +++ /dev/null @@ -1,7 +0,0 @@ -[fedora23-src] -name=fedora 23 sources -baseurl=http://fedora.mirrors.telekom.ro/pub/fedora/linux/development/23/source/SRPMS -enabled=1 -gpgcheck=0 -#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release - -- cgit v1.2.3-70-g09d2