diff --git a/builddep.sh b/builddep.sh index 2d7b221c1..4a3212917 100755 --- a/builddep.sh +++ b/builddep.sh @@ -49,6 +49,12 @@ if [ ! -d $GSA ]; then exit 1 fi +REQPKG="rpm-sign" +if [ `rpm -q $REQPKG >> /dev/null; echo $?` != 0 ]; then + echo "ERROR: $REQPKG is required to successfully create the xcat-deps package. Install and rerun." + exit 1 +fi + # set grep to quiet by default GREP="grep -q" if [ "$VERBOSE" = "1" -o "$VERBOSE" = "yes" ]; then