krb5: use PACKAGE_BEFORE_PN

The 'krb5-config' tool should be in ${PN}-dev (as intented by
binconfig class).

Use PACKAGE_BEFORE_PN for extra packages so that -dev is handled
before -user.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Enrico Scholz
2024-01-03 12:41:12 +01:00
committed by Khem Raj
parent b56ab3d109
commit 34a20e8b8a
@@ -103,7 +103,7 @@ do_install:append() {
-i ${D}${bindir}/krb5-config -i ${D}${bindir}/krb5-config
} }
PACKAGES =+ "${PN}-admin-server \ PACKAGE_BEFORE_PN =+ "${PN}-admin-server \
${PN}-gss-samples \ ${PN}-gss-samples \
${PN}-k5tls \ ${PN}-k5tls \
${PN}-kdc \ ${PN}-kdc \
@@ -198,4 +198,4 @@ pkg_postinst:${PN}-kdc () {
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"
inherit multilib_script inherit multilib_script
MULTILIB_SCRIPTS = "${PN}-user:${bindir}/krb5-config" MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/krb5-config"