From patchwork Thu Mar 20 18:20:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 59674 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 7EB2FC3600A for ; Thu, 20 Mar 2025 18:20:44 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.2126.1742494844177376768 for ; Thu, 20 Mar 2025 11:20:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yQRUWmJu; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 52KIKgSO705172 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 20 Mar 2025 13:20:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1742494842; bh=04i4cvJCu3HoNiZCyi2QjHFNXEnp7KA8DzGPQS1xzHs=; h=From:To:Subject:Date:In-Reply-To:References; b=yQRUWmJuepLdIJnEIo5LCjadlA5omgvTsnvSeCKQt6numVi3sL/70Qb3t4CPHy/oH 1iHiFecdV84ExxL8zfIoqGSRpMx3f3XnUFiem/2u3kxmIlWIgbrVE9F49KNQyy98VL Ki62gdME03BMn5afT2tfcXueTEGvcnWjrbQnewUw= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52KIKgEn043253; Thu, 20 Mar 2025 13:20:42 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 20 Mar 2025 13:20:42 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 20 Mar 2025 13:20:42 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 52KIKgYk006002; Thu, 20 Mar 2025 13:20:42 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1tvKVW-0000dY-CI; Thu, 20 Mar 2025 13:20:42 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master][PATCH 7/8] packagegroup-arago-gst: Wrap various packages in a compliant manner Date: Thu, 20 Mar 2025 13:20:40 -0500 Message-ID: <20250320182041.2349-8-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20250320182041.2349-1-reatmon@ti.com> References: <20250320182041.2349-1-reatmon@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 ; Thu, 20 Mar 2025 18:20:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16139 yocto-check-layer does not load the conf/distro/arago.conf file during its execution. This means that the LICENSE_FLAGS_ACCEPTED variable is not set according to what we are willing to accept. If a packagegroup is trying to include a recipe that is marked as being "commercial" and the LICENSE_FLAGS_ACCEPTED is not set, then yocto-check-layer fails. The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the DISTRO_OVERRIDE says that this is an "arago" build, should the package be included and this under the direction of the LICENSE_FLAGS_ACCEPTED variable. Signed-off-by: Ryan Eatmon --- .../recipes-core/packagegroups/packagegroup-arago-gst.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb index 0aee4773..f5832109 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb @@ -14,9 +14,10 @@ GSTREAMER_DEPS = " \ gstreamer1.0-plugins-base-meta \ gstreamer1.0-plugins-good-meta \ gstreamer1.0-plugins-bad-meta \ - gstreamer1.0-libav \ " +GSTREAMER_DEPS:arago += "gstreamer1.0-libav" + # gstreamer1.0-plugins-hevc GSTREAMER_DEPS:append:dra7xx = " \ "