diff --git a/buildcore.sh b/buildcore.sh index 086274182..72cf245cd 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -37,6 +37,7 @@ # EMBED= - the environment for which a minimal version of xcat should be built, e.g. zvm or flex # VERBOSE=1 - to see lots of verbose output # LOG= - provide an LOG file option to redirect some output into log file +# RPMSIGN=0 or RPMSIGN=1 - Sign the RPMs using the keys on GSA # you can change this if you need to UPLOADUSER=litingt @@ -370,7 +371,7 @@ if [ ! -z ${LOG} ]; then fi # get gpg keys in place -if [ "$OSNAME" != "AIX" ]; then +if [ "$OSNAME" != "AIX" ] && ( [ -z "$RPMSIGN" ] || [ "$RPMSIGN" == "1" ] ); then mkdir -p $HOME/.gnupg for i in pubring.gpg secring.gpg trustdb.gpg; do if [ ! -f $HOME/.gnupg/$i ] || [ `wc -c $HOME/.gnupg/$i|cut -f 1 -d' '` == 0 ]; then