Change-Id: I30c7df2e1038267d43ac6c96bc953112f9a65be4
Signed-off-by: davidplunkett <dp7642@att.com>
export IPXE_GIT=${IPXE_GIT:-http://git.ipxe.org/ipxe.git}
export DELL_GIT=${DELL_GIT:-https://github.com/dell/iDRAC-Redfish-Scripting.git}
+export DELL_GIT_COMMIT=${DELL_GIT_COMMIT:-64f184c8c37ed1f64831c5695cd69092105e5eec}
export HPE_GIT=${HPE_GIT:-https://github.com/HewlettPackard/python-ilorest-library.git}
export REDFISH_ROOT=${REDFISH_ROOT:-/opt/akraino}
echo "Cloning Dell redfish source from [$DELL_GIT] to [$DELL_ROOT]"
git clone $DELL_GIT $DELL_ROOT
+ if [ -n "DELL_GIT_COMMIT" ]; then
+ echo "Using specific commit id [$DELL_GIT_COMMIT]"
+ (cd $DELL_ROOT; git checkout $DELL_GIT_COMMIT)
+ fi
+
## PATCH STATUS REPORTING DELAY TO 15 SECS (INSTEAD OF 3)
sed -i -e 's/time.sleep(3)/time.sleep(15)/g' "$DELL_ROOT/Redfish Python/ImportSystemConfigurationLocalFilenameREDFISH.py"
fi