Skip to contentSkip to conversation

open62541: fix examples binaries packaging

PATCH New Ryan Eatmon 1 participant 1 message Mar 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 open62541: fix examples binaries packaging

From: Denys Dmytriyenko <[email protected]>

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.

---
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(+)
meta-arago-extras/recipes-connectivity/open62541/open62541_%.bbappend +1 -0
index 7ce16235..765639fa 100644
@@ -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"
Signature · 1 line
2.17.1