diff mbox series

[meta-arago,master/scarthgap,v2] open62541: fix examples binaries packaging

Message ID 20250311172159.6128-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/scarthgap,v2] open62541: fix examples binaries packaging | expand

Commit Message

Ryan Eatmon March 11, 2025, 5:21 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

Recent update in upstream meta-oe changed FILES list to only include
libraries, which is correct when no examples are built. Our bbappend
enables building examples and those are placed into own directory.
But there are 2 exceptions where ua_client and ua_server are placed
under ${bindir} and now those trigger a QA error about unpackaged
files. While these 2 files should probably go along with other example
binaries, for now restore the previous behavior of packaging them
into ${bindir} in case some downstream usage expects them there.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Move the changes over to the .bbappend so that this change can be
accepted right now.  We will rebase master-wip on top of this patch.

 .../recipes-connectivity/open62541/open62541_%.bbappend          | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541_%.bbappend b/meta-arago-extras/recipes-connectivity/open62541/open62541_%.bbappend
index 7ce16235..765639fa 100644
--- a/meta-arago-extras/recipes-connectivity/open62541/open62541_%.bbappend
+++ b/meta-arago-extras/recipes-connectivity/open62541/open62541_%.bbappend
@@ -27,6 +27,7 @@  do_install:append() {
 }
 
 PACKAGES =+ "${PN}-examples ${PN}-tests"
+FILES:${PN} += "${bindir}"
 FILES:${PN}-dev += "${libdir}/cmake/* ${datadir}/${BPN}/tools"
 FILES:${PN}-examples += "${datadir}/${BPN}/examples"
 FILES:${PN}-tests += "${datadir}/${BPN}/tests"