From 45f0cbf83aed2bd534e9b43822c033ef6b4a9b1b Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 20 Jul 2011 14:55:32 -0400 Subject: [PATCH] redhat: support epel yum configs in mockbuild epel's mock is useful in terms of config, but we need to allow use of it. do so here. add centos6 at the same time. Change-Id: I781fc475389c5be56aa89041b8d22b166517a3f5 Reviewed-on: http://gerrit.openafs.org/5056 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/packaging/RedHat/mockbuild.pl | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/packaging/RedHat/mockbuild.pl b/src/packaging/RedHat/mockbuild.pl index 5543c67e4..890f2df81 100755 --- a/src/packaging/RedHat/mockbuild.pl +++ b/src/packaging/RedHat/mockbuild.pl @@ -57,6 +57,46 @@ my %platconf = ( "centos-4-i386" => { osver => "el4", basearch => 'x86_64', updaterepo => 'update', results => "rhel5/x86_64" }, + "centos-6-i386" => { osver => "el6", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel6/i386" }, + "centos-6-x86_64" => { osver => "el6", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel6/x86_64" }, + "epel-4-i386" => { osver => "el4", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => 'rhel4/i386' }, + "epel-4-x86_64" => { osver => "el4", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel4/x86_64" }, + "epel-5-i386" => { osver => "el5", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel5/i386" }, + "epel-5-x86_64" => { osver => "el5", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel5/x86_64" }, + "epel-6-i386" => { osver => "el6", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel6/i386" }, + "epel-6-x86_64" => { osver => "el6", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel6/x86_64" }, "fedora-14-i386" => { osver => "fc14", kmod => "1", basearch => "i386", -- 2.39.5