summaryrefslogtreecommitdiffstats
path: root/sb
diff options
context:
space:
mode:
authorGeorge Keishing <gkeishin@in.ibm.com>2016-03-24 02:43:11 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-04-25 06:06:34 -0400
commit6166c56693bac5f1d0906b5ccacb1507a437ddd5 (patch)
tree4acae29fef4df1dcb683164e5e2b94d2a20a2c37 /sb
parent957197894cfff915515ea65ea07bc79a159e1a50 (diff)
downloadtalos-sbe-6166c56693bac5f1d0906b5ccacb1507a437ddd5.tar.gz
talos-sbe-6166c56693bac5f1d0906b5ccacb1507a437ddd5.zip
RTC 149037: sbe distribute simics patching ( prime/simsetup/sandbox create )
Change-Id: I54ec7af4f00167da5b82fc0bed4356350bf9ec4c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22428 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sb')
-rwxr-xr-xsb42
1 files changed, 32 insertions, 10 deletions
diff --git a/sb b/sb
index 16154f07..cb351c4c 100755
--- a/sb
+++ b/sb
@@ -18,16 +18,22 @@ sb_helptext()
echo " customrc"
;;
cmvc)
- echo " Topic 'Launch CMVC Operation on PPE file's"
+ echo " Topic 'Launch CMVC Operation on PPE files'"
echo
echo " Usage:"
echo " Refer : $PWD/sbe/build/tools/CommitSbeImageToCMVC.py -h"
;;
- compile)
- echo " Topic 'Compile the PPE file's on fips Sandbox"
+ prime)
+ echo " Topic 'Compile the PPE files on fips Sandbox'"
echo
echo " Usage:"
- echo " Refer : $PWD/sbe/build/tools/sbeDistribute.py -h"
+ echo " Refer : $PWD/sbe/build/tools/sbePrime.py -h"
+ ;;
+ simsetup)
+ echo " Topic 'Patch simics action files on fips Sandbox'"
+ echo
+ echo " Usage:"
+ echo " Refer : $PWD/sbe/build/tools/sbePrime.py -h"
;;
*)
echo " Usage:"
@@ -43,7 +49,9 @@ sb_helptext()
echo " sb cmvc -d < defect CMVC No > -r <fips release >"
echo " ---------------------------------------------------- "
echo ""
- echo " compile"
+ echo " prime"
+ echo ""
+ echo " simsetup"
echo
esac
}
@@ -76,20 +84,31 @@ sb_cmvc()
}
-sb_compile()
+sb_prime()
{
if [ -n "${SBE_INSIDE_WORKON}" ]; then
echo "Already in a workon.. Continuing"
- # Launch the CMVC utility
str="'$*'"
echo "User input string : $str"
- $PWD/sbe/build/tools/sbeDistribute.py $*
+ $PWD/sbe/build/tools/sbePrime.py $*
else
echo "Please do workon and re launch..."
fi
}
+sb_simsetup()
+{
+ if [ -n "${SBE_INSIDE_WORKON}" ]; then
+ echo "Already in a workon.. Continuing"
+ str="'$*'"
+ echo "User input string : $str"
+ $PWD/sbe/build/tools/sbePrime.py -p patch
+ else
+ echo "Please do workon and re launch..."
+ fi
+
+}
if [ 0 == $# ]; then
sb_helptext
@@ -106,8 +125,11 @@ workon)
cmvc)
sb_cmvc $*
;;
-compile)
- sb_compile $*
+prime)
+ sb_prime $*
+ ;;
+simsetup)
+ sb_simsetup $*
;;
*)
sb_helptext $*
OpenPOWER on IntegriCloud