From 2433281aa53942dcdba3182eb7015673755c7d88 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 23 Sep 2013 10:36:59 +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 aa18dcd9b..ad5e33f96 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -808,7 +808,7 @@ sub kit_buildrepo1 # run createrepo my $cr_opts = ''; - if (( $repo->{osbasename} =~ m/rh|RH/ ) && + if (( $repo->{osbasename} =~ m/rh|RH|centos|CentOS/ ) && ( $repo->{osmajorversion} eq '5') ) { $cr_opts = '-s md5'; }