From: Ross Burton <ross.burton@arm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 4/4] p11-kit: packaging rewrite
Date: Mon, 27 Apr 2026 21:46:40 +0100 [thread overview]
Message-ID: <20260427204640.2003231-4-ross.burton@arm.com> (raw)
In-Reply-To: <20260427204640.2003231-1-ross.burton@arm.com>
p11-kit is actually a library, pluggable modules, and some helper tools.
Add new packages -bin -modules and -remote to package up the pieces
separately, and leave just the library in the main package.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../recipes-support/p11-kit/p11-kit_0.26.2.bb | 25 ++++++++++++-------
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb b/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
index 69fb76658ea..ea636bfb0a8 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://p11-glue.github.io/p11-glue/p11-kit.html"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
-inherit meson gettext pkgconfig gtk-doc bash-completion manpages
+inherit meson gettext pkgconfig gtk-doc bash-completion manpages lib_package
DEPENDS = "libffi"
@@ -26,15 +26,22 @@ EXTRA_OEMESON = "\
GTKDOC_MESON_OPTION = 'gtk_doc'
-FILES:${PN} += " \
- ${libdir}/p11-kit-proxy.so \
- ${libdir}/pkcs11/*.so \
- ${libdir}/pkcs11/*.la \
- ${datadir} \
- ${systemd_user_unitdir}/*"
+PACKAGES =+ "${PN}-modules ${PN}-remote"
-# PN contains p11-kit-proxy.so, a symlink to a loadable module
-INSANE_SKIP:${PN} = "dev-so"
+FILES:${PN}-bin += "${libexecdir}/p11-kit/trust-extract-compat"
+
+FILES:${PN}-modules = "\
+ ${datadir}/p11-kit/modules \
+ ${libdir}/p11-kit-proxy.so \
+ ${libdir}/pkcs11"
+
+# p11-kit-proxy.so, a symlink to a loadable module
+INSANE_SKIP:${PN}-modules = "dev-so"
+
+FILES:${PN}-remote = "\
+ ${libexecdir}/p11-kit/p11-kit-remote \
+ ${libexecdir}/p11-kit/p11-kit-server \
+ ${systemd_user_unitdir}"
BBCLASSEXTEND = "native nativesdk"
--
2.43.0
prev parent reply other threads:[~2026-04-27 20:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 20:46 [PATCH 1/4] p11-kit: remove obsolete compile error workaround Ross Burton
2026-04-27 20:46 ` [PATCH 2/4] p11-kit: add PACKAGECONFIG for trust and systemd Ross Burton
2026-04-27 20:46 ` [PATCH 3/4] p11-kit: explicitly disable tests and zsh-completions Ross Burton
2026-04-27 20:46 ` Ross Burton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260427204640.2003231-4-ross.burton@arm.com \
--to=ross.burton@arm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox