Add 'sign' target

This will ease signing just one template, instead of checking all of
them for the unsigned one(s).
This commit is contained in:
Marek Marczykowski-Górecki 2018-05-25 16:31:23 +02:00
parent 310019ea3c
commit 0a8e29571f
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -72,6 +72,9 @@ update-repo-installer:
[ -z "$$UPDATE_REPO" ] && UPDATE_REPO=../installer/yum/qubes-dom0;\
ln -f rpm/noarch/qubes-template-$(TEMPLATE_NAME)-$(VERSION)-$(shell cat build_timestamp_$(TEMPLATE_NAME))*.noarch.rpm $$UPDATE_REPO/rpm
sign:
setsid -w rpmsign $$RPMSIGN_OPTS --addsign rpm/noarch/qubes-template-$(TEMPLATE_NAME)-$(VERSION)-$(shell cat build_timestamp_$(TEMPLATE_NAME))*.noarch.rpm
prepare-repo-template:
rm -rf pkgs-for-template/$(DIST)
mkdir -p pkgs-for-template/$(DIST)