From patchwork Tue Mar 11 16:51:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 58689 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 725E1C282EC for ; Tue, 11 Mar 2025 16:51:52 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.14947.1741711910379064518 for ; Tue, 11 Mar 2025 09:51:50 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id A922040CB0; Tue, 11 Mar 2025 16:51:49 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M747m-re64SY; Tue, 11 Mar 2025 16:51:49 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 8B9F240CAA; Tue, 11 Mar 2025 16:51:48 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id E121D1642C8; Tue, 11 Mar 2025 12:51:47 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [master/scarthgap][PATCH] open62541: fix examples binaries packaging Date: Tue, 11 Mar 2025 12:51:46 -0400 Message-Id: <20250311165146.3713480-1-denis@denix.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 11 Mar 2025 16:51:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15973 From: Denys Dmytriyenko 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 --- .../recipes-connectivity/open62541/open62541-arago.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc b/meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc index 3d72f0e9..745c88a1 100644 --- a/meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +++ b/meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc @@ -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"