diff options
author | George Keishing <gkeishin@in.ibm.com> | 2016-03-17 00:49:49 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-03-23 01:32:30 -0400 |
commit | 911cc624014689c649651764ba784237c58c815a (patch) | |
tree | b8f8161bdb1eaf5b28f30002acfdacfebed58b54 /sb | |
parent | f00fe995e05f6ba871ad912dac4c86a0d091190f (diff) | |
download | talos-sbe-911cc624014689c649651764ba784237c58c815a.tar.gz talos-sbe-911cc624014689c649651764ba784237c58c815a.zip |
SBE : Automate SBE Image integration into FIPS driver
Change-Id: Ifed799f9a4f3b786e4b1468ea6c75a58ffa53efa
RTC: 142215
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22163
Tested-by: Jenkins Server
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sb')
-rwxr-xr-x | sb | 57 |
1 files changed, 56 insertions, 1 deletions
@@ -17,13 +17,33 @@ sb_helptext() echo " See also:" echo " customrc" ;; + cmvc) + echo " Topic 'Launch CMVC Operation on PPE file's" + echo + echo " Usage:" + echo " Refer : $PWD/sbe/build/tools/CommitSbeImageToCMVC.py -h" + ;; + compile) + echo " Topic 'Compile the PPE file's on fips Sandbox" + echo + echo " Usage:" + echo " Refer : $PWD/sbe/build/tools/sbeDistribute.py -h" + ;; *) echo " Usage:" echo " sb <cmd>" echo " sb help [<cmd>|<topic>]" - echo + echo "" echo " Available Commands:" echo " workon" + echo " cmvc" + echo " ---------------------------------------------------- " + echo " # To check in SBE FW files in CMVC command options # " + echo " sb cmvc -f < feature CMVC No > -r <fips release >" + echo " sb cmvc -d < defect CMVC No > -r <fips release >" + echo " ---------------------------------------------------- " + echo "" + echo " compile" echo esac } @@ -42,6 +62,35 @@ sb_workon() fi } +sb_cmvc() +{ + 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/CommitSbeImageToCMVC.py $* + else + echo "Please do workon and re launch..." + fi + +} + +sb_compile() +{ + 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 $* + else + echo "Please do workon and re launch..." + fi + +} + + if [ 0 == $# ]; then sb_helptext exit -1 @@ -54,6 +103,12 @@ case ${FIRST_PARAM} in workon) sb_workon $* ;; +cmvc) + sb_cmvc $* + ;; +compile) + sb_compile $* + ;; *) sb_helptext $* exit -1 |