Message ID | 20250129080902.1863054-3-zboszor@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/3] cargo.bbclass: Allow using --offline instead of --frozen | expand |
On Wed, 29 Jan 2025 at 09:09, Zoltán Böszörményi <zboszor@gmail.com> wrote:
> +PACKAGECONFIG ??= "archive ${@bb.utils.contains('PACKAGE_CLASSES', 'sign_rpm', 'sequoia', '', d)}"
PACKAGE_CLASSES is not meant to include things like that. 'sign_rpm'
should be set with INHERIT.
You also need to re-enable the signing test in
meta/lib/oeqa/selftest/cases/signing.py and check that is passes.
Alex
2025. 01. 29. 9:56 keltezéssel, Alexander Kanavin írta: > On Wed, 29 Jan 2025 at 09:09, Zoltán Böszörményi <zboszor@gmail.com> wrote: > >> +PACKAGECONFIG ??= "archive ${@bb.utils.contains('PACKAGE_CLASSES', 'sign_rpm', 'sequoia', '', d)}" > PACKAGE_CLASSES is not meant to include things like that. 'sign_rpm' > should be set with INHERIT. Thanks, I will modify my distro config accordingly. > You also need to re-enable the signing test in > meta/lib/oeqa/selftest/cases/signing.py and check that is passes. How can I execute this selftest? Preferably standalone?
On Wed, 29 Jan 2025 at 11:34, Böszörményi Zoltán <zboszor@gmail.com> wrote: > > You also need to re-enable the signing test in > > meta/lib/oeqa/selftest/cases/signing.py and check that is passes. > > How can I execute this selftest? Preferably standalone? Run 'oe-selftest -l' to get a list, and find it there, then use 'oe-selftest -r'. Alex
diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb index 6c995ff50c..bf71d0d08a 100644 --- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb +++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb @@ -62,7 +62,7 @@ OECMAKE_GENERATOR = "Unix Makefiles" BBCLASSEXTEND = "native nativesdk" -PACKAGECONFIG ??= "archive" +PACKAGECONFIG ??= "archive ${@bb.utils.contains('PACKAGE_CLASSES', 'sign_rpm', 'sequoia', '', d)}" PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF" PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"
When PACKAGE_CLASSES includes sign_rpm, add sequoia to PACKAGECONFIG. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- meta/recipes-devtools/rpm/rpm_4.20.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)