From patchwork Mon Jan 22 20:19:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 38155 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 306B4C47DD3 for ; Mon, 22 Jan 2024 20:19:13 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web10.3131.1705954749490693759 for ; Mon, 22 Jan 2024 12:19:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YMnrhYvf; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: reatmon@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40MKJ8FJ036694; Mon, 22 Jan 2024 14:19:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1705954748; bh=8CdCbkoLOM64ETDLPCDuh8hfbtnLJSJKF+/qQvbm3Bc=; h=From:To:Subject:Date; b=YMnrhYvfC+0Xkv+D7w2VSlrNIOKrC7OgrMsfAm+KxNbuRd87d/Vl64Z0KXsnUAQ1v gsh7Bj5k/UBbXZGGYXKnidDv2plrTJ51amd37ByMaF+1f5gHgj5G8bEA4VqJU2GqP4 6xKeqsGLLwvlPYf64W0+AMJPonKNvH9WoFSsCmB0= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40MKJ8Ob020017 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Jan 2024 14:19:08 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 22 Jan 2024 14:19:07 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Mon, 22 Jan 2024 14:19:07 -0600 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40MKJ7rC075388; Mon, 22 Jan 2024 14:19:07 -0600 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1rS0l9-0005jz-AC; Mon, 22 Jan 2024 14:19:07 -0600 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH 1/2] python3-yamllint: Temporarily carry this new recipe Date: Mon, 22 Jan 2024 14:19:06 -0600 Message-ID: <20240122201907.22026-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Mon, 22 Jan 2024 20:19:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/17410 Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time. There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version. We are waiting on this patch to be accepted in oe-core. Once it is available on master we will remove this recipe to avoid conflict. Signed-off-by: Ryan Eatmon --- .../python-yamllint/python3-yamllint_1.33.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb diff --git a/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb b/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb new file mode 100644 index 00000000..4b7bd065 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "A linter for YAML files." +HOMEPAGE = "https://github.com/adrienverge/yamllint" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "yamllint" + +SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Jan 22 20:19:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 38156 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 3D65DC47DDC for ; Mon, 22 Jan 2024 20:19:13 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web10.3132.1705954749743888197 for ; Mon, 22 Jan 2024 12:19:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QReTugtV; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: reatmon@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40MKJ7Ft000728; Mon, 22 Jan 2024 14:19:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1705954747; bh=BSJpOYYDODhXkuYP5oMSnW4vdwWe2CUuuddjseeS/fQ=; h=From:To:Subject:Date:In-Reply-To:References; b=QReTugtVzzj9gw6nVuek3YvaaZdRbJ0eW7v6SkLoNA7TE8h4LL7YxzKB6fMpK6znI zATU0rFDV9S64+p707u1UOWDNwYU/vIw7RrfVR1kmDXaUs+2SRcHfBk+eacoMKZ1Ez wCFCZVR9Nmfn+9VDMbE0pmGen5rNWnRF2q7hJn3I= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40MKJ7W9020013 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Jan 2024 14:19:07 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 22 Jan 2024 14:19:07 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE103.ent.ti.com (157.170.170.33) 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; Mon, 22 Jan 2024 14:19:07 -0600 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 40MKJ7KG076632; Mon, 22 Jan 2024 14:19:07 -0600 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1rS0l9-0005k1-DJ; Mon, 22 Jan 2024 14:19:07 -0600 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH 2/2] u-boot-ti: Add yamllint dependency Date: Mon, 22 Jan 2024 14:19:07 -0600 Message-ID: <20240122201907.22026-2-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240122201907.22026-1-reatmon@ti.com> References: <20240122201907.22026-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 ; Mon, 22 Jan 2024 20:19:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/17411 A patch has been accepted in mainline u-boot that has binman calling yamllint to verify the configs during compile. This means that the yamllint must be available as a tool at the time. Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index ef3ebc70..3a5d8a7d 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -27,7 +27,7 @@ PV:append = "+git${SRCPV}" DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native" # u-boot needs these for binman -DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native" +DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native python3-yamllint-native" # SYSFW/TIFS Firmware DEPENDS:append:k3 = " ti-sci-fw"