| Message ID | 20260330094016.102637-5-adam.duskett@amarulasolutions.com |
|---|---|
| State | Rejected, archived |
| Headers | show |
| Series | [v6,1/7] signing-keys.bb: Fix DISTRO_CODENAME truncation | expand |
diff --git a/meta/recipes-devtools/librepo/librepo_1.21.0.bb b/meta/recipes-devtools/librepo/librepo_1.21.0.bb index d65567c14b..674919716f 100644 --- a/meta/recipes-devtools/librepo/librepo_1.21.0.bb +++ b/meta/recipes-devtools/librepo/librepo_1.21.0.bb @@ -16,6 +16,8 @@ DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" inherit cmake setuptools3-base pkgconfig +PACKAGECONFIG[sequoia] = "-DUSE_GPGME=OFF,-DUSE_GPGME=ON,rpm rpm-sequoia" + EXTRA_OECMAKE = " \ -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ -DPYTHON_DESIRED=3 \
Currently, librepo compiled with -DUSE_GPGME=ON (the default setting) causes dnf5 to fail importing repository keys. A very long writeup of the issue is linked below. [1] Add a new PACKAGECONFIG[sequoia] option which sets -DUSE_GPGME=OFF and adds rpm and rpm-sequoia to the dependency list which ensures dnf5 works with repository signing. 1: https://github.com/rpm-software-management/dnf5/issues/2539 Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> --- meta/recipes-devtools/librepo/librepo_1.21.0.bb | 2 ++ 1 file changed, 2 insertions(+)