Skip to content

Commit

Permalink
Fix make sign-all to sign templates with flavors
Browse files Browse the repository at this point in the history
Yet another place where template flavors needs not to be stripped when
handling template.

QubesOS/qubes-issues#3935
  • Loading branch information
marmarek committed May 27, 2018
1 parent d741185 commit 7d976fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ $(COMPONENTS:%=sign-dom0-%): sign-dom0-% : sign-dom0-$(DIST_DOM0)-%
endif

.PHONY: $(COMPONENTS:%=sign-vm-%)
$(COMPONENTS:%=sign-vm-%): sign-vm-% : $(addsuffix -%, $(DISTS_VM_NO_FLAVOR:%=sign-vm-%))
$(COMPONENTS_NO_TPL_BUILDER:%=sign-vm-%): sign-vm-% : $(addsuffix -%, $(DISTS_VM_NO_FLAVOR:%=sign-vm-%))
# don't strip flavors for template signing
sign-vm-linux-template-builder : $(addsuffix -%, $(DISTS_VM:%=sign-vm-%))

sign-%: PACKAGE_SET = $(word 1, $(subst -, ,$*))
sign-%: DIST = $(word 2, $(subst -, ,$*))
Expand Down

0 comments on commit 7d976fd

Please sign in to comment.