fix 4325 Use buildkit to create kit,the osarch is always ppc64el .It's not consistenct with real osarch

This commit is contained in:
baiyuan 2014-10-28 03:45:23 -04:00
parent dab45f5df2
commit f8db0659f0

View File

@ -1167,7 +1167,7 @@ sub edit_bldkitconf
my $kitcomponent_basename = $kitname."_compute";
if ($debianflag==1) {
if($osarch == "ppc64le"){
if($osarch eq "ppc64le"){
$osarch="ppc64el";
}
$kitcomponent_basename = $kitname."-compute";
@ -1893,7 +1893,7 @@ sub validate_os
chomp($osarch);
if ($debianflag==1) {
if($osarch == "ppc64le"){
if($osarch eq "ppc64le"){
$osarch="ppc64el";
}
}