| Message ID | 20250129124741.4115324-2-zboszor@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v3,1/2] rpm-sequoia: New recipe for version 1.7.0 | expand |
On Wed, 29 Jan 2025 at 13:47, Zoltán Böszörményi <zboszor@gmail.com> wrote: > + feature += 'PACKAGECONFIG:append:pn-rpm-native = " sequoia"\n' > + feature += 'PACKAGECONFIG:append:pn-rpm = " sequoia"\n' This and the other patch are now fine, and can go into testing. But: - bonus points for updating the signing section in yocto-docs/dev-manual/packages.rst to mention the above - extra bonus points for updating the 5.2 migration guide in the same repo under documentation/migration-guides/. Alex
2025. 01. 29. 14:05 keltezéssel, Alexander Kanavin írta: > On Wed, 29 Jan 2025 at 13:47, Zoltán Böszörményi <zboszor@gmail.com> wrote: > >> + feature += 'PACKAGECONFIG:append:pn-rpm-native = " sequoia"\n' >> + feature += 'PACKAGECONFIG:append:pn-rpm = " sequoia"\n' > This and the other patch are now fine, and can go into testing. But: > > - bonus points for updating the signing section in > yocto-docs/dev-manual/packages.rst to mention the above > - extra bonus points for updating the 5.2 migration guide in the same > repo under documentation/migration-guides/. I am on it. In the meantime, I am running "oe-selftest -r signing" with the patches on my box in poky.
2025. 01. 29. 14:49 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta: > 2025. 01. 29. 14:05 keltezéssel, Alexander Kanavin írta: >> On Wed, 29 Jan 2025 at 13:47, Zoltán Böszörményi <zboszor@gmail.com> wrote: >> >>> + feature += 'PACKAGECONFIG:append:pn-rpm-native = " sequoia"\n' >>> + feature += 'PACKAGECONFIG:append:pn-rpm = " sequoia"\n' >> This and the other patch are now fine, and can go into testing. But: >> >> - bonus points for updating the signing section in >> yocto-docs/dev-manual/packages.rst to mention the above >> - extra bonus points for updating the 5.2 migration guide in the same >> repo under documentation/migration-guides/. > > I am on it. > > In the meantime, I am running "oe-selftest -r signing" > with the patches on my box in poky. It has finished successfully: zozo@localhost:~/poky-5.2/poky/build$ oe-selftest -r signing 2025-01-29 14:39:37,552 - oe-selftest - INFO - Adding layer libraries: 2025-01-29 14:39:37,552 - oe-selftest - INFO - /home/zozo/poky-5.2/poky/meta/lib 2025-01-29 14:39:37,552 - oe-selftest - INFO - /home/zozo/poky-5.2/poky/meta-yocto-bsp/lib 2025-01-29 14:39:37,552 - oe-selftest - INFO - /home/zozo/poky-5.2/poky/meta-selftest/lib 2025-01-29 14:39:37,553 - oe-selftest - INFO - Checking base configuration is valid/parsable NOTE: Reconnecting to bitbake server... NOTE: Retrying server connection (#1)... (14:39:38.171905) NOTE: Reconnecting to bitbake server... NOTE: Reconnecting to bitbake server... NOTE: Retrying server connection (#1)... (14:39:38.171905) NOTE: Retrying server connection (#1)... (14:39:38.171905) NOTE: Starting bitbake server... hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> 2025-01-29 14:39:39,242 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/zozo/poky-5.2/poky/build-st/conf/local.conf 2025-01-29 14:39:39,243 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2025-01-29 14:39:39,243 - oe-selftest - INFO - test_locked_signatures (signing.LockedSignatures.test_locked_signatures) 2025-01-29 15:05:04,921 - oe-selftest - INFO - ... ok 2025-01-29 15:05:04,922 - oe-selftest - INFO - test_signing_packages (signing.Signing.test_signing_packages) 2025-01-29 16:28:24,928 - oe-selftest - INFO - Keepalive message 2025-01-29 17:02:06,060 - oe-selftest - INFO - ... ok 2025-01-29 17:02:06,062 - oe-selftest - INFO - test_signing_sstate_archive (signing.Signing.test_signing_sstate_archive) 2025-01-29 17:05:45,812 - oe-selftest - INFO - ... ok 2025-01-29 17:08:41,521 - oe-selftest - INFO - ---------------------------------------------------------------------- 2025-01-29 17:08:41,522 - oe-selftest - INFO - Ran 3 tests in 8942.537s 2025-01-29 17:08:41,522 - oe-selftest - INFO - OK 2025-01-29 17:08:48,132 - oe-selftest - INFO - RESULTS: 2025-01-29 17:08:48,132 - oe-selftest - INFO - RESULTS - signing.LockedSignatures.test_locked_signatures: PASSED (1525.68s) 2025-01-29 17:08:48,132 - oe-selftest - INFO - RESULTS - signing.Signing.test_signing_packages: PASSED (7021.14s) 2025-01-29 17:08:48,132 - oe-selftest - INFO - RESULTS - signing.Signing.test_signing_sstate_archive: PASSED (219.75s) 2025-01-29 17:08:48,133 - oe-selftest - INFO - SUMMARY: 2025-01-29 17:08:48,133 - oe-selftest - INFO - oe-selftest () - Ran 3 tests in 8942.538s 2025-01-29 17:08:48,134 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=3, skipped=0, failures=0, errors=0)
diff --git a/meta/lib/oeqa/selftest/cases/signing.py b/meta/lib/oeqa/selftest/cases/signing.py index 51d1c3fa64..4df45ba032 100644 --- a/meta/lib/oeqa/selftest/cases/signing.py +++ b/meta/lib/oeqa/selftest/cases/signing.py @@ -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)
Enable building rpm with rpm-seqouia for the test. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- meta/lib/oeqa/selftest/cases/signing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)