From c2febebbf1d8140305146a74fdd68ac5708e963e Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 2 Jul 2025 15:28:54 +0800 Subject: [PATCH] pinentry: drop -unknown suffix from version number Include drop-unknown-suffix.inc to remove unknown suffix in runtime version. Befor the fix: $ pinentry --version pinentry-curses (pinentry) 1.3.1-unknown After the fix: $ pinentry --version pinentry-curses (pinentry) 1.3.1 (From OE-Core rev: 752b55a9eb631eb48e3dd87062ee0728e67d41a6) Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- meta/recipes-support/pinentry/pinentry_1.3.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/pinentry/pinentry_1.3.1.bb b/meta/recipes-support/pinentry/pinentry_1.3.1.bb index 14b368177c..0fc652cdba 100644 --- a/meta/recipes-support/pinentry/pinentry_1.3.1.bb +++ b/meta/recipes-support/pinentry/pinentry_1.3.1.bb @@ -20,6 +20,8 @@ SRC_URI[sha256sum] = "bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902b inherit autotools pkgconfig +require recipes-support/gnupg/drop-unknown-suffix.inc + PACKAGECONFIG ??= "ncurses" PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses"