]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/signing: use a temporary directory for GPG home
authorRoss Burton <ross.burton@intel.com>
Thu, 21 Jul 2016 15:28:45 +0000 (16:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:47:02 +0000 (23:47 +0100)
commitd4a5b5d11c6d7d5aba5f2eb88db091c1b98ef87c
tree3e3dc3c1c6b817c274f4c3bc1293af49d63c4a3f
parent05dcb054fcd0c80bb09612c3e15b6b1f0487aae8
oeqa/selftest/signing: use a temporary directory for GPG home

Instead of using a directory in the layer as the GPG home and carefully deleting
the right files from it, use tempfile to create a temporary directory which will
be cleaned up for us.

Also change the public/secret key variables to be absolute paths as they're
always used as absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/signing.py