summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-08-24 21:08:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 16:00:11 +0100
commitb221b8a657888be605f6c31e6353b10b08a619e6 (patch)
tree8b50cfe8c87f5884fcffd57ae3b6b0e2102e4b22 /meta/lib
parent4213a2f60fd1e574f5d56b8f48340ab0b0ec13ce (diff)
downloadpoky-b221b8a657888be605f6c31e6353b10b08a619e6.tar.gz
oeqa: runtime_tests: Extra GPG debugging
This patch enables extra debugging for gpg to try and get more debugging information when [YOCTO #14003] occurs (From OE-Core rev: f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 793c98a335..d89731c692 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -156,7 +156,7 @@ class TestImage(OESelftestTestCase):
156 self.gpg_home = tempfile.mkdtemp(prefix="oeqa-feed-sign-") 156 self.gpg_home = tempfile.mkdtemp(prefix="oeqa-feed-sign-")
157 self.track_for_cleanup(self.gpg_home) 157 self.track_for_cleanup(self.gpg_home)
158 signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing') 158 signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing')
159 runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native")) 159 runCmd('gpgconf --list-dirs --homedir %s; gpg -v --batch --homedir %s --import %s' % (self.gpg_home, self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native"), shell=True)
160 features += 'INHERIT += "sign_package_feed"\n' 160 features += 'INHERIT += "sign_package_feed"\n'
161 features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' 161 features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n'
162 features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') 162 features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase')