summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-03-22 13:55:17 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-05 14:13:48 (GMT)
commit134aa03cd772b539e6fe77acf6c9625293c6e047 (patch)
treedbdca07c8d9612a87cf260c0a0d6f02d2fe29215
parentb85ff208bc0e03b48ff4a7d90f56b212f2dc65ff (diff)
downloadpoky-134aa03cd772b539e6fe77acf6c9625293c6e047.tar.gz
selftest/signing: add --batch to gpg invocation when importing keys
Otherwise it may pop up windows asking for passphrases which breaks automated testing. Newer YP releases and master already have the fix. [YOCTO #12521] (From OE-Core rev: 863916169fbe2686015b4f2279f49f08f41e9a47) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/signing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py
index 3b5c2da..02e5f5a 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -26,7 +26,7 @@ class Signing(oeSelfTest):
26 cls.pub_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.pub") 26 cls.pub_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.pub")
27 cls.secret_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.secret") 27 cls.secret_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.secret")
28 28
29 runCmd('gpg --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path)) 29 runCmd('gpg --batch --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path))
30 30
31 @classmethod 31 @classmethod
32 def tearDownClass(cls): 32 def tearDownClass(cls):