change ubu arch in validate_os

This commit is contained in:
baiyuan 2014-09-22 23:11:15 -04:00
parent f39c0f46a1
commit 92d313bb20

View File

@ -1872,6 +1872,11 @@ sub validate_os
my ($osbasename,$osmore) = split(/\,/, $osinfo);
my ($osmajorversion,$osminorversion) = split(/\./, $osmore);
my $osarch=`uname -p`;
if ($debianflag==1) {
if($osarch == "ppc64le"){
$osarch="ppc64el";
}
}
chomp($osarch);
$osinfo =~ s/\,//;
my $repo_osinfo = "$repo->{osbasename}$repo->{osmajorversion}";