From patchwork Fri Sep 19 10:14:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 70598 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 73DEDCAC5A5 for ; Fri, 19 Sep 2025 10:14:26 +0000 (UTC) Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.web10.12990.1758276860089267794 for ; Fri, 19 Sep 2025 03:14:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=ec7SHzco; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id C62961A0F0C for ; Fri, 19 Sep 2025 10:14:18 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9B793606A8; Fri, 19 Sep 2025 10:14:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 83E4E102F1C5D; Fri, 19 Sep 2025 12:14:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1758276857; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=eoAIkDWRDJMH1+pH/cy6qUwu2UKxeYAGnqqjspyXPSc=; b=ec7SHzcocMP13moMP/Ic7Ze6Fuo3GgPjjAsW5khXLxxSYhgOkGXYGxx7V3BCmW42cIN7AJ w5sDbYycQOfKauiPkp7l0fS5X5Q2t++0hwWcumJTnSL4wVbVGXijnI3C5pNpzXNUzex2kX nEl0SYrNYatQqjcAi7iv8fzNbOcfzCBy4SkZfMn/C4plTksNsNVHlYyTwjmWZehWExvCT8 WvfFPyot6PhfBwTjq4bJOJV1i0Yr41s40kiBrXnAou4DSeEfX7Tlnsz5v1iEHd/Q3IbNHz /cMmxjkc5N+shaSbD18L32azuyEiuXPPfheQ+AxGC6PqCtbq+47UlrEf+3/yWA== From: Antonin Godard Date: Fri, 19 Sep 2025 12:14:03 +0200 Subject: [PATCH 1/2] dev-manual/layers.rst: yocto-check-layer: mention the --machines argument MIME-Version: 1.0 Message-Id: <20250919-update-compatible-doc-v1-1-f3a343914503@bootlin.com> References: <20250919-update-compatible-doc-v1-0-f3a343914503@bootlin.com> In-Reply-To: <20250919-update-compatible-doc-v1-0-f3a343914503@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard , Mark Hatle X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1255; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=YZVKBRPuHYwU/Bgbe94ddUkNMBiBk0Kh3g9+u28vmKI=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBozSz0nrd1js2jE1rxxWC837/UOlLdW1UKZwvCc hS5d9CFykGJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaM0s9AAKCRDRgEFAKaOo Npv4D/9ZLqsHtYUTXY1FevFFSzHobt90LTTDLkCis0TDuWhaebojDV+ECV3u1GAAcRAQwClKZ6J uaU+OtDQP2fOYHaPswiK3GbyCjGFQ7gjE/jX0htPPN+OT4Eu3JoZlBMqlMr65v0bAMcP6sUV5cr d1037dErpiFZTHYFqQpCjpakz1+EqDFkyZ29GufCcjfJQ7+Q3EL0rvzXXHWjD27AKBEPnwBslYr mMY3P/eXhxAKAXusUvP1LSR9TOOLgd7BmrujdQEH2I/v3WHx0IjVWDnKzKDdCucygDFTz08EY4X GFazjHnaEbBEm+dOym1Oz7P8ETKMvS9TiKvkqjL87awicqNWBBbnfBqqhiPf0zA0Jr0LlRAvm9U x5cAOl693kFzZwZ+YxcWUqs3hJ8Yh/HyO7g2emQ4IK+b3LrmibyYkZuTlUNEU3aF1WpqneDLISS QMF/Kr4KaL5+EMPz47P5bVOzwKcKFfGJd24ccca3GeuEO9QDh0RvpyXBovSunV1hl49Wel3zlcL ZhOFLJRnEzstbX2gFShIaC2IFouqL6/br0qRKrULnmiwRvuehZn9hxsDdqEBn2sPGdt0WUGSDEp nej4+b/uZ9mB9/Wj2IyDTTcPRLCPwxKKWeyqdXCKWMrZJ4TjQEAMjPnYRe351BiMeyV0W1UmuA9 zH6ttbf1nGJ64WA== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 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 ; Fri, 19 Sep 2025 10:14:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/7557 The yocto-check-layer script should be run with the --machines arguments to test the different machines present in a BSP layer. Mention it in the documentation. [YOCTO #15974] Cc: Mark Hatle Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- documentation/dev-manual/layers.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index fbf3f1a33..0bcbceb1e 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst @@ -376,6 +376,15 @@ directory:: Be sure to provide the actual directory for your layer as part of the command. +For :term:`BSP ` layers, the ``--machines`` +argument should be passed as part of the command:: + + $ source oe-init-build-env + $ yocto-check-layer your_layer_directory --machines ... + +These machines are the ones present in your BSP layer, in the ``conf/machine/`` +directory. + Entering the command causes the script to determine the type of layer and then to execute a set of specific tests against the layer. The following list overviews the test: From patchwork Fri Sep 19 10:14:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 70597 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 6A75DCAC59A for ; Fri, 19 Sep 2025 10:14:26 +0000 (UTC) Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.web11.12845.1758276860399937889 for ; Fri, 19 Sep 2025 03:14:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=Z7DOwJP2; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 2649C1A0F0D for ; Fri, 19 Sep 2025 10:14:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id EB77C606A8 for ; Fri, 19 Sep 2025 10:14:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6E550102F1D1B; Fri, 19 Sep 2025 12:14:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1758276858; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=c1jBuvjqKX44MlWxbSGtZ4hjA1Jhgg/H0u+7din5bDc=; b=Z7DOwJP2rQPr6YXZCOhI1hae0e+wWIjqm38twzNqA737W2YoP71oTNZj8KPvJLoHb0F7JM +SJb9VCwmovet7cZan31FqV2G2a3ILg8qnAWjPzfFuHWj/9lafzxqBnEbgQDwQ4jfSLqDq 7almsPw5LAiFScF9fmpI9ldXpR+gceJXIC+YiTg2mNsm+kdrQ3P5UZzw6TbDs5WY8URXH+ PEHJmRvTIc+vZ4mPFwZ7ysAMovQQHaNlADivnEEeqmCEJioWZ/LkU1ZcW5mdmvs/db0haX bF1+X6s90B/bPisROB1JJhKhB2xnkTSoK+SjeL2zv4oFVNBjRQUSCwq0l2dUtg== From: Antonin Godard Date: Fri, 19 Sep 2025 12:14:04 +0200 Subject: [PATCH 2/2] test-manual/yocto-project-compatible.rst: fix a typo MIME-Version: 1.0 Message-Id: <20250919-update-compatible-doc-v1-2-f3a343914503@bootlin.com> References: <20250919-update-compatible-doc-v1-0-f3a343914503@bootlin.com> In-Reply-To: <20250919-update-compatible-doc-v1-0-f3a343914503@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1118; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=uG44GTTLKuSjIxWy9z55usA70jTszYs2KZ6pD+f+288=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBozSz0WG7RiQf7NXD01MnCqdvPERuIYealh47cB Mo884RQa2qJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaM0s9AAKCRDRgEFAKaOo NtzVD/wKJ/zuxa2NU+08quOYvXjb/1LSw1FVTlubTzniBG6N8qVJw0VDRhr+XbtErQ9t+27vV5p C+/JKwMY3MkNkdM3h7fFyAF4n20+YVJjKDEb1NC8BA+I6zEtBmnDal6hWJzIqboMHweOs4gOSRJ wXWoG7Pl+HzJjokNe5b2Nux8Hlz8vDVrYLhXdYgzaKWOsS8dNdFXLVs2SGmcuoEQmtdAMC8iVXm m/SMFy5RTNpAcNDVnvDqT4SsCVHXjP8uDzhv6NIAU7z3xQGfP5OMsIEmncN3QuPMjcJTanxy4xC PQrTz9JKwES0vCsvT1cGPfM8146Q9zmRC7SAvIAjtPSPL8YKPsgTQZ4VZ5a2RUXxQ7GStR35Ehk 4Phmn34pMd4gBEcLVgf9i8ckLASjisZoRYLVTsCUcHzTCxo7s7UMb2On7VAc6v07FYayip1WB7G nNyjPlyu8tuq8mynR6P7Gl3bGbVljIbIs1iC+3Up/XPq8kkuZ6fn4r6heDafhIy5i9YFuDW7Gmo fOJtghCGadrSHXJcw81FqENV4WusMk2t9uTD6oxS9bC7Rc38aXQWfK/Kun0ZNOAkZn+f7Wrk89k BIWeqFrzxfE3KAv6G+PQ1JIWpzrjd93Y0UlK8X/uVVTxAPac+W6+J/QEBx2VfPEL6uwMVI5D4Sg HBQoFpFAjGK2UBQ== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 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 ; Fri, 19 Sep 2025 10:14:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/7556 Fix a typo in yocto-project-compatible.rst. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- documentation/test-manual/yocto-project-compatible.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/test-manual/yocto-project-compatible.rst b/documentation/test-manual/yocto-project-compatible.rst index 65d924fad9..7a2e00a99e 100644 --- a/documentation/test-manual/yocto-project-compatible.rst +++ b/documentation/test-manual/yocto-project-compatible.rst @@ -38,7 +38,7 @@ Benefits and flexible: it gives users the ultimate power to change pretty much any aspect of the system but as with most things, power comes with responsibility. The Yocto Project would like to see people able to mix and match BSPs with -distro configs or software stacks and be able to merge succesfully. +distro configs or software stacks and be able to merge successfully. Over time, the project identified characteristics in layers that allow them to operate well together. "anti-patterns" were also found, preventing layers from working well together.