oeqa/selftest/cases/signing.py: Re-enable self-test

With all the pieces in place, the self test can be re-enabled.

(From OE-Core rev: 46e8b94582ea9734117d20cd62c39fb4450c00c4)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zoltán Böszörményi
2025-02-13 16:23:24 +01:00
committed by Richard Purdie
parent 0c3da27d33
commit 6dd4120d62

View File

@@ -71,7 +71,6 @@ class Signing(OESelftestTestCase):
"""
import oe.packagedata
self.skipTest('This test requires rpm-sequoia support in rpm')
self.setup_gpg()
package_classes = get_bb_var('PACKAGE_CLASSES')
@@ -84,6 +83,8 @@ class Signing(OESelftestTestCase):
feature += 'RPM_GPG_PASSPHRASE = "test123"\n'
feature += 'RPM_GPG_NAME = "testuser"\n'
feature += 'GPG_PATH = "%s"\n' % self.gpg_dir
feature += 'PACKAGECONFIG:append:pn-rpm-native = " sequoia"\n'
feature += 'PACKAGECONFIG:append:pn-rpm = " sequoia"\n'
self.write_config(feature)