summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2010-08-03 14:16:09 -0500
committerClark Williams <williams@redhat.com>2010-08-03 16:13:48 -0500
commitc7bed570548158fddc215cf6aa54238a75b95fd6 (patch)
tree901d6646539465072795bc5beccc614f590c23e8
parent62e8b32d4944c96faace3c6c0136a81a6ec96c22 (diff)
downloadmock-c7bed570548158fddc215cf6aa54238a75b95fd6.tar.gz
mock-c7bed570548158fddc215cf6aa54238a75b95fd6.tar.xz
mock-c7bed570548158fddc215cf6aa54238a75b95fd6.zip
turn off updates-released repository for fedora-14 configs
f14 is prerelease so turn off the updates-released repository Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r--etc/mock/fedora-14-i386.cfg40
-rw-r--r--etc/mock/fedora-14-ppc.cfg1
-rw-r--r--etc/mock/fedora-14-ppc64.cfg1
-rw-r--r--etc/mock/fedora-14-s390x.cfg1
-rw-r--r--etc/mock/fedora-14-sparc.cfg1
-rw-r--r--etc/mock/fedora-14-sparc64.cfg1
-rw-r--r--etc/mock/fedora-14-x86_64.cfg44
7 files changed, 89 insertions, 0 deletions
diff --git a/etc/mock/fedora-14-i386.cfg b/etc/mock/fedora-14-i386.cfg
new file mode 100644
index 0000000..5d37e92
--- /dev/null
+++ b/etc/mock/fedora-14-i386.cfg
@@ -0,0 +1,40 @@
+config_opts['root'] = 'fedora-14-i386'
+config_opts['target_arch'] = 'i686'
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc14' # 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-14&arch=i386
+failovermethod=priority
+
+[updates-released]
+name=updates
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=i386
+failovermethod=priority
+enabled=0
+
+[local]
+name=local
+baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f14-build/latest/i386/
+cost=2000
+enabled=0
+"""
+
+
+
diff --git a/etc/mock/fedora-14-ppc.cfg b/etc/mock/fedora-14-ppc.cfg
index 0c5f125..ccd1d81 100644
--- a/etc/mock/fedora-14-ppc.cfg
+++ b/etc/mock/fedora-14-ppc.cfg
@@ -29,6 +29,7 @@ failovermethod=priority
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=ppc
failovermethod=priority
+enabled=0
[local]
name=local
diff --git a/etc/mock/fedora-14-ppc64.cfg b/etc/mock/fedora-14-ppc64.cfg
index 56f3de0..63e06c0 100644
--- a/etc/mock/fedora-14-ppc64.cfg
+++ b/etc/mock/fedora-14-ppc64.cfg
@@ -27,6 +27,7 @@ failovermethod=priority
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=ppc64
failovermethod=priority
+enabled=0
[local]
name=local
diff --git a/etc/mock/fedora-14-s390x.cfg b/etc/mock/fedora-14-s390x.cfg
index 31461a2..51d04bd 100644
--- a/etc/mock/fedora-14-s390x.cfg
+++ b/etc/mock/fedora-14-s390x.cfg
@@ -27,6 +27,7 @@ failovermethod=priority
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=s390x
failovermethod=priority
+enabled=0
[local]
name=local
diff --git a/etc/mock/fedora-14-sparc.cfg b/etc/mock/fedora-14-sparc.cfg
index 56f0619..ac17896 100644
--- a/etc/mock/fedora-14-sparc.cfg
+++ b/etc/mock/fedora-14-sparc.cfg
@@ -29,6 +29,7 @@ failovermethod=priority
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=sparc
failovermethod=priority
+enabled=0
[local]
name=local
diff --git a/etc/mock/fedora-14-sparc64.cfg b/etc/mock/fedora-14-sparc64.cfg
index 2659b85..32344cd 100644
--- a/etc/mock/fedora-14-sparc64.cfg
+++ b/etc/mock/fedora-14-sparc64.cfg
@@ -27,6 +27,7 @@ failovermethod=priority
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=sparc64
failovermethod=priority
+enabled=0
[local]
name=local
diff --git a/etc/mock/fedora-14-x86_64.cfg b/etc/mock/fedora-14-x86_64.cfg
new file mode 100644
index 0000000..6c980e2
--- /dev/null
+++ b/etc/mock/fedora-14-x86_64.cfg
@@ -0,0 +1,44 @@
+config_opts['root'] = 'fedora-14-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc14' # 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=
+# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all
+# .i?86 packages except these.
+#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
+# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora.
+
+# repos
+
+[fedora]
+name=fedora
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-14&arch=x86_64
+failovermethod=priority
+
+[updates-released]
+name=updates
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f14&arch=x86_64
+failovermethod=priority
+enabled=0
+
+[local]
+name=local
+baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f14-build/latest/x86_64/
+cost=2000
+enabled=0
+"""
+
+
+