ubu power LE arch is ppc64el,ubu kit componet basename xxx-compute

This commit is contained in:
baiyuan 2014-09-16 02:25:08 -04:00
parent 252da58c78
commit 6ec8d4c4e3

View File

@ -1147,6 +1147,13 @@ sub edit_bldkitconf
my $osarch=`uname -p`;
my $kitcomponent_basename = $kitname."_compute";
if ($debianflag==1) {
if($osarch == "ppc64le"){
$osarch="ppc64el";
}
$kitcomponent_basename = $kitname."-compute";
}
for (@lines) {
s/<<<INSERT_kitbasename_HERE>>>/$kitname/;
s/<<<INSERT_kitrepoid_HERE>>>/$kitrepoid/;