Allow to not sign template rpm at building time

Used by qubes-builder
This commit is contained in:
Marek Marczykowski 2011-09-27 17:44:39 +02:00
parent 6855cfc123
commit 504dfc2356

View File

@ -6,4 +6,7 @@ echo "usage $0 <template_name>"
exit
fi
rpmbuild --sign --target noarch --define "template_name $NAME" -bb templates.spec
SIGN_OPT=--sign
[ "$NO_SIGN" = "1" ] && SIGN_OPT=
rpmbuild $SIGN_OPT --target noarch --define "template_name $NAME" -bb templates.spec