Blob Blame Raw
From ad010a683fd3ed183ca41308ff39b9265ddffb3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Wed, 30 Jul 2014 14:30:05 +0200
Subject: [PATCH 5/5] configs: add ppc64le configs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Dan HorĂ¡k <dan@danny.cz>
---
 etc/mock/fedora-21-ppc64le.cfg      | 67 +++++++++++++++++++++++++++++++++++++
 etc/mock/fedora-rawhide-ppc64le.cfg | 40 ++++++++++++++++++++++
 2 files changed, 107 insertions(+)
 create mode 100644 etc/mock/fedora-21-ppc64le.cfg
 create mode 100644 etc/mock/fedora-rawhide-ppc64le.cfg

diff --git a/etc/mock/fedora-21-ppc64le.cfg b/etc/mock/fedora-21-ppc64le.cfg
new file mode 100644
index 0000000..94dafb3
--- /dev/null
+++ b/etc/mock/fedora-21-ppc64le.cfg
@@ -0,0 +1,67 @@
+config_opts['root'] = 'fedora-21-ppc64le'
+config_opts['target_arch'] = 'ppc64le'
+config_opts['legal_host_arches'] = ('ppc64le',)
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
+config_opts['dist'] = 'fc21'  # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '21'
+
+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
+metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
+failovermethod=priority
+gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-21-secondary
+gpgcheck=1
+
+[updates]
+name=updates
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
+failovermethod=priority
+gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-21-secondary
+gpgcheck=1
+
+[updates-testing]
+name=updates-testing
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[local]
+name=local
+baseurl=http://ppcpkgs.fedoraproject.org/repos/f21-build/latest/ppc64le/
+cost=2000
+enabled=0
+
+[fedora-debuginfo]
+name=fedora-debuginfo
+metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+
+[updates-debuginfo]
+name=updates-debuginfo
+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
+metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
+failovermethod=priority
+enabled=0
+"""
diff --git a/etc/mock/fedora-rawhide-ppc64le.cfg b/etc/mock/fedora-rawhide-ppc64le.cfg
new file mode 100644
index 0000000..b9d4a8d
--- /dev/null
+++ b/etc/mock/fedora-rawhide-ppc64le.cfg
@@ -0,0 +1,40 @@
+config_opts['root'] = 'fedora-rawhide-ppc64le'
+config_opts['target_arch'] = 'ppc64le'
+config_opts['legal_host_arches'] = ('ppc64le',)
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
+config_opts['dist'] = 'rawhide'  # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '22'
+
+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
+metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
+failovermethod=priority
+
+[local]
+name=local
+baseurl=http://ppcpkgs.fedoraproject.org/repos/rawhide/latest/ppc64le/
+cost=2000
+enabled=0
+
+[debug]
+name=Fedora Rawhide - ppc64le - Debug
+failovermethod=priority
+metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-debug&arch=$basearch
+enabled=0
+"""
-- 
1.9.3