summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-04-04 09:33:30 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-04 10:06:56 (GMT)
commit3ffb69b489da5416dbabb0a45c6e2e7d63ab1ed0 (patch)
tree4273b8450db5e6946719ef566c80b940fc4dcca7
parent7eb4e0147316f7bdc773d85bfc9978aaf8cc4be9 (diff)
downloadpoky-morty-next.zip
poky-morty-next.tar.gz
poky-morty-next.tar.bz2
selftest/signing: add --batch to gpg invocation when importing keysmorty-next
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: 5a4b4c0350c724ef4ecc01246133e2b816d8976f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.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):
cls.pub_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.pub")
cls.secret_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.secret")
- runCmd('gpg --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path))
+ runCmd('gpg --batch --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path))
@classmethod
def tearDownClass(cls):