qubes-linux-template-builder/build_template_rpm
Marek Marczykowski 504dfc2356 Allow to not sign template rpm at building time
Used by qubes-builder
2011-09-27 17:44:39 +02:00

13 lines
222 B
Bash
Executable File

#!/bin/sh
NAME=$1
if [ x$NAME = x ] ; then
echo "usage $0 <template_name>"
exit
fi
SIGN_OPT=--sign
[ "$NO_SIGN" = "1" ] && SIGN_OPT=
rpmbuild $SIGN_OPT --target noarch --define "template_name $NAME" -bb templates.spec