diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-04-04 12:33:30 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-04 11:06:56 +0100 |
| commit | 3ffb69b489da5416dbabb0a45c6e2e7d63ab1ed0 (patch) | |
| tree | 4273b8450db5e6946719ef566c80b940fc4dcca7 | |
| parent | 7eb4e0147316f7bdc773d85bfc9978aaf8cc4be9 (diff) | |
| download | poky-morty-next.tar.gz | |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py index 3b5c2da0e0..02e5f5ad29 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): |
