mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Depot: support for GPG command line override
Allow the gpg utility to be overridden on the command line. For example, './tool/depot/publish GPG="ssh 10.0.1.3 gpg" ...' would invoke a remote gpg over SSH. Fix #2981
This commit is contained in:
committed by
Christian Helmuth
parent
1f5a083129
commit
b51ee34b11
@@ -72,8 +72,8 @@ TARGETS := $(addsuffix .tar.xz.sig,$(addprefix $(PUBLIC_DIR)/,$(ARCHIVES)))
|
||||
|
||||
$(PUBLIC_DIR)/%.tar.xz.sig : $(PUBLIC_DIR)/%.tar.xz
|
||||
$(VERBOSE)rm -f $@;
|
||||
$(VERBOSE)gpg --detach-sign --digest-algo SHA256 --no-tty --use-agent \
|
||||
--local-user $(call pubkey_id,$*) $<
|
||||
$(VERBOSE)$(GPG) --detach-sign --digest-algo SHA256 --no-tty --use-agent \
|
||||
--local-user $(call pubkey_id,$*) - < $< > $@
|
||||
|
||||
.PRECIOUS: $(TARGETS:.tar.xz.sig=.tar.xz)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user