krb5: fix packaging with ldap PACKAGECONFIG
PATCH 1/1 krb5: fix packaging with ldap PACKAGECONFIG
In case ldap PACKAGECONFIG is enabled, poackaging fails with the following error:
ERROR: krb5-1.17.2-r0 do_package: QA Issue: krb5: Files/directories were installed but not shipped in any package:
/usr/lib/libkdb_ldap.so.1.0
/usr/lib/libkdb_ldap.so.1
Fix it by adding the file to the krb5-kdc-ldap package (the same that Debian also uses to ship this file).
Signed-off-by Gyorgy Sarvari <[email protected]>
--- meta-oe/recipes-connectivity/krb5/krb5_1.17.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/krb5/krb5_1.17.2.bb +2 -1
@@ -163,7 +163,8 @@ FILES:${PN}-kdc = "${libdir}/krb5/plugins/kdb/db2.so \ FILES:${PN}-kdc-ldap = "${libdir}/krb5/libkdb_ldap${SOLIBS} \ ${libdir}/krb5/plugins/kdb/kldap.so \ - ${sbindir}/kdb5_ldap_util" + ${sbindir}/kdb5_ldap_util \ + ${libdir}/libkdb_ldap${SOLIBS}" FILES:${PN}-kpropd = "${sbindir}/kpropd" FILES:${PN}-otp = "${libdir}/krb5/plugins/preauth/otp.so"