From patchwork Fri Dec 20 12:16:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54473 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 6F79DE77197 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150874.1734697025808215619 for ; Fri, 20 Dec 2024 04:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JtNRrHfq; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3855D4000A; Fri, 20 Dec 2024 12:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gweNnI+2kRQYs4jur2vxmjEe3JEcd4EF+pnPjvSxFxc=; b=JtNRrHfqol1yYTyjft8lqkdHlX4a4uU8OFa+w3zOrw+yb2ze9sYRNXfHoQaKJTRbChEkAk xyGxKCnKmiKeOpIdlISRNBirqWdhqagd8WWSnzOuXI0gB+W7Pcaf4KFU3XZb94nyA+vw+q EGpgbEOuLMkrs1L3+KxUcQoNiTpBuvs/DwkIE7rpYed+W5TriXUoNmemkkUwHchI1UqrWM iy/r8jSEfAcqXdxLZKPQspPzvbYY/TPACxbLPyIsvAm/NmU7rC/aiM6OpAZ9Tfj8N+0JoN IjEGvSpXYcJYqSTIAUTnhksPTnjSAowipKn5XwKmMtJ8MGsusyT8HYkOEfmCGA== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:28 +0100 Subject: [yocto-docs PATCH v2 01/14] ref-manual/variables: document the KERNEL_CONSOLE variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-1-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1687; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=mYHtA2F50h/CfZKxGIiC4Xek46L/8pWUbM/dwQDqT08=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+gKsT8t3htHE8kaU8thJNJb46st+WO5hgA dO2NTBWfrmJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo Nt5FEACDQ1A1pmfRAPu6B6aKFS48OZAwwTn7mNVjgN9ik7F64TBVOu5M8EPqqssxZNF2RhoGeH9 NnMDQB8f7fzUEdJaptfIKtM5VSW/8Xh/ZWWLdHRYQuWW/yVjX7/YhZnxaBXor6l7JboTLvQE0c/ IvtGzdrZ6kL4nTTzouG5V9y866X1NPlthhAlmCZb9RJ+FvFFj5waGiMgP2l0USV4Yblbyt9ILPL WYCbZCg2H8v4JA7efYQpHdK7UZExFJ31hyV5ppgSwytke7o7tGIFUeemUT1uoYkabqShXvIkBue MLctXksXedd9VKlKJcYnWar0JDWvV79rTd/aP9P9X1QFOsADCRMsQNyeaovQSiLnk/UJOfN/8OM lcw3lW1jE2xTuR1SdXsJThD70lI3qIV4VygIvRZ6/GwuCPOgIhVAGRwT4wdjlN0mQ/ZaiYJHjKx 3d9KLAemD1zcoPG6ObpmwZRGzp5X62I/eFXCSOxGJ2sOHCSDreHT1bctiTfUCewrlEwT8jHFngr PxvF5qjFWbs20Lvjzjlz1MoOZzYhbftIJbNvnYYKzbYm8u/iz30hJX3nNyaEogZY8PDKVNkU2wn 7iad4+YFqcMrTXAfDGqM83v3YxiZBpSx2Fe9kR13BfHfzL9FOuHYXVHA7Kjg1NlrNrOLrxdwteG YHBBxLH1GWIGHdw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5999 This variables holds the value of the `console` kernel command line parameter. Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index e8db89f8c9642b1e36c574e1369093a7a2ce30a4..b31abeced4cc9b692f8bed814891a267c73f29b7 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -4578,6 +4578,19 @@ system and gives an overview of their function and contents. You can register custom kernel image types with the :ref:`ref-classes-kernel` class using this variable. + :term:`KERNEL_CONSOLE` + The :term:`KERNEL_CONSOLE` variable holds the value of the ``console`` + parameter of the kernel command line and can be used in places such as a + ``wks`` description file for :ref:`Wic images `. + + The default value of this variable is extracted from the first console + device and setting in :term:`SERIAL_CONSOLES`. If nothing is found in + :term:`SERIAL_CONSOLES`, the default value is set to ``ttyS0,115200``). + + For more information, see the `Kernel command-line documentation + `__. + :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY` When kernel configuration fragments are missing for some :term:`KERNEL_FEATURES` specified by layers or BSPs, From patchwork Fri Dec 20 12:16:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54462 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 06C5BE7718B for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150875.1734697025887775530 for ; Fri, 20 Dec 2024 04:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ks25K4d9; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 708A14000C; Fri, 20 Dec 2024 12:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iMs531dinYeVl6eDR+xTTgCJlG0VLVF8hm96iB3QqaA=; b=ks25K4d9QcbiBw5Mm9vAtqmxUEixiuWOxAb5+uUh2f4+37q1l5Dljv4T2UznA6J+06KZAw 88rmzPBJs07fajbbbGfw2r8m7n5iC/0VJRUVzd9xRI/P2Nhl6tJ8yp8G2gMNjx1QK1x/XX kwdVh+buKub/hYmbTeLfXjRiLl3lfZFZjVw1xR7IQ/nwhMvCCjITFsuejrEWezNJ1s/xoR FnWZfSyxYqyNAiX37/8p5COugb+ZG0o0QYdVkBvWtha0WtilRNOGvfkkd+ReXhK7FDiZNB DUg9fzqsNRpVDv7Po65d65hBVgLivjZTEkNYdavkJYWC383S0auVtdMunqDKyQ== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:29 +0100 Subject: [yocto-docs PATCH v2 02/14] ref-manual/classes: drop the migrate_localcount class MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-2-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1230; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=chliSmUXkUtA9kCXoNfEY4Iw2QrBbAqGmQY0i9Xa0QY=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+IpK19lMxVD8wBccZfiVvI9XbDj7HCzdZw FRSmtl6hJaJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo Nnx2D/9smchQO1KHFJnj+HmAcm1ib5zbqGTgYxM6EEJV+mxOLfKZMRo3A4dT2vrN91SFwhgoaqv JLmOY8OJiVrqcLzfrls2UOBks+rVEkI0pMVYegIbyJrFehheW97KxRh2iq1Im+UpJYYJy5fo4S6 nW2nTDouquoUCW/+Hp0OQP8gt0C09Pglr+1DWXOnFnQnHFghzs+Z3rlH2xou/vI42DJRwDeDcde yzuxzJk8+J4IpLlsBj5kUpmuunpczeSkWQs1AcQfbYlDaP5M7seT+R5Z3RbIbL5YVyn0DYaeOZE sDFxsyeE6Cbgcz1cubl4d5yxXy1B9mH/l3FPHXcVwAnjHLQQAW4Yjvl70YHoe6Bhn6huszJImoT tud5xZcF2MX23EXVE9PJNnq5VkD6C2L2PjcykkxISBkHix08moaahhOhKO7d45/uFKz5m0OwV9s w2R1VeDBNINhVotFoVcgR1KU+a7JqxEmqsciSdENPc7dRe3sFHZZcZduoKlAdR9uZ0BtOnC9yS7 sw1KSunuwTwJYauIZZ1gielXy06o+Co6oSP746zHLIegCzRCTOE1eB0kz4H6OywBc8AXPCf7KuL 78IPFNjz/7aFB8xJqnYvcCTdsaFjpcekfHayCc7+LB/4J3QqRO5FvETQFkaZiekbycHxQhyy2k6 WE20yKydt8MjD7w== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5998 This class is obsolete and was removed from openembedded-core with commits fca25fc4d7721f85f64c942307ebe7ba9f2fad3e ("migrate_localcount: Drop long obsolete code") and d0f35207f9e19b440393a79ebf621649c495738d ("bitbake: fetch2: remove localcount and use AUTOINC instead"). Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index e5fe44052d4b05bf1b2b3acfaf2fd368f66fb261..3d61d8d7a00b21fcff82a771f9718013fae36694 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1877,14 +1877,6 @@ each layer before starting every build. The :ref:`ref-classes-metadata_scm` class is enabled by default because it is inherited by the :ref:`ref-classes-base` class. -.. _ref-classes-migrate_localcount: - -``migrate_localcount`` -====================== - -The :ref:`ref-classes-migrate_localcount` class verifies a recipe's localcount data and -increments it appropriately. - .. _ref-classes-mime: ``mime`` From patchwork Fri Dec 20 12:16:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54470 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 3DC8FE77192 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web11.150618.1734697026185439557 for ; Fri, 20 Dec 2024 04:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=n28KEic0; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id A202F4000D; Fri, 20 Dec 2024 12:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HHqTkq6Vg6ZnkG+OvQm5TUh++7JfEnLt74Ko8tsDDuk=; b=n28KEic0fppKOcfuslO3b6sPSirHx3/hIFR2LMGutSqon/dgdEXip/EsPXAoLeRG4+9HDA srsaIT3KTfmEGi8+FkM92JLHOWokhxiLk/XgTyWqio1qjFjbLkOgne5yt1f/Z77gYqkqEj LuXYxhAzBDWBkR9K5TYANQolOqZGwN9H056yUtEOUz42/ANjDEyyK7CcDax+accsOh7U3s R0aa37wrbpml4w5rnw8Rn+FJyf2He+Yd7JXOTvdivc8ThjE4Ub9x9wpK1LP+zkL4GZdc7A 81cYsRKL8qPLCqPCjUSRth7QNx49ZrgG9sQcuhuAbte5ZQ3kboCik2NaSk/tZg== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:30 +0100 Subject: [yocto-docs PATCH v2 03/14] ref-manual/variables: document the FIRMWARE_COMPRESSION variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-3-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1397; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=c504MZfaiajyKQxywhxpN2WzbqrHahHfwsNBV93p1gU=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+SrcFU2/peChptnMOj876cm3+cali8uKPw iiNAZ+C6uKJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo Nmy7D/4+HtoXlc/iNnl4F1C6mwU3UAflCMIVnKe0XJ4AhrFkodukjizWXZ/54Q/OAy4X0ZdoSS8 J0GkQ74+Z7r5ZkAcMM4OX4oD2k3CdrODs7buwe6qT+ZVJ+1tLpp0IlQ4NfCSc0v3NBvN+wFWTF+ qnlSVF7SRFq9MEFrQec3iBQKxYbZ5W7lpxiUWukQ2aeACll4731RlQOfedLKn4n5/tmj1sP0ryE wSCiuV9DOuocm7pbAG9cL+tTLE2KOlmQuRUHtGSOZ7tffd010iF9t4P911qUCzc6Fb2ZcxcmwZY ahc5tUayjlaFBpALDcEEd5vT8qbtDFJpRegreXDj8ajy0iLcaRM69e8YyKl0sqk8WSINtJY1cJz 4tZcz8Zk0R0OeLROayg7OASWZSm91hm1MihE/g+DHT+JpnYFFrE3ELojZPvS3YQpk4dPtj31jcK BsTNs9EeDZld4+oqrLM7uUtD6rvVjRcCO/LUmzfSe4kec78uLDt8mrzDmBmy5YBDOeKLG6Fdf7Q Q6tjrQxNBB/XbyzNn5H7GZ5VsRllQBeRM1V5JZk3uviwBz/r14llpFtPRYdW4eXIQHdQ7p+DG51 oKWsgSh52fT2GWo0LZKroKiuLTOOaAO3/NAYNruIBHsrEqd5GO7+fiycXl2WglpyCpzuYztgBHR 4KJp8I8zWg3LcKQ== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6001 Added in oecore after the 20241017 update. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index b31abeced4cc9b692f8bed814891a267c73f29b7..21c4c78873e67786e09ac49a0ac15efedfb0240e 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -3038,6 +3038,16 @@ system and gives an overview of their function and contents. tables, examine the existing ``fs-perms.txt``, ``fs-perms-volatile-log.txt`` and ``fs-perms-volatile-tmp.txt`` files. + :term:`FIRMWARE_COMPRESSION` + The :term:`FIRMWARE_COMPRESSION` allows compressing the firmware provided + by the ``linux-firmware`` recipe. The default value of this variable is an + empty string (no compression), and the possible values it can take are + ``xz`` and ``zst``. This can allow significant disk space savings. + + For this to work, the Linux Kernel requires the + ``CONFIG_FW_LOADER_COMPRESS_XZ`` or ``CONFIG_FW_LOADER_COMPRESS_ZSTD`` + configuration options to be set. + :term:`FIT_ADDRESS_CELLS` Specifies the value of the ``#address-cells`` value for the description of the FIT image. From patchwork Fri Dec 20 12:16:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54461 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 059A4E77188 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150876.1734697026313523385 for ; Fri, 20 Dec 2024 04:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Q6G27XVY; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id D934E40007; Fri, 20 Dec 2024 12:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b67KB3n9TDnELx+MW/YqTKjyBUnnJLt4ibJTKwSUI2s=; b=Q6G27XVYC1XumnDS+UQm/mMdMpJyb/j7WvAE7zEbeeJ3CIxTTpdqkmtQ3UeMr3iU+9tR3j IAxB8un6YCdODzWYqePnHWuCIFQQwkZ6eXLx5RO4HRDes0RcCIj6GYTagh6tCcf9PjE4vA fbdfMFcmOGPHl5wuYwuqR/4nmaK+B6mXOF/1T2PoXy8jjuU9NyWRJBAYD06VAXl36euZvN +oifeCPBlWpIHh54lf30fxl0Ay4U5IDf+MhtPv9ar0fX17tCM7SZ6vdnhnHk6a9+W0KzON FyuhunPmNBP3zpqwDOiyKbz3ktZuS/MdWLje6w27w4pPsOG6UaL6LfLPs8Wo8Q== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:31 +0100 Subject: [yocto-docs PATCH v2 04/14] ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-4-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=840; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=B5fY0I30rsaW4C+6FdkaS9gi/mJl/QsoIdgo13j0B/0=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+heSZE+9I+3n2y8d8GT7Qd2EXwnI0QWc+n lvNhgOUt66JAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo Nm9QEAC4BF8gohbpRUFoLgzXQp6RcmW0F6Ve3e7tLiORrSRD/yhBLDY75VNr67I9skiSBZmx4ul ASOC4iInt3camfND8gNZd6QoIGF3HicLjeJSzizH3KQVMvnQW3MRaIC28Eq7V10jebjqxq/LBrT NDsiKPiugVDbnOVn2kzts6KeYxZiBHr3vZgbBEHmzV1BbPmH3ihwT+ZsgRWIrgDYZ3Zdujmr2ou CegBinICQqq+nmnNncx/8h+Z4KGBxhiNVRnuQ7N4xUc4x+lpp0Wcph2NNhn4KJRRWhjcln1rPzF M9YhrSbYrDTrA2/brqlcwnrWkbgIphqQqjVx8jIU+bSEYMGloe05CK0ovoKpNWAfsAZ+oMlN7TV ok5BrGeY6A7soLSyG5Ag3z7XcTkEhfaUL1x/izpu8dh1ZrK9bgSI6tjO3xucPmJ7LaB+XBBxo3G R4DCX7x19bsY1fd+LLttnkF1l+nYfYhR+K7Ke2beUH5StSTcpUDzuU01enCKxxa5sF0v7PfnodX nullYEGt3g8l0L0nfA/DBDR8CTcVSd0Gbt6n/oeKCNqg51dnvmfzDEfpT0Feb95s4r0+ORewdfK KwbEPYfOkDCDzXYRos0+0xdciYTnG22CPZ+yf2HBnnAN8l8B7DOH++M+IiHD8mRqCLpgFLJHPg2 2Q7LrQqGqemaqKw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6000 Both added recently in oecore. Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 21c4c78873e67786e09ac49a0ac15efedfb0240e..193c4933cabfd3057ab71ccdedc184341984371f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7517,6 +7517,8 @@ system and gives an overview of their function and contents. Specifies the type of archive to create for the SDK. Valid values: - ``tar.xz`` (default) + - ``tar.zst`` + - ``7zip`` - ``zip`` Only one archive type can be specified. From patchwork Fri Dec 20 12:16:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54474 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 5BC44E77194 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150877.1734697026512440146 for ; Fri, 20 Dec 2024 04:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fp7Vt9VR; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 19F1E4000B; Fri, 20 Dec 2024 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yMItNCoHy+hMPePsSnlYYOr4qaWUNe9cBunRSYDn+xk=; b=fp7Vt9VRDXIR+l9uIhfKxAYkbegqKZOzWBQcb93J12PkRagzHfyGLIiYhZhM5EKC1VdRjX kUsoc6Bl7eC5GqIcrNjqQ+MSkYXJNlC8kfJ7ms9nwJDFz2sdE4wrzpvYb6sMAJx2e3aE2u prpx02GUC/l4Aqy4GdI35Ff2kYY4X6sJfkMqZPPVfpAJKRmSYanmIeTy+O5PTt6FHA1mco uMHgAu6x7q+Oyv37EI942fd+N4XKLdt1kOE25JYBra/lYbrOm7KJg4DbeG1duYwM7pJV+h OwuoqT/auyJtU/wd17eUUpphEfy1eRLOCWNjw5hI0T1BznEaBwLwsWgOGVmcKQ== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:32 +0100 Subject: [yocto-docs PATCH v2 05/14] ref-manual/variables: document the WIC_SECTOR_SIZE variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-5-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1552; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=ITEi9PXJfwC8leCf2HzY5vT7e25pGDCe1NN2oGG6dwk=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+E1+f265RMNqBUnBAufYL4AARYQw6L4IlY WAARBmdD8SJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo NpaJEACOJhhA1TVkajURNHhWUYLzQNprT1ZNNalN4EM6dVhMxdvaHuuKd+eIl0lDIOnNP2Ab1rn GZnBlh2HbVHbeZp//3Md/vssnfHo1CwgO3D5C4BMRkNuLXlpBJkvREPz+amykYImcnNWMr89qEK VZC4tFCx9eQh5Ub+gwbuzy6ejR9lgdIr5mA93iX+2iZcN7LtysqMSgPPwypQW7D04jr62cXPYzG kdXFjRJAC7/GLMqOP/vzyDhslSPMaEpXuVsVE1+sEMzpxW0g+y7Wx2rhvUKl75l/S7tdz5qauvx gSHCKiI1O0iMe/o96ISZn+ftjqgce4iHb+iTiddX2J8xTOrIFUrZmVXGoCWIWq1DDfFQ1anQZxS KN7N3+2SjPcMEy/yHh29uEJXVjeUm9ruAU9QP2GNFHOpi4fNBoSNXHf8c79fUlIpit2jsLFgpUc m2cbTYjQEq2f3hwiToKBSP/LTMJFRNpuAuM3qm6538Kz4mDz3OaqYn/SUOyllxAIJSHtWDeGp4v t0e7WzLc7SK+jHhZX8Wu3/0wfwTCZojmx9aJFp2F/LL1S4JeRk7GUBIFHBGMYKzpaAcNJ6uqHfM XVRhPP7TDgkvxETaOx/j4OCa8biNOxXfDZhFeMxNbfYhRGOM6AUHQCivGCSK2NRCuD7E4/9wy60 izVSk+EIqQaPbrg== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6003 Added recently in oecore to control the sector size of wic images. Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 193c4933cabfd3057ab71ccdedc184341984371f..40f2f7c99aa9d3ec9b9f8fc5799dcad385ef1dc5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -10198,6 +10198,17 @@ system and gives an overview of their function and contents. Specifies the timeout in seconds used by the ``watchdog`` recipe and also by ``systemd`` during reboot. The default is 60 seconds. + :term:`WIC_SECTOR_SIZE` + The variable :term:`WIC_SECTOR_SIZE` controls the sector size of Wic + images. In the background, this controls the value of the + ``PARTED_SECTOR_SIZE`` environment variable passed to the ``parted`` + command-line utility, used to generated the images. The default value is + ``512``. + + For more information on how to create Wic images, see the + ":ref:`dev-manual/wic:creating partitioned images using wic`" section in + the Yocto Project Development Tasks Manual. + :term:`WIRELESS_DAEMON` For ``connman`` and ``packagegroup-base``, specifies the wireless daemon to use. The default is "wpa-supplicant" (note that the value From patchwork Fri Dec 20 12:16:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54472 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 68B4DE77195 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150878.1734697026728674865 for ; Fri, 20 Dec 2024 04:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=TyaOPt0Y; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4C3BF4000F; Fri, 20 Dec 2024 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ylnKYxbMtYbSNvefcxz0Sdp6+/raWDtlChIAeffX3EA=; b=TyaOPt0Ykfg6wdhjdgMmxTrHWXsf3Z2EZrIkbzE4UblyelQslQ5RwuZ+VE+uJNB+navbNe hL8hy5D+rqfDnPKDy+Y32x3KwvN1kcecF3LLEsU8s30qnD7tvBKkEn489eAwCMtap6R7cE sHSjfURmr9pu594T3PI0o03Ji76Mr9fsyrDJVMENT+sEC6gzRjNlhj4tdewtKFgIIauDfZ +c6oKTx6kurFnbzqfI6vu91imtR3MwXqhMrSE2WDQMQ7RiG8tGqEEbWoKVnASAqAuB2vdi 2RQ3rrulte8JJQQ2NYu3ul0PZDsum7i9TFP/DxpsdjRHaieop5fetnB8z6h2Zw== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:33 +0100 Subject: [yocto-docs PATCH v2 06/14] ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-6-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1351; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=sjT6lOgMLLEugdZzwyiZkACn7Uae2HbzJz9uo0CKBgo=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+F0QouRhPyZp4CPJu3JkSHn9j2TIgAik1w QIIsMVmZ/WJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo NoGZEACQkzVEyDhI7u5LUV7sGlIG8h149tm7ndWfjaTXeeAgh/rLyXyuhDX+KxU7nhsqH9L5tUO ltK6ymCJASOdkq6xtX2NVS+YKqBHDPrbHpk6BkDqm0pEg5mVuk60A2j1LzAEcpMse7B7Febbtkz Be6lARj9Es66jso3zx3mJMrfx/pkHyq/NsWpMh4t+9iV2imJHpDAowwt1p2IRLwBaBLZjxLbDaO bR9reVrVI1ljjVCTYRyo9qo7Ut9CBAl5i1zL8SQKiPoyUmJfyrwyUG0vOpvJi2SyqwWiGvpkItj Ih5o94SuYS0KFZhAC/45Atcwju4H2vktm2jIYrBAnW9LE4bnbc+5Fm1Ao1NRbxw03AU2FiIu5BK DbuIW2vZ0H9Jz3a83rlUAFfzah+0Npj3X+DHdbbfgfzey0kDSEazb/KRJz4d31EzS7EVEvBhjaO b/KPVgntQRrp4dBaITbsc2SJl7Opz1uU/vzpwqQTdb3KHDRE5EcAcq1Q28R0WMJMhcxSBNtlDmd EqARvoE8taCYU+dHlT7yR5LPsvYzdwwMSxWPJjzZz0n10VZWoWSvriQz+1/bdbgWBfUHzcqa9EE LanH8fFpOkq6H9zPi0xV7SHy+9plsuB7WcdU9I/NWMlz4wETHsqDeR2dxUKL0ALGze7oWWCiZnT D68q4OP4LJ/pYFw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6004 Remove in oecore by commit b4bdfc78e8e1cb8b86221bc55d80d601ea1a065f ("python3-cython: remove obsolete SETUPTOOLS_INSTALL_ARGS"). Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 40f2f7c99aa9d3ec9b9f8fc5799dcad385ef1dc5..89c37729bdfcbb2b041698d523399da3b5bc2af0 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7843,11 +7843,6 @@ system and gives an overview of their function and contents. class, this variable can be used to specify additional arguments to be passed to ``setup.py build`` in the ``setuptools3_do_compile()`` task. - :term:`SETUPTOOLS_INSTALL_ARGS` - When used by recipes that inherit the :ref:`ref-classes-setuptools3` - class, this variable can be used to specify additional arguments to be - passed to ``setup.py install`` in the ``setuptools3_do_install()`` task. - :term:`SETUPTOOLS_SETUP_PATH` When used by recipes that inherit the :ref:`ref-classes-setuptools3` class, this variable should be used to specify the directory in which From patchwork Fri Dec 20 12:16:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54469 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 43418E7718F for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150879.1734697026986918146 for ; Fri, 20 Dec 2024 04:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dsipfVXQ; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8079840011; Fri, 20 Dec 2024 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uZheYuuZnJEe81iRaP0oEIq21sQbLqGdhzJgNO2jBDQ=; b=dsipfVXQQC4bBj5KFwSKcfQA1bk+jJqztbMXZvv7+F97lWhG0jUf4BVgTGHfksx6hc0lri LF2H8hhSi0+tbgxk2TPgUOH7hKdjBWUJ7CB7mAgCYoUCly/ef7LNQWarb1gfW1Hppv23WE C4OeGQEQlQXxkn9P2G/LJee83e8xOGkilsML0CMGLCJaHj0aCiO02BoA83bCIvHSc22rVB sJ6eR7vQzVMRsTR67/qh3yCkT/2t/HlluKPoi8f1tujCYDhBWHGQTjvJCoqJPwEcMR/mu2 PGUFrH17xC5MaFmlVUJpR9VBUhYkgwdlHcL2EPZsGqxCw2jtwbWJa3Gx89dCbg== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:34 +0100 Subject: [yocto-docs PATCH v2 07/14] ref-manual/classes: document the cython class MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-7-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1016; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=FAa4jdp51NAoRvSTWvTy4WGz73M0L8k20iM/qF4JdJY=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA+gDxxkNLl36/d+nxe/gKQcL5Z9jvMGpzJ4 sgymUkV3jmJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPgAKCRDRgEFAKaOo Nk7aD/4+dyWpbIedd3JWjJ/KcAi8maP53qiqCSC9+df2a2LRFErbRRyDE7ubw3GgL7cB/ANj0WR hwU5vI5diCMxmHwLocoz5DSZaLxvjr/tsGT0CFruhUSpHk+EguRAYi3JUSbhc2Y6zewHg8bGoPy miqdamloe+hXpYE4CQfsGKKxSVa8TMVkEeq2CBfHVTqMnD9JJ+6qE75eO4KFgw+u5w+aQTbaBFC 4RGgDVuYqYeFcDCCMR5CdFBJU8S9fLOloNd1s9djI8/Y6oKqxR5TYXul+AxsBO7DP3Tid31NZT/ jdd3WJW9h2nqJCzifwcOUIIYrtEFFAzNjb+ErJnQlg8Z6q+I1y+/ruOot1gRcah+tS7KsEAwNDY g/B16eqhL8CAfduaf4FfC0yA4UqEz981CS4OWllx+zBSoDMU9baPc7/Q01yE/YWY7aea5/euGWd 1q7DCPmKdsO2QIGJxbXKkzDEli9WgJKHwAvaCeRgboqRLnE7vJbCxmVCF/MscfbUfn73zbvzweu afxBbP9ULaRfcu5W3h9YqOyKnCXviILWCmswjtARjZTRzAWmHH7bHvat6TTTvrJkGb1YdI13e+2 uZ7HrNNCC0f8wViqV5lUVzgj13o6m6dIqDGqRCxwC3g9CJ9GjxojwRxwyEAAE13v1Vg68D2dSZs ELmbH0rK7l64p5Q== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6005 Small class added in oecore by commit 64b6e8580842949be58f97f4dff91d1f097c4020 ("classes-recipe: add cython class"). Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 3d61d8d7a00b21fcff82a771f9718013fae36694..af9aac928186f6a545d9899a24bd9e3dc80ef2e8 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -614,6 +614,15 @@ You will find some more details in the ":ref:`dev-manual/vulnerabilities:checking for vulnerabilities`" section in the Development Tasks Manual. +.. _ref-classes-cython: + +``cython`` +========== + +The :ref:`ref-classes-cython` class can be used by Python recipes that require +`Cython `__ as part of their build dependencies +(:term:`DEPENDS`). + .. _ref-classes-debian: ``debian`` From patchwork Fri Dec 20 12:16:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54471 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 3D61BE77191 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150881.1734697027207219318 for ; Fri, 20 Dec 2024 04:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MYTp6JqF; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id B2E2540010; Fri, 20 Dec 2024 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lM3nQB0APQL7l3SKVfDJRxeqO88+u3AtCNP9SoiQNRY=; b=MYTp6JqFtqT8GUDyTPI6VxPqMsWtMWi+y28w1H9kqAq7nF5jGSn9AfyrBcT95Js2BVPH6F sWY4njYDGg7U191TYWfwVXnVbTxGJopyHz3um9Knu23BCE7pz5bx7CrmSxnkZ3Z7yhmAuE HqjBOkHyzvFLL5lXMS5B0eT/qD3eUrmm14xpckfIpAV/KtBwKb2vV+WX3OQT9WeHHC7r6Y nkAeB2JzB37EzfTKk+e4FXpOMmrM/QKWsYvPMFghl3yMBMRYrnl/Paay3Z+KmkoBP+hZ7U H/3LsCL0GiaXGK7UymAXjOFReCJeefao6MnETmIm5qE8VqMGwkL6ZvXMfYbFEQ== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:35 +0100 Subject: [yocto-docs PATCH v2 08/14] Remove debug-tweaks references MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-8-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=11402; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=aiHAg34qYupkxILZvz9eayvYRlzQ7nAqO3Ez2uDWLvk=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/zR5nidXs8dchWoZxcmnm6akoZbZssGqdS aveBtJ0o4GJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo NsKMD/9QF7EecNYY1WyCjGRT8VOjGc169xuiiR4NgZ2iHoDSH84w1JOWuM4KgWDiualxLQgDPQm 0AP2DJDPlSzMXmNqvBp8jUmMpeJrUkij1Wm+whp2vVnN0x7Lglx9jRBrsoqU4hJbgvjVjwxl1KT qpQj6SxEW+fndDs2SKsro4ktNJIwOHoeuzm3+UvDe87+kDcGd3nyhag7OD2wGSLp9psy0N3xqER e+TjhOdPfXQWw1syYwbqTdX4dH2WSTfONa9gByQQ/AR0nRScwMr3uUn2DQ7InBUDbaXpD0cELKe gZ4B/43/vaf5hz1QWPfdtACBqrXM/kpYibnRFVblQjJZjc6j3FQI08qJiA3VIjUf/JYCmMCWwZU TAsTPb+Z37VPzlbC24liuSw1YoOwQEF9+7huGQDmVeDWO5h66b+sF4eXaPmOvJaQKjJL+jyV5mh P0BN979kLl/Lar5PIqjIXPcfjXOncvTl+6sHfduZkwlEE9KNoNEf5RVBNOKA9gkORecHEUwprPp kVAV3Us0P5OUmvMv93em/qHEROEhYiBvf+zyiUiX/VYWzHhnDNvlJ4aC055tIlOxBhVZIHZ64E0 l3eaNNz7o/qjcfavGPy62Dk3uQ/srv+hg8eAG9wsCc9mqCbneAE37cxJwiLQapCX+jySZY0Dnnv pjeSupK0iDkO28w== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6006 We no longer provide this feature, so remove documentation for it. In most cases, we can replace occurrences of "debug-tweaks" by "allow-empty-password empty-root-password allow-root-login post-install-logging" to achieve what this feature previously enabled. Subtle, but the default local.conf does not include post-install-logging, so in parts where there is mention of the default local.conf file, adjust the documentation to only mention the first three above. In the intro manual, instead of providing instructions that replace EXTRA_IMAGE_FEATURES entirely, provide ones that append EXTRA_IMAGE_FEATURES. Signed-off-by: Antonin Godard --- documentation/dev-manual/build-quality.rst | 2 +- documentation/dev-manual/customizing-images.rst | 3 +-- documentation/dev-manual/securing-images.rst | 12 ++++++------ documentation/profile-manual/intro.rst | 4 ++-- documentation/profile-manual/usage.rst | 2 +- documentation/ref-manual/features.rst | 19 ++++++------------- documentation/ref-manual/variables.rst | 12 ++++++++---- documentation/sdk-manual/extensible.rst | 5 ++++- 8 files changed, 29 insertions(+), 30 deletions(-) diff --git a/documentation/dev-manual/build-quality.rst b/documentation/dev-manual/build-quality.rst index 713ea3a48e53ce42634c89325edc3e95987d0aaa..fbe5fb6f0bb34df440b06bc51123eb36c33bba23 100644 --- a/documentation/dev-manual/build-quality.rst +++ b/documentation/dev-manual/build-quality.rst @@ -236,7 +236,7 @@ Here is an example of ``image-info.txt``: DISTRO_VERSION = 3.4+snapshot-a0245d7be08f3d24ea1875e9f8872aa6bbff93be USER_CLASSES = buildstats IMAGE_CLASSES = qemuboot qemuboot license_image - IMAGE_FEATURES = debug-tweaks + IMAGE_FEATURES = allow-empty-password empty-root-password allow-root-login post-install-logging IMAGE_LINGUAS = IMAGE_INSTALL = packagegroup-core-boot speex speexdsp BAD_RECOMMENDATIONS = diff --git a/documentation/dev-manual/customizing-images.rst b/documentation/dev-manual/customizing-images.rst index 5b18958adec38945a163940faa778a597bc961ad..63482594465112aaf33fa2741e98b69830d8a48f 100644 --- a/documentation/dev-manual/customizing-images.rst +++ b/documentation/dev-manual/customizing-images.rst @@ -62,8 +62,7 @@ To understand how these features work, the best reference is :ref:`meta/classes-recipe/image.bbclass `. This class lists out the available :term:`IMAGE_FEATURES` of which most map to package groups while some, such -as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general -configuration settings. +as ``read-only-rootfs``, resolve as general configuration settings. In summary, the file looks at the contents of the :term:`IMAGE_FEATURES` variable and then maps or configures the feature accordingly. Based on diff --git a/documentation/dev-manual/securing-images.rst b/documentation/dev-manual/securing-images.rst index e5791d3d6df463a3d35665686dc2a53a3711e3fb..f4b528e559088b0021aab78bfc613640c493ff0a 100644 --- a/documentation/dev-manual/securing-images.rst +++ b/documentation/dev-manual/securing-images.rst @@ -107,18 +107,18 @@ Considerations Specific to the OpenEmbedded Build System You can take some steps that are specific to the OpenEmbedded build system to make your images more secure: -- Ensure "debug-tweaks" is not one of your selected - :term:`IMAGE_FEATURES`. +- Ensure that "allow-empty-password", "allow-root-login", or + "empty-root-password" are not one of your selected :term:`IMAGE_FEATURES`. When creating a new project, the default is to provide you with an - initial ``local.conf`` file that enables this feature using the + initial ``local.conf`` file that enables these features using the :term:`EXTRA_IMAGE_FEATURES` variable with the line:: - EXTRA_IMAGE_FEATURES = "debug-tweaks" + EXTRA_IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login" - To disable that feature, simply comment out that line in your + To disable these features, simply comment out that line in your ``local.conf`` file, or make sure :term:`IMAGE_FEATURES` does not contain - "debug-tweaks" before producing your final image. Among other things, + any of these features before producing your final image. Among other things, leaving this in place sets the root password as blank, which makes logging in for debugging or inspection easy during development but also means anyone can easily log in during production. diff --git a/documentation/profile-manual/intro.rst b/documentation/profile-manual/intro.rst index 86310cf318411e8995e88ee2b71031887c9ab097..31791255246ec6335d9a957b4514a1a43c72a30f 100644 --- a/documentation/profile-manual/intro.rst +++ b/documentation/profile-manual/intro.rst @@ -43,7 +43,7 @@ an ``sdk`` image, perhaps one of:: Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in your ``local.conf`` file:: - EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile" + EXTRA_IMAGE_FEATURES:append = " tools-profile" If you use the ``tools-profile`` method, you don't need to build an sdk image --- the tracing and profiling tools will be included in non-sdk images as well e.g.:: @@ -69,7 +69,7 @@ packages (xxx-dbg) which you can manually install as needed. To generate debug info for packages, you can add ``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: - EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" + EXTRA_IMAGE_FEATURES:append = " dbg-pkgs" Additionally, in order to generate the right type of debug info, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file:: diff --git a/documentation/profile-manual/usage.rst b/documentation/profile-manual/usage.rst index 17be149580341366f950d74f0c1a21e0ccd971ed..d17b256d0f649a6d11481a9aebaec54f3d753f94 100644 --- a/documentation/profile-manual/usage.rst +++ b/documentation/profile-manual/usage.rst @@ -308,7 +308,7 @@ install the debugging information for the BusyBox package. To generate the debug info for the packages in the image, we can add ``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: - EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" + EXTRA_IMAGE_FEATURES:append = " dbg-pkgs" Additionally, in order to generate the type of debugging information that perf understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index 6e52dfce17b9e06bdb8ad67a5fc8d7304a0f479d..4d327f1a7dca93010b932636dab1f229d667d1cd 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst @@ -285,31 +285,24 @@ The image features available for all images are: - *dbg-pkgs:* Installs debug symbol packages for all packages installed in a given image. -- *debug-tweaks:* Makes an image suitable for development (e.g. allows - root logins, logins without passwords ---including root ones, and enables - post-installation logging). See the ``allow-empty-password``, - ``allow-root-login``, ``empty-root-password``, and ``post-install-logging`` - features in this list for additional information. - - *dev-pkgs:* Installs development packages (headers and extra library links) for all packages installed in a given image. - *doc-pkgs:* Installs documentation packages for all packages installed in a given image. -- *empty-root-password:* This feature or ``debug-tweaks`` is required if - you want to allow root login with an empty password. If these features - are not present in :term:`IMAGE_FEATURES`, a non-empty password is - forced in ``/etc/passwd`` and ``/etc/shadow`` if such files exist. +- *empty-root-password:* This feature can be used if you want to allow root + login with an empty password. If this feature is not present in + :term:`IMAGE_FEATURES`, a non-empty password is forced in ``/etc/passwd`` and + ``/etc/shadow`` if such files exist. .. note:: ``empty-root-password`` doesn't set an empty root password by itself. You get an initial empty root password thanks to the :oe_git:`base-passwd ` and :oe_git:`shadow ` - recipes, and the presence of ``empty-root-password`` or ``debug-tweaks`` - just disables the mechanism which forces an non-empty password for the - root user. + recipes, and the presence of ``empty-root-password`` just disables the + mechanism which forces an non-empty password for the root user. - *lic-pkgs:* Installs license packages for all packages installed in a given image. diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 89c37729bdfcbb2b041698d523399da3b5bc2af0..5d24e8086588a0f8ff69db2dc060f68056d4cee5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -2604,10 +2604,14 @@ system and gives an overview of their function and contents. - "dbg-pkgs" --- adds -dbg packages for all installed packages including symbol information for debugging and profiling. - - "debug-tweaks" --- makes an image suitable for debugging. For example, allows root logins without passwords and - enables post-installation logging. See the 'allow-empty-password' and - 'post-install-logging' features in the ":ref:`ref-features-image`" - section for more information. + - "empty-root-password" --- This feature can be used if you want to + allow root login with an empty password. + - "allow-empty-password" --- Allows Dropbear and OpenSSH to accept + logins from accounts having an empty password string. + - "allow-root-login" --- Allows Dropbear and OpenSSH to accept root logins. + - "post-install-logging" --- Enables logging postinstall script runs to + the ``/var/log/postinstall.log`` file on first boot of the image on + the target system. - "dev-pkgs" --- adds -dev packages for all installed packages. This is useful if you want to develop against the libraries in the image. - "read-only-rootfs" --- creates an image whose root filesystem is diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst index 3f6a754d8818cdf3b718c359ef68238dea34b655..9a50d7fc54c280441958890730eea94a5fee8940 100644 --- a/documentation/sdk-manual/extensible.rst +++ b/documentation/sdk-manual/extensible.rst @@ -655,7 +655,10 @@ The extensible SDK supports two different development modes. # SSH is mandatory, no password simplifies the usage EXTRA_IMAGE_FEATURES += "\ ssh-server-openssh \ - debug-tweaks \ + allow-empty-password \ + allow-root-login \ + empty-root-password \ + post-install-logging \ " # Remote debugging needs gdbserver on the target device From patchwork Fri Dec 20 12:16:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54468 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 2DAACE77190 for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web11.150620.1734697027441262253 for ; Fri, 20 Dec 2024 04:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Tfhilqo/; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id EA7D54000E; Fri, 20 Dec 2024 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3INhU/8EjL4ukmHE/ItzaONQVbcodTIMXHcRb/c0lCw=; b=Tfhilqo/WFb6KiZ+bkYOPy5D52yl0dda6TCpi1iJj02++g95h0wQy9azfFmbR+dIuDwB/Q mCXTGXpFkLAjljHrgPFKEXmm1BHWBRUhFgKrTXFhsZByw8NOtLEYpu1WAOYqORvTCaOhYY l4UmsE72xy3HP34dzUNYPUm/n4NYZVp/h+Tc6jMyHifjnmoAi2KOibqm68HQ5N1Ip8f/r+ sF+jKgvK2Ywr59jZa2al3cLYWnBd+4Fz1t5RYknvoY4P5b5LAZuyXzue9dtseNv49Rq2Wr dUuVpYBZHGl7dR50J4/N9p5HKkBjojQM00FYpatb39Txeob5+3d4ubNYc0nkxA== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:36 +0100 Subject: [yocto-docs PATCH v2 09/14] Drop support for BB_DANGLINGAPPENDS_WARNONLY MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-9-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=3967; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=DtH1adumMW9O5KN1w5y6dFtM4TesqJ0xKdYYv8yuS9k=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/FJiY6iQnZF/rBtsEmBlIfrUlAtb+i4gwB 3e+sR4LEySJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo NkaHEAC8CoIi3XNekpYS1wsr6Nyie4pzGqxMgzgzVWC+3uaBLIwlq0Instwsois3VXtOS2+SJq4 APM6thfH4l6QVayvzmKEPUZEonS+Etz3WJwPgOfq112OpPw6H/n58yh87CHvRlo6s4QAcUN8YSi 6/P1WauCOFdK4hR2jUsW3zORFEwAyeOJsCscp0ODz/nfQirF/pMr49AOrcr/9tz9oo5E1CCb+3r b4qvUBrVOMyXWIV2N7l2q5UgTuGOofNA8rUwomnBWKnYzLT314uIWQ0upyxyiRW1qEXIDX/+Q91 448a1Jwd0ycQV/Opwi+HWrFC7QMYEZkwGw4Pm7GjKXdm68wGtVo/c0ZQnfpq8bG6LmmD0Li2j0U jaTuUA6JeFU70uFOMhI66I6oNcNzV+BH7wSAyHZcI8LjXRnroYei/k6BcTL+1hhBflfmiw+IbuO nQR37JP2QzYg1ni/0+Uca3faRMgUk9xk1c5zpN/vFQcXSY1S2aTQms2ahI5ecNQX5oPgZ0vbS8a uJQa1fuL++zMV3OlCUzf7m6wt+zNrvhcuOGRSRwfRRRAh3AZr4z859DuhTOP918AiXasskdO1nP JkfZwPzoycM8kzmsCSHHI/qwS7ugKMS/fdAwtpUC/H6ieUxIuXfCDvGNMcbB9eTkn/sLocWQ4GP EExjP8BBohTdGCQ== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6007 Support for this variable was dropped in BitBake, see commit fca9c9e3cb6f8e9f99bf51dc5e8a8d83f4c84c69 ("cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLY"). Drop this variable here as well and rewrite the "Appending Other Layers Metadata With Your Layer" section to advise to rename the recipe and check if the bbappend is still relevant - otherwise to use BBWARN. Signed-off-by: Antonin Godard --- documentation/dev-manual/layers.rst | 22 +++++++++++++++++----- documentation/ref-manual/variables.rst | 18 ------------------ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index 89c84669337c9ecdc90110fdf34b7949459a1b9f..c649e2bd60fd1d7114e6444d94b3c91e1f719f13 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst @@ -470,11 +470,23 @@ corresponding recipe file. For example, the append file means the original recipe and append filenames are version number-specific. If the corresponding recipe is renamed to update to a newer version, you must also rename and possibly update the -corresponding ``.bbappend`` as well. During the build process, BitBake -displays an error on starting if it detects a ``.bbappend`` file that -does not have a corresponding recipe with a matching name. See the -:term:`BB_DANGLINGAPPENDS_WARNONLY` -variable for information on how to handle this error. +corresponding ``.bbappend`` as well. + +During the build process, BitBake displays an error on startup if it detects a +``.bbappend`` file that does not have a corresponding recipe with a matching +name. To handle these errors, the best practice is to rename the ``.bbappend`` +to match the original recipe version. This also gives you the opportunity to see +if the ``.bbappend`` is still relevant for the new version of the recipe. + +Another method it to use the character ``%`` in the ``.bbappend`` filename. For +example, to append information to every ``6.*`` minor versions of the recipe +``someapp``, the ``someapp_6.%.bbappend`` file can be created. This way, an +error will only be triggered if the ``someapp`` recipe has a major version +update. + +Finally, another method to deal with these errors is to use the variable +:term:`BBMASK`, especially in cases where modifying the ``.bbappend`` is not +possible. Overlaying a File Using Your Layer ---------------------------------- diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 5d24e8086588a0f8ff69db2dc060f68056d4cee5..5c2920603fbf12657ab8f84dda027b8f26a75ce2 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -361,24 +361,6 @@ system and gives an overview of their function and contents. :term:`BB_CURRENTTASK` See :term:`bitbake:BB_CURRENTTASK` in the BitBake manual. - :term:`BB_DANGLINGAPPENDS_WARNONLY` - Defines how BitBake handles situations where an append file - (``.bbappend``) has no corresponding recipe file (``.bb``). This - condition often occurs when layers get out of sync (e.g. ``oe-core`` - bumps a recipe version and the old recipe no longer exists and the - other layer has not been updated to the new version of the recipe - yet). - - The default fatal behavior is safest because it is the sane reaction - given something is out of sync. It is important to realize when your - changes are no longer being applied. - - You can change the default behavior by setting this variable to "1", - "yes", or "true" in your ``local.conf`` file, which is located in the - :term:`Build Directory`: Here is an example:: - - BB_DANGLINGAPPENDS_WARNONLY = "1" - :term:`BB_DEFAULT_TASK` See :term:`bitbake:BB_DEFAULT_TASK` in the BitBake manual. From patchwork Fri Dec 20 12:16:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54465 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 1BE1FC3DA4A for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web11.150621.1734697027663586383 for ; Fri, 20 Dec 2024 04:17:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DoKW9PDA; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 28A5140012; Fri, 20 Dec 2024 12:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vIavEUL3zPLgvzNlnpAzCXMPRDDCgMrhPHMcCuTFh5s=; b=DoKW9PDAhdukA6wDlxW47/vgdfoBhnP3UJ7FGTUCtygSV4noakmihLLdbW0SPVGfg+JIyP GnboDezwLOuBSsK11bTSfdeshNJhDYeox9ardsngfS1aqPXvljVGM8t8caNcIJxGmmdKR7 +9ewtC+Ud6hFhzUOZvjp40h6e1IWN+o/Km5IRyO6qvC4Q6RkynCz3RAtuporl4S9PKyLSy RkH49THzlKPUgMfAADpeap4wE5hB98AZn8YQQqfCYc+V7Qd/eiKrxZY4KJNnlTf+jOTaYG 8XAEspiV41QCBJ4EfT6kwhE/SC0c9xlHRj/QBWq24V/87mold1Z7l+aCsShx/Q== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:37 +0100 Subject: [yocto-docs PATCH v2 10/14] ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-10-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1583; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=GjHg/MTU0FmqwIJA63IESL2xicp+WVEb4GhBM/WjPpg=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/9uQ7DmE6zhuNm6oaPlTAOWgkHNJFgASN7 +cBcnESL5CJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo Nv6cD/9oEzX3XGtlHC0aj59fxCk8LPTlRalfZVC214WD9r3t8RbVTeBTeSfnxeWOGxSHSIAiWm3 vN+0eVP0/jz0AyKM9q75jV4AAG+YeXadZ47GmLdcpYqNRMTZLv/DwBoK61tdJ2w2u/b1fky+dU8 uQOUvYA2fUkoVg6JAe4HNogL1aSHlj1qhc+N0Qq9lE9YvFlXvkjdi73EbQ3C1sDk7oDWe6uW0JY PVUil2K7UZ6a/pBde7hJibslxCT/Egl4TtrfkiyNZ+dYdoustfbozzWbgC0YloBQsqQ0iPeTLyp UJHZkifYvzXROZzMXXzPUF9r4CgpUDfZDzMMFY/mGYOZY/aOvBPVC3uzh42DvazSq3QK/wucupQ hgza95RXQ77HJTihkdibIve4ofQT/j8HfmER7170QyknYQhYptoNBVITIcWkJINXIs7j8VJKvKE gzYpcWrSDxEYfCELuQFAMonBXMsQNkBO9lAQgpHdoz2enasIW4zmUFvhdE5/YntEnZO7rl6TAat XKOncbws+VPoP1ot2oJRNCmd5oE7nUKHzeaq1z/HB1H3aK0V6zVq5ukqOsPydwGgZTIDE/yf1HY FRMGz636JP9EQDn1FsSt790Jw89YM+BUq3XN45XBn/fFWx3zY/9E4vzI4vlLeOAzSTn2fyJUCEY qlCn2vcURMkqdIA== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6008 This was introduced in oecore by commit ce2e42ace2d15fb6745437cf0a7f07d28398ca12 ("insane: Split ERROR_QA into CHECKLAYER_REQUIRED_TESTS"). Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 5c2920603fbf12657ab8f84dda027b8f26a75ce2..2a97ff98d3f0cb178ab2b6463980cf5a354acfc5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1250,6 +1250,17 @@ system and gives an overview of their function and contents. - :term:`BUILDSDK_CFLAGS` when building for an SDK (i.e. ``nativesdk-``) + :term:`CHECKLAYER_REQUIRED_TESTS` + The :term:`CHECKLAYER_REQUIRED_TESTS` variable lists the QA tests that are + required to be enabled to pass the Yocto Project Compatible status for a + layer. It is meant to be a read-only variable and any change to the + variable may be done with the approval of the :oe_wiki:`Technical Steering + Committee (TSC) `. + + For more information on the Yocto Project Compatible status, see + the :ref:`dev-manual/layers:Making Sure Your Layer is Compatible With + Yocto Project` section of the Yocto Project Development Manual. + :term:`CLASSOVERRIDE` An internal variable specifying the special class override that should currently apply (e.g. "class-target", "class-native", and so From patchwork Fri Dec 20 12:16:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54466 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 2D8BAE7718A for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150882.1734697027811072747 for ; Fri, 20 Dec 2024 04:17:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=puRN8Dii; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5D18D40013; Fri, 20 Dec 2024 12:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yk0g5fhrjBM/g9fiIMfL3tciLDr0gXxkpp00Sj6u2Pw=; b=puRN8DiiBqJpHiBOKbYAeTrhfwJfzi4UMaCOpcwP0P/ekHVQH8EqaxRQGd87mgYQQbkj4E jNeg7yTJurRI6bKefd8J9fzukW9omKEC0M8niozr4igjjZ1JGDoOE5GSN1hMKkZ2FehIdJ 8rGLvsdwNZa0nosM+dPWAkQSG9cGhnTt8oS++7o9S/MbNodwu71Hd4wl/NJfZAY07MeFK2 5Z5rlg9RrLuv8nLBNFYWN0MhlU2zxDCOtyCGKqs4wiNlIvfR0POd3H3TvP+kwbtdbcjqbV Hqr71Yv+6WPEAjtcyjAbyKdG4pHfJ9bVOJP7FQzhBVn7f/x/llixgN6lSqFadw== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:38 +0100 Subject: [yocto-docs PATCH v2 11/14] ref-manual/classes: document the yocto-check-layer class MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-11-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1721; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=4c1MomSAIj46XEeJAyr+ZEyugkWEimD5LzcAZdV/4tw=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/EhYtL0MqWfdqCX91rnX74NyX4xNfFdkV2 P0LgjukX5aJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo Nk8yD/43j7WQmC52h2bnsYXLJAYqG5avC9fi4nM2YBWf/VsNsL5c8UmNQjjbZu61hTUH8kwodWR EZ4n6wnm3majd9U/FKgts2Lpifk8TKZgA9jeGMp372/gjUZPB0IU73l6gb+ndvYyGNPegRG5MI+ vuvJz1e6XqcSmH7wp76wQJACzFO3Aq8MMOa3ZUSnzTwl8tDuW3vF8vOTU+Xfk2S0+BDs6/M6aIl QrF90R0w1DLtSV5S7GYF1ExonHUhDT0ekdU1S9rlFFfPWuhVo3OXATr14O6pXVYYMLmVb+/wKnU pUsK6C8M7lcLjL5Yj8dkhVH8F6YHCyiE08ou1a25YQaZ6jAikumi9SIVAGR14TkCFV+JfNLBwd8 LUr3boiofRPy4j1jq+XjzjZzihupjI6EblTDrNJPc3vyb2TrU4Ow+9VkyzA4tNUc8M/LME52TPy mGBD1yKdremycxotZzrS7kv+5GlqK/db8IfWVkq5U+Z3V6270/fIZKHxY6S0RgYyfXy+LQuFvrk VrjWCdcwJ1qVT0iaT59xUUBIeKOOJgPZcB9mDebOzZldgs6m0fDgP18xD2JyaT1ROpmtKqB/JXz sInIabcV81MuCfsceusZH5rG6pMOJXTTSmonM8HKhaGL04OP4G0ej3ZZ67sW5FXd2NCeF5rlAaJ B59cQeQF3UysRSg== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6009 This class is used by the yocto-check-layer script to check if a layer complies to the Yocto Project Compatible status. Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index af9aac928186f6a545d9899a24bd9e3dc80ef2e8..aee0d55c302a07decd0a223dfd1a7c68bcb0ef7e 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -3602,3 +3602,23 @@ the Waf build system. You can use the :term:`PACKAGECONFIG_CONFARGS` variables to specify additional configuration options to be passed on the Waf command line. + +.. _ref-classes-yocto-check-layer: + +``yocto-check-layer`` +===================== + +The :ref:`ref-classes-yocto-check-layer` class is used by the +:oe_git:`yocto-check-layer ` +script to ensure that packages from Yocto Project Compatible layers don't skip +required QA checks listed in :term:`CHECKLAYER_REQUIRED_TESTS` defined by the +:ref:`ref-classes-insane` class. + +It adds an anonymous python function with extra processing to all recipes, +and globally inheriting this class with :term:`INHERIT` is not advised. Instead +the ``yocto-check-layer`` script should be used as it handles usage of this +class. + +For more information on the Yocto Project +Compatible layers, see the :ref:`dev-manual/layers:Making Sure Your Layer is +Compatible With Yocto Project` section of the Yocto Project Development Manual. From patchwork Fri Dec 20 12:16:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54463 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 1627AE7718D for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web11.150622.1734697028083079742 for ; Fri, 20 Dec 2024 04:17:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mRHZzPM9; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 923E240003; Fri, 20 Dec 2024 12:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DsqbivM2KEuCzEDpCamA4OJ09yZl5NXBw8TEftVVnHk=; b=mRHZzPM9niUIpjkjJW9bQTymRY+SnkV0mTrpaf7B0klUxbRjjtmIXoiiQzSjVBk39/VheM qE1fHiQiTAGx1Hq+merXa3EBLPRNq7lHzGA2xUf207cnvLkJJPBucSRh4BfElIeRDV6PdU sGd8AISZ8I2H5TabfPsdu6Z+a4j8c7Pe6LzhtxblDe0ZFmPuSX0yiRxNnAckNyrJQAweUO SpauTthqa8dDmO9RK1QZ2yS947WOs3ZgO9FC41UDG7y6onElB/+hn8X4VuNiOug6PbdXpK MP4Skqv8xM7QT7gZ70dh0rSeddNGwLdX/XgH7WxQJZIu8fAFh1PKREQtAeHgug== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:39 +0100 Subject: [yocto-docs PATCH v2 12/14] ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-12-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1361; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=V9aruU5g3L6MlTBgN69Ef/XHPSJw71P2Z95+PPc+d7U=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/2oARI57cEABLbX0OopHypfMle6d0Fz3mk sOXk356ZSaJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo NkpxD/9SvzTxOP2sALnLdXt6Do4e/KQNOknvt7mLz5KRYhSOXFgPBOG70Rmm9UdDugC6mTAa+5l Hv8f2hMiFBE3osJwJmmY1S3+p9Vp1eCFrZFqg/yy3Pbhx2J47NftqD9h+4A35njwu0BrwUj4Lic 3Bz4/DBm/xf6Y5GAsz4G3crhPGd47zMUtxqkZ6iXQyIOnckGq1agQp5/AHomQoks22M6+ou4L1j N6/KnQE5FMOM/KKadT0b/Pj39wpH2OY1jrNSB26yaoK/GdXcNuwPWl2vq61NjyeBptyaeTCprox YO38B1ho7lqVdJ5ao01fenZmIz+aM83DrZNHWSrGm6+9nRrNbQsW3PvNehjIBaqXVvrHWAejyi7 zXTegpmRNFOuMOkNioTNA8kWrYZreBTcHVbUxQL7ZJ2ymkPe+t/oX8MS+Hbq/zhRT0OtgNmYXFq K0Wp1DM6RfR8/nSNgZzVjYbbHltCzul9YLsyYv2z7u+pA7L8jvke02txSABb4b7iYBfWwAD+PGq 6odE/RiyjtLGYpMOLbu4ddZB8jgNjC5QUXyxMPeyHwcR7pJ0GL4GhhOv/1Lgmq8UbCIjSQZ/vCl oerjhh08IdKf/huvTLhC9PRGIKEXl5R3d8npyCDADgDwN2cPyAg1jCVsx9U+2ci7eTsY4Sfjr1H n2TYWjxKXh75PAw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6010 This variable controls whether libraries compiled by recipes inheriting cargo are installed or not. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 2a97ff98d3f0cb178ab2b6463980cf5a354acfc5..1d4e2e2be67aab3ea22d1506be94c7222bbc6f53 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1230,6 +1230,15 @@ system and gives an overview of their function and contents. :term:`Metadata` so it does not need to be parsed every time BitBake is started. + :term:`CARGO_INSTALL_LIBRARIES` + When inheriting the :ref:`ref-classes-cargo` class, the variable + :term:`CARGO_INSTALL_LIBRARIES` can be set to a non-empty value by + individual recipes to enable the installation of the libraries the + recipe has built in ``${B}/target/${CARGO_TARGET_SUBDIR}`` (files ending + with ``.so`` or ``.rlib``). By default this variable is not defined and + libraries are not installed, to replicate the behavior of the ``cargo + install`` command. + :term:`CC` The minimal command and arguments used to run the C compiler. From patchwork Fri Dec 20 12:16:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54464 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 162B7E7718E for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150883.1734697028211027441 for ; Fri, 20 Dec 2024 04:17:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pNpOWnni; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id C60284000A; Fri, 20 Dec 2024 12:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rx13eIoaMhj3Pz7GdP5WK+hoamjAKRykpA/VXScOKtA=; b=pNpOWnnilGctbOtgel0c6ENF9160toRsQdfkW3+enJyKcBjTWBqtXzuthNnqS6qPbEFl1i r6wuhPBO/06zE5bPpMAN8RXHsbVreVVSLxi2Xe9WEeDrhl2a6N8rf5+0CUU/LDUesLYTgv dceUfAQ+6Fgjc4MEsNhwcJejR44lEqGAFP1BgKSd18qNRmXBh9pGIKfi4kkrB4DJBrfVRL EuIaGRNomR6n+BKc9W375t+zxcOfKiXy1tx1UM1E0yltqs16owNDDM4aVqg6ZypHN1cSAW P2mg7T75rsUXc5gyCEDpoB8QCRkmDX0ZvEyp28IY6ewogOB8tVZ3y3eI6juJrw== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:40 +0100 Subject: [yocto-docs PATCH v2 13/14] ref-manual/variables: document the PREFERRED_RPROVIDER variable MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-13-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1970; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=XuhvF7sBxlnbXR9Topmi8O5Lprlq8tNSKa+ckjb/rwM=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/Tjatg1V+OzvRY4ig8kfNBiRR6YVtcSTWS pYrBqIt1DuJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo NqyjEACvroDzix3hfW8Kj/nIN4zsxMUX9EUb+LRGj501/fliwjlkut+tkazDAFSemkBLpqgSGY6 o8tPY0+S8/ImkSstpkxR2b3yETyeP1PvGxhmzVsm1PUfewD0xavJvn4eGQOYeJeB6NmXrlXPtTr kzj/w+HQSxJKKb4mmjOsAY4uC2jOQJNzGweLVexrBJrvlSAMDrVgCMBbPkRF/vsanhz7+IWHHVx 5ea4J8xD6K+FeeDc0yZH4veHMQ+9G/9itTqxXe5KIpmBSaELTrtBO7MBUy32lY2Xx5QwCd5ulvP 2Xb3hjpuEkefEqMta5m5eDIAiWwEkwjQQ0eG7bBOL9tvRs5dGRYBpR+ZeQEX9S+72crwrOKoAoq 3wnEt8qg+6XPo90lmT3ug0b3Rgr3S4lhwQr0OdLFij/lI/EV8v9NitwZOBDzNQKYsa9pqNnrOw2 DCgJoGYo5F9l5ePejZsoV0IP+z4DOcMUXgYe7kkmcOIV+b8Er9Op4/J0qF+IL0OHeXtMXvhNsZb 9PI5A9FUvqx/uzTmic/bOyJ/1f+KIybfrBtG8PjzN7b/83+2XNPkOEYjB/XX+OjXRblF7lPdyGZ G1/H4m6WsunCElQqWlj4bMJWKvwS46tqf1zjmktExcC/xVMbDAlOx4D0OAagfOW/gOki/7DdwLq D2ZGt1G28kLbPEw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6011 This variable is similar to the PREFERRED_PROVIDER variable but it denotes a runtime provider specifically. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1d4e2e2be67aab3ea22d1506be94c7222bbc6f53..ca1701e7c6e6c334493429623fa257d65de9d324 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -6726,6 +6726,28 @@ system and gives an overview of their function and contents. :term:`PREFERRED_PROVIDERS` See :term:`bitbake:PREFERRED_PROVIDERS` in the BitBake manual. + :term:`PREFERRED_RPROVIDER` + The :term:`PREFERRED_RPROVIDER` variable works like the + :term:`PREFERRED_PROVIDER` variable, but it denotes packages that provide a + *runtime* component. Runtime providers are declared in recipes that set + the :term:`RPROVIDES` variable for a specific package. + + For example:: + + PREFERRED_RPROVIDER_virtual-x-terminal-emulator = "rxvt-unicode" + + This statement sets the runtime provider for the X terminal emulator to + ``rxvt-unicode``. The ``rxvt-unicode`` package is a runtime provider of + this component because the ``rxvt-unicode`` recipe set the following + :term:`RPROVIDES` definition for the ``rxvt-unicode`` (``${PN}``) + package:: + + RPROVIDES:${PN} = "virtual-x-terminal-emulator" + + For more information on virtual providers, see the + ":ref:`dev-manual/new-recipe:using virtual providers`" section in the + Yocto Project Development Tasks Manual. + :term:`PREFERRED_VERSION` If there are multiple versions of a recipe available, this variable determines which version should be given preference. You must always From patchwork Fri Dec 20 12:16:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54467 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 095DDE7718C for ; Fri, 20 Dec 2024 12:17:12 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.150884.1734697028565027837 for ; Fri, 20 Dec 2024 04:17:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KKNQO2SH; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 09F6840007; Fri, 20 Dec 2024 12:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734697027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Oie5K3JvZYL08WreVdv7rX+WlSQdtgbNLqbW2iAL+5o=; b=KKNQO2SHubAP8by7VtiCT+iWG5QyDhiqeNkKF92ZNEXNI0p6ufdwfyVoLpm2H6e9Ed3abK TMsHdBLVOxrKh4elT4f0Ph7GPKF6XY61zAv6hwUqUEIlUqgJyB89uNINX0TubQeqfsSmCd OVreLP+R/ACQhm3abkGr4/pOilw57K+/jpWZOeTcqaz5/JjE3/zX4x6x0206xXFppjM5eD mZsRv/EPlbODr0Hc5gZdx7hDCLo2GY50rw1o5c02Shq1A1PfBaOQxOjJynh6EWxbb2Hpg2 3g+F34YLZUWCUJ5lgFmK+D3q3qzy1DpYNPB7LrrZkD1Y5u7MMHoZiA5f8wmyJw== From: Antonin Godard Date: Fri, 20 Dec 2024 13:16:41 +0100 Subject: [yocto-docs PATCH v2 14/14] migration-guides: update the release notes for 5.2 MIME-Version: 1.0 Message-Id: <20241220-release-note-5-2-updates-v2-14-df29527f3fc5@bootlin.com> References: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> In-Reply-To: <20241220-release-note-5-2-updates-v2-0-df29527f3fc5@bootlin.com> To: docs@lists.yoctoproject.org Cc: Quentin Schulz , Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=19344; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=XfmhvV+6G3MYGnfN62dwxWvTMoJT7iMjkn/uuZwwv68=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnZWA/iGKjsu7Lc4zbhfOMry/FhIxv8g5AXeFeR oSk3KSc6jSJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2VgPwAKCRDRgEFAKaOo Nu+WEAChi02tM1egCf0223Yc61uUV3MPIIbSdBnbbKOV6FBo+PV7drix8OQWq4ROE5vXSj2bPJS vjHVQ0rlbEIdyoWxoZpif/czEpccgf1/ZDE/6JYjdOxwlV3VEyFOKi4I2uQt2y7nGHq7BeysR8z 7QCcsEyubrRA2hlHEjtU8vBDWISklJaobO6JExAB6KIlc7gXHkUTBEq7em76Am+qDNzB2aIutkL 6aZmCtnMKtY+SJ4P/ND4lk16Fze1sO38Nt1pUSwrc38Xw7qrezNzwZfrRMTuuaLqkWmxTxGsret m4YkZVrdBBcQSO2NgqgNJ6qSl8+9i+UfZfB6FMb1urlNpV9qWIo0MmcICVduP/zMTMQmdaetEns O6bhRws4LMSRPZCFNjf+YVZ87cwDHlf8w8kyz86a6pQSjG89+O75Gn3CcoY8VZ3OtEsC+ZMNWEQ NEXoWd/5uxqkf6SEB8Mpf4dLq8JuNr+IhrfE+ms7ZaIvzjb+9/hnXFKPpvLLyHqiuty8b9Kq/N6 dAPY7lE5NLzU3tHaFYLcsuKRfcAUWYFhr6UUcoR1bD4IpOQRPJQIkG1r/qM6MZsCjDd5KuY1Dyy NQeX0tImdA2ya3sdZ8CdBtrByrUMKVH0sc7RtaRBtdNUh9JAakUVelh+9id7gfmwtABYtx7/wXL oIoHZld/hWE9h3Q== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-GND-Sasl: antonin.godard@bootlin.com 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, 20 Dec 2024 12:17:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6012 Update the release note and migration guide for the 5.2 release. This release is not due until April 2025, but this catches up what has already been applied since 5.1. Precisely, this tracks the important changes between commits 8149e74258 and 87d7341465 in poky. Signed-off-by: Antonin Godard --- documentation/migration-guides/migration-5.2.rst | 56 ++++ .../migration-guides/release-notes-5.2.rst | 345 ++++++++++++++++++++- 2 files changed, 399 insertions(+), 2 deletions(-) diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index 7b35e7721fa74f51617fb5530987f62e9c74fed9..cb70e19da0c6b42a89414d2fc98ed13088494409 100644 --- a/documentation/migration-guides/migration-5.2.rst +++ b/documentation/migration-guides/migration-5.2.rst @@ -14,6 +14,28 @@ Migration notes for |yocto-ver| (|yocto-codename|) This section provides migration information for moving to the Yocto Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release. +``debug-tweaks`` removed from :term:`IMAGE_FEATURES` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``debug-tweaks`` image feature is now removed because it was too vague about +what it achieved: an image on which the ``root`` user can login without a +password. + +To achieve the same result, the features previously added by ``debug-tweaks`` +should be manually added to the :term:`IMAGE_FEATURES` variable. These are: + +- ``allow-empty-password`` +- ``allow-root-login`` +- ``empty-root-password`` +- ``post-install-logging`` + +Such a statement would be:: + + IMAGE_FEATURES += "allow-empty-password allow-root-login empty-root-password post-install-logging" + +See the list of available image features in the :ref:`ref-features-image` +section of the Yocto Project Reference Manual. + Supported kernel versions ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -34,9 +56,24 @@ See :ref:`all supported distributions `. Go language changes ~~~~~~~~~~~~~~~~~~~ +Rust language changes +~~~~~~~~~~~~~~~~~~~~~ + +- Recipes inheriting the :ref:`ref-classes-cargo` do not install libraries by + default anymore. This behavior can be controlled by the + :term:`CARGO_INSTALL_LIBRARIES` variable. + systemd changes ~~~~~~~~~~~~~~~ +- Support for ``split-usr`` and ``unmerged-usr`` are now removed after Systemd + was updated to version 255. This option allowed installing Systemd in a + system where directories such as ``/lib``, ``/sbin`` or ``/bin`` are *not* + merged into ``/usr``. + + As a consequence, the ``systemd`` recipe no longer contains the ``usrmerge`` + :term:`PACKAGECONFIG` option as it is now implied by default. + Recipe changes ~~~~~~~~~~~~~~ @@ -45,16 +82,35 @@ Removed variables The following variables have been removed: +- ``PACKAGE_SNAP_LIB_SYMLINKS``: related to an unmaintained and obsolete + "micro" :term:`distro `. + +- ``SETUPTOOLS_INSTALL_ARGS``: obsolete and unused variable. + +- ``BB_DANGLINGAPPENDS_WARNONLY``: support for only warning the user when a + ``.bbappend`` file doesn't apply to the original recipe has been dropped. See + the :ref:`dev-manual/layers:Appending Other Layers Metadata With Your Layer` + section of the Yocto Project Development Tasks Manual for alternatives to + this variable. + Removed recipes ~~~~~~~~~~~~~~~ The following recipes have been removed in this release: +- ``liburi-perl``: moved to :oe_git:`meta-perl `. +- ``python3-isodate``: moved to :oe_git:`meta-python `. +- ``python3-iniparse``: removed as there are no consumers of this recipe in + :oe_git:`openembedded-core ` or :oe_git:`meta-openembedded `. + Removed classes ~~~~~~~~~~~~~~~ The following classes have been removed in this release: +- ``migrate_localcount.bbclass``: obsolete class for which code was already + removed in 2012. + Miscellaneous changes ~~~~~~~~~~~~~~~~~~~~~ diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst index d03ed7a3b07936fc3c2d15177f350b5507ecb5d4..0eef448330df0b3b3ec8a2c77cdb042a36e240c1 100644 --- a/documentation/migration-guides/release-notes-5.2.rst +++ b/documentation/migration-guides/release-notes-5.2.rst @@ -14,36 +14,377 @@ New Features / Enhancements in |yocto-ver| - New variables: + - ``linux-firmware``: Add the :term:`FIRMWARE_COMPRESSION` variable which + allows compression the firmwares provided by the ``linux-firmware`` recipe. + Possible values are ``xz`` and ``zst``. + - Kernel-related changes: + - :ref:`ref-classes-cml1`: in :ref:`ref-tasks-diffconfig`, do not override + ``.config`` with ``.config.orig``. This applies to other recipes using the + class :ref:`ref-classes-cml1`. + + - ``linux-firmware``: add following new firmware packages: + + - ``qcom-qcm6490-audio`` + - ``qcom-qcm6490-compute`` + - ``qcom-adreno-a663`` + - ``qcom-qcm6490-adreno`` + - ``qcom-sa8775p-adreno`` + - ``qcom-qcm6490-ipa`` + - ``qcom-x1e80100-audio`` + - ``qcom-qcs615-adreno`` + + - The :ref:`ref-classes-kernel-yocto` classes now supports in-tree + configuration fragments. These can be added with the + :term:`KERNEL_FEATURES` variable. + + - The ``kern-tools`` recipe is now able to recognize files ending with + ``.config`` for :ref:`ref-classes-kernel-yocto`-based Kernel recipes. + + - Support the LZMA compression algorithm in the + :ref:`ref-classes-kernel-uboot` class. This can be done by setting the + variable :term:`FIT_KERNEL_COMP_ALG` to ``lzma``. + - New core recipes: + - ``python3-pefile``: required for the :ref:`ref-classes-uki` class. + + - Add initial support for the `Barebox `__ + bootloader, along with associated OEQA test cases. + + - Import ``makedumpfile`` from meta-openembedded, as the ``kexec-tools`` + recipe :term:`RDEPENDS` on it. + + - The ``tcl-8`` recipe was added back to support the build of ``expect``. + + - Add the ``libdisplay-info`` recipe, an EDID and DisplayID library, + required for Weston 14.0.1 and newer. + + - The ``hwdata`` recipe was imported from :oe_git:`meta-openembedded + `, a recipe for hardware identification and + configuration data, needed by ``libdisplay-info``. + +- New core classes: + + - New :ref:`ref-classes-uki` class for building Unified Kernel Images (UKI). + Associated OEQA tests were also added for this class. + + - New :ref:`ref-classes-cython` class for python recipes that require Cython + for their compilation. Existing recipes depending on Cython now inherit + this class. This class also strips potential build paths in the compilation + output for reproducibility. + +- Architecture-specific changes: + + - ``tune-cortexa32``: set tune feature to ``armv8a``. + - QEMU / ``runqemu`` changes: +- Documentation changes: + + - Use ``rsvg`` as a replacement of ``inkscape`` to convert svg files in the + documentation. + + - The ``cve`` role was replaced by ``cve_nist`` to avoid a conflict with + more recent version of Sphinx. + - Go changes: + - The :ref:`ref-classes-go-mod` class now sets an internal variable + ``GO_MOD_CACHE_DIR`` to enable the use of the Go module fetchers for + downloading and unpacking module dependencies to the module cache. + + - Make the :ref:`ref-tasks-compile` task run before + :ref:`ref-tasks-populate_lic` in the :ref:`ref-classes-go-mod` class so + license files are found by :ref:`ref-tasks-populate_lic` after the ``go + install`` command is run in :ref:`ref-tasks-compile`. + - Rust changes: -- wic Image Creator changes: + - ``rust-target-config``: Update the data layout for the *x86-64* target, as + it was different in Rust from LLVM, which produced a data layout error. + +- Wic Image Creator changes: + + - Allow the ``--exclude-path`` option to exclude symlinks. + + - Add the variable :term:`WIC_SECTOR_SIZE` to control the sector size of Wic + images. - SDK-related changes: + - Add support for ZST-compression through :term:`SDK_ARCHIVE_TYPE`, by + setting its value to ``tar.zst``. + + - The ``debug-tweaks`` features were removed from ``-sdk`` images + (``core-image-*-sdk.bb``). + + - Enable ``ipv6``, ``acl``, and ``xattr`` in :term:`DISTRO_FEATURES_NATIVESDK`. + - Testing-related changes: + - ``oeqa/postactions``: Fix archive retrieval from target. + + - ``oeqa/selftest/gcc``: Fix kex exchange identification error. + + - ``oeqa/utils/qemurunner``: support ignoring vt100 escape sequences. + + - ``oeqa``: support passing custom boot patterns to runqemu. + + - ``oeqa/selftest/cases``: add basic U-boot and Barebox tests. + + - ``oeqa/selftest/rust``: skip on all MIPS platforms. + + - Lots of changes and improvements to the :term:`Toaster` OEQA tests. + + - ``oeqa/selftest``: add a test for bitbake "-e" and "-getvar" difference. + + - ``oeqa/ssh``: improve performance and log sizes when handling large files. + - Utility script changes: + - The ``patchreview.py`` script now uses the ``check_upstream_status`` from + ``oe.qa`` to get patch statuses. + + - ``resulttool``: + + - Allow store to filter to specific revisions (``--revision`` flag). + + - Use single space indentation in JSON output, to save disk + space. + + - Add ``--logfile-archive`` option to store and archive log files + separately. + + - Handle LTP raw logs as well as Ptest. + + - ``scripts/yocto-check-layer``: + + - Check for the presence of a ``SECURITY.md`` file in layers and make it + mandatory. + + - The :ref:`ref-classes-yocto-check-layer` class now uses + :term:`CHECKLAYER_REQUIRED_TESTS` to get the list of QA checks to verify + when running the ``yocto-check-layer`` script. + - BitBake changes: + - ``fetch2``: do not preserve ownership when unpacking. + + - ``fetch2``: switch from Sqlite ``persist_data`` to a standard cache file + for checksums, and drop ``persist_data``. + + - ``fetch2``: add support for GitHub codespaces by adding the + ``GITHUB_TOKEN`` to the list of variables exported during ``git`` + invocations. + + - ``fetch2``: set User-Agent to 'bitbake/version' instead of a "fake + mozilla" user agent. + + - ``compress``: use ``lz4`` instead of ``lz4c``, as ``lz4c`` as been + considered deprecrated since 2018. + + - ``server/process``: decrease idle/main loop frequency, as it is idle and + main loops have socket select calls to know when to execute. + + - ``bitbake-worker``: improve bytearray truncation performance when large + amounts of data are being transferred from the cooker to the worker. + + - ``bitbake-worker/cooker``: increase the default pipe size from 64KB to + 512KB for better efficiency when transferring large amounts of data. + + - ``fetch/wget``: increase timeout to 100s from 30s to match CDN worst + response time. + + - ``bitbake-getvar``: catch ``NoProvider`` exception to improve error + readability when a recipe is not found with ``--recipe``. + + - ``bb/build``: add a function ``bb.build.listtasks()`` to list the tasks in + a datastore. + + - Remove custom exception backtrace formatting, and replace occurences of + ``bb.exception.format_exception()`` by ``traceback.format_exception()``. + + - ``runqueue``: various performance optimizations including: + + - Fix performance of multiconfigs with large overlap. + - Optimise ``setscene`` loop processing by starting where it + was left off in the previous execution. + + - ``knotty`` now hints the user if :term:`MACHINE` was not set in + the ``local.conf`` file. + - Packaging changes: -- Security changes: + - ``systemd``: extract dependencies from ``.note.dlopen`` ELF segments, to + better detect dynamically linked libraries at runtime. + + - ``package_rpm``: use ZSTD's default compression level from the variable + :term:`ZSTD_COMPRESSION_LEVEL`. + + - ``package_rpm``: restrict RPM packaging to 4 threads to improve + the compression speed. - LLVM related changes: - SPDX-related changes: + - SPDX 3.0: Find local sources when searching for debug sources. + + - SPDX 3.0: Map ``gitsm`` URIs to ``git``. + + - SPDX 3.0: Link license and build by alias instead of SPDX ID. + + - Fix SPDX tasks not running when code changes (use of ``file-checksums``). + +- ``devtool`` changes: + + - Remove the "S = WORKDIR" workaround as now :term:`S` cannot be equal to + :term:`WORKDIR`. + +- Patchtest-related changes: + + - Refactor pattern definitions in a ``patterns`` module. + + - Refactor and improve the ``mbox`` module. + + - Split out result messages. + + - Add a check for user name tags in patches (for example "fix added by + @username"). + +- :ref:`ref-classes-insane` class related changes: + + - Only parse ELF if they are files and not symlinks. + + - Check for ``RUNPATH`` in addition to ``RPATH`` in binaries. + + - Ensure :ref:`ref-classes-insane` tasks of dependencies run in builds when + expected. + +- Security changes: + + - The ``PIE`` gcc flag is now passed for the *powerpc* architecture after a + bugfix in gcc (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170). + + - ``openssh``: be more restrictive on private key file permissions by + setting them from the :ref:`ref-tasks-install` task. + +- :ref:`ref-classes-cve-check` changes: + + - Update the :term:`DL_DIR` database location name + (``${DL_DIR}/CVE_CHECK2``). + + - Add the field "modified" to the JSON report (from "NVD-modified"). + + - Add support for CVSS v4.0. + + - Fix malformed cve status description with ``:`` characters. + + - Restore the :term:`CVE_CHECK_SHOW_WARNINGS` variable and functionality. It + currently prints warning message for every unpatched CVE the + :ref:`ref-classes-cve-check` class finds. + +- New :term:`PACKAGECONFIG` options for individual recipes: + + - ``perf``: ``zstd`` + - ``ppp``: ``pam``, ``openssl`` + - ``libpciaccess``: ``zlib`` + - ``gdk-pixbuf``: ``gif``, ``others`` + - ``libpam``: ``selinux`` + - ``libsecret``: ``pam`` + - Miscellaneous changes: + - ``bluez``: fix mesh build when building with musl. + + - ``systemd-bootchart``: now supports the 32-bit *riscv* architecture. + + - ``systemd-boot``: now supports the *riscv* architecture. + + - ``python3-pip``: the ``pip`` executable is now left and not deleted, and + can be used instead of ``pip3`` and ``pip2``. + + - ``tar`` image types are now more reproducible as the :term:`IMAGE_CMD` for + ``tar`` now strips ``atime`` and ``ctime`` from the archive content. + + - :term:`SOLIBSDEV` and :term:`SOLIBS` are now defined for the *mingw32* + architecture (``.dll``). + + - :ref:`rootfs-postcommands `: make opkg status reproducible. + + - The default :term:`KERNEL_CONSOLE` value is no longer ``ttyS0`` but the + first entry from the :term:`SERIAL_CONSOLES` variable. + + - ``virglrenderer``: add a patch to fix ``-int-conversion`` build issue. + + - ``ffmpeg``: disable asm optimizations for the *x86* architecture as PIC is + required and *x86* ASM code is not PIC. + + - ``udev-extraconf``: fix the ``network.sh`` script that did not configure + hotplugged interfaces. + + - ``classes-global/license``: move several functions and logic to library + code in :oe_git:`meta/lib/oe/license.py `. + + - The recipe ``cairo`` now disables the features ``symbol-lookup``, + ``spectre`, and ``tests`` by default. + + - The recipe ``glib-2.0`` now disables the feature ``sysprof`` by default. + + - The recipe ``gstreamer1.0-libav`` now disables the feature ``doc`` by default. + + - ``rxvt-unicode``: change ``virtual/x-terminal-emulator`` from + :term:`PROVIDES` to :term:`RPROVIDES` as ``virtual-x-terminal-emulator``. + Also make this recipe depend on the ``x11`` distro features with + :term:`REQUIRED_DISTRO_FEATURES`. + + - ``rxvt-unicode.inc``: disable the ``terminfo`` installation by setting + ``TIC`` to ``:`` in :term:`EXTRA_OECONF`, to avoid host contamination. + + - ``matchbox-terminal``: add ``x-terminal-emulator`` as :term:`RPROVIDES` + and set :term:`ALTERNATIVE` for the recipe. + + - ``default-providers.conf``: set ``rxvt-unicode`` as the default + ``virtual-x-terminal-emulator`` runtime provider with + :term:`PREFERRED_RPROVIDER`. + + - ``systemd``: set better sane time at startup by creating the + ``clock-epoch`` file in ``${libdir}`` if the ``set-time-epoch`` + :term:`PACKAGECONFIG` config is set. + + - ``cve-update-nvd2-native``: updating the database will now result in an + error if :term:`BB_NO_NETWORK` is enabled and + :term:`CVE_DB_UPDATE_INTERVAL` is not set to ``-1``. + + - ``systemtap``: add ``--with-extra-version="oe"`` configure option to + improve the reproducibility of the recipe. + + - ``python3``: package ``tkinter``'s shared objects separately in the + ``python3-tkinter`` package. + + - ``init-manager``: set the variable ``VIRTUAL-RUNTIME_dev_manager`` to + ``udev`` by default in + :oe_git:`meta/conf/distro/include/init-manager-none.inc + ` + and :oe_git:`meta/conf/distro/include/init-manager-sysvinit.inc + `, + instead of :oe_git:`meta/recipes-core/packagegroups/packagegroup-core-boot.bb + ` + only. + + Likewise, the same is done for ``VIRTUAL-RUNTIME_keymaps`` with + ``keymaps`` as its default value. + + - ``seatd``: Create a ``seat`` group and package the systemd service + ``seatd.service`` with correct permissions. + + That way, the ``weston`` user in ``weston-init.bb`` was added to the + ``seat`` group to be able to properly establish connection between the + Weston and the ``seatd`` socket. + + Known Issues in |yocto-ver| ~~~~~~~~~~~~~~~~~~~~~~~~~~~