]> code.ossystems Code Review - openembedded-core.git/commit
sstate: respect GPG_BIN and GPG_HOME
authorRoss Burton <ross.burton@intel.com>
Sat, 24 Oct 2015 00:02:34 +0000 (01:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2015 15:49:14 +0000 (15:49 +0000)
commit6daf138822bbbc46960121d3b76b42eaf19e7c0e
tree15c7827d8cf9f10cab9c5e4d98e1c72addaa3308
parent5c84057de5b31c5d6d9abfcca3078bf766a21d88
sstate: respect GPG_BIN and GPG_HOME

The package feed signing code supports the user providing the path to the gpg
binary and an alternative gpg 'home' (usually ~/.gnupg), which are useful for
both deployment and QA purposes.

Factor out the gpg command line construction to a function which can fetch both
of these variables, and also use pipes.quote() to sanitise the arguments when
used in a shell context.

[ YOCTO #8559 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sstate.bbclass