diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 9c9b4b3411..146daf80b3 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -148,10 +148,12 @@ class TestImage(OESelftestTestCase): | |||
148 | features += 'EXTRA_IMAGE_FEATURES += "package-management"\n' | 148 | features += 'EXTRA_IMAGE_FEATURES += "package-management"\n' |
149 | features += 'PACKAGE_CLASSES = "package_rpm"\n' | 149 | features += 'PACKAGE_CLASSES = "package_rpm"\n' |
150 | 150 | ||
151 | bitbake('gnupg-native -c addto_recipe_sysroot') | ||
152 | |||
151 | # Enable package feed signing | 153 | # Enable package feed signing |
152 | self.gpg_home = tempfile.mkdtemp(prefix="oeqa-feed-sign-") | 154 | self.gpg_home = tempfile.mkdtemp(prefix="oeqa-feed-sign-") |
153 | signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing') | 155 | signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing') |
154 | runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home, os.path.join(signing_key_dir, 'key.secret'))) | 156 | 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")) |
155 | features += 'INHERIT += "sign_package_feed"\n' | 157 | features += 'INHERIT += "sign_package_feed"\n' |
156 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' | 158 | features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n' |
157 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') | 159 | features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase') |