From 7778cd8864af1ec37af89463115bbaa4eb2aa316 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 23 Sep 2013 10:59: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 ca6efb87f..b105451ae 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'; }