Change-Id: I906ad95148b88cb6817a9f801cae25a61b7a0fc1
Signed-off-by: davidplunkett <dp7642@att.com>
# before executing the build scripts if they differ from the default values.
# SET DEFAULT VALUES
+export REDFISH_REPO=${REDFISH_REPO:-https://nexus.akraino.org/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.redfish&a=redfish&v=1.0.0-SNAPSHOT&e=tgz}
+
export IPXE_GIT=${IPXE_GIT:-http://git.ipxe.org/ipxe.git}
-export REDFISH_GIT=${REDFISH_GIT:-http://gerrit.att-akraino.org/redfish.git}
export DELL_GIT=${DELL_GIT:-https://github.com/dell/iDRAC-Redfish-Scripting.git}
export IPXE_GIT=${IPXE_GIT:-http://git.ipxe.org/ipxe.git}
## DOWNLOAD TOOLS TO TOOLS_ROOT IF TOOLS FOLDER MISSING
if [ ! -d "$TOOLS_ROOT" ]; then
- echo "Cloning latest tools from [$REDFISH_GIT] to [$TOOLS_ROOT]"
- git clone $REDFISH_GIT $TOOLS_ROOT
+ echo "Installing latest tools from [$REDFISH_REPO] to [$TOOLS_ROOT]"
+ mkdir -p $TOOLS_ROOT
+ curl -L $REDFISH_REPO | tar -xz -C $TOOLS_ROOT
fi
if [ ! -f "$TOOLS_ROOT/boot.ipxe.template" ]; then
echo "ERROR: failed cloning tools from [$REDFISH_GIT] to [$TOOLS_ROOT]"