Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02AC196AE for ; Mon, 11 Mar 2013 08:53:52 +0000 (UTC) Received: (qmail 7596 invoked by uid 500); 11 Mar 2013 08:53:50 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 7202 invoked by uid 500); 11 Mar 2013 08:53:50 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 7133 invoked by uid 99); 11 Mar 2013 08:53:48 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 08:53:48 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 84DF75D27; Mon, 11 Mar 2013 08:53:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [3/3] git commit: refs/heads/master - appliance: Fix build.sh to build 64bit systemvm appliance as well Message-Id: <20130311085347.84DF75D27@tyr.zones.apache.org> Date: Mon, 11 Mar 2013 08:53:47 +0000 (UTC) Updated Branches: refs/heads/master 603b5ad98 -> 72c1a888e appliance: Fix build.sh to build 64bit systemvm appliance as well TODO: Make it general like boxer.sh in tools/devcloud/src Signed-off-by: Rohit Yadav Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/72c1a888 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/72c1a888 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/72c1a888 Branch: refs/heads/master Commit: 72c1a888ebd73977182432b9f0c9bd1a579a6adc Parents: 41e39dd Author: Rohit Yadav Authored: Mon Mar 11 14:19:30 2013 +0530 Committer: Rohit Yadav Committed: Mon Mar 11 14:19:30 2013 +0530 ---------------------------------------------------------------------- tools/appliance/README.md | 4 ++-- tools/appliance/build.sh | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/72c1a888/tools/appliance/README.md ---------------------------------------------------------------------- diff --git a/tools/appliance/README.md b/tools/appliance/README.md index 2f6f656..559f79c 100644 --- a/tools/appliance/README.md +++ b/tools/appliance/README.md @@ -43,7 +43,7 @@ Note, gem may require gcc-4.2, make sure link exists: Just run build.sh, it will export archived appliances for KVM, Xen, VMWare and HyperV in `dist`: - sh build.sh + sh build.sh [systemvmtemplate|systemvmtemplate64] # Building SystemVM template appliance manually @@ -51,7 +51,7 @@ List available appliances one can build: veewee vbox list -Modify scripts in definitions/systemvmtemplate/ as per needs. +Modify scripts in definitions/*appliance*/ as per needs. Build systemvm template appliance: veewee vbox build 'systemvmtemplate' http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/72c1a888/tools/appliance/build.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index 69e15d8..74307a0 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -18,7 +18,13 @@ set -x -appliance="systemvmtemplate" +if [ "$1"!="" ] +then + appliance="$1" +else + appliance="systemvmtemplate" +fi + build_date=`date +%Y-%m-%d` branch="master" rootdir=$PWD