From 6ec8d4c4e3ec715371d866a42553f6628a884ed3 Mon Sep 17 00:00:00 2001 From: baiyuan Date: Tue, 16 Sep 2014 02:25:08 -0400 Subject: [PATCH] ubu power LE arch is ppc64el,ubu kit componet basename xxx-compute --- xCAT-buildkit/bin/buildkit | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index 6b45d3ea9..5bf67c86f 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -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/<<>>/$kitname/; s/<<>>/$kitrepoid/;