open62541: fix examples binaries packaging
PATCH 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.
--- .../recipes-connectivity/open62541/open62541-arago.inc | 1 + 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +1 -0
@@ -28,6 +28,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.25.1
Quoted 10 lines · Denys Dmytriyenko
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_clientandua_serverare 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.
Thanks! I was going to look into this today.
Quoted 17 lines
Signed-off-by Denys Dmytriyenko <[email protected]>--- .../recipes-connectivity/open62541/open62541-arago.inc | 1 + 1 file changed, 1 insertion(+)meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +1
-0@@ -28,6 +28,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 · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc
Quoted 20 lines · Denys Dmytriyenko
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_clientandua_serverare 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 <[email protected]>--- .../recipes-connectivity/open62541/open62541-arago.inc | 1 + 1 file changed, 1 insertion(+)meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +0
-0
Ah. I see you are making this change against master-wip. master and scarthgap do not have that change yet as it is still cooking. I'm going to send a v2 to move this patch over to the .bbappend so that we can pick this up right now and then rebase master-wip on top of it.
Quoted 8 lines
meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +1
-0@@ -28,6 +28,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 · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS