diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 2 |
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') |