From 53599a891c85c8fdebb620beae00f6413da090dd Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 23 Sep 2013 10:50:54 +0800 Subject: [PATCH] Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo --- xCAT-buildkit/bin/buildkit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index afc2c2969..ca6efb87f 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -3557,7 +3557,7 @@ sub NEW_kit_addpkgs my $repodir = "$::base_repodir/$kr->{kitreponame}"; if ( -d $repodir ) { my $cr_opts = ''; - if (( $kr->{osbasename} =~ m/rh|RH/ ) && + if (( $kr->{osbasename} =~ m/rh|RH|centos|CentOS/ ) && ( $kr->{osmajorversion} eq '5') ) { $cr_opts = '-s md5'; }