From patchwork Tue Dec 17 09:27:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54222 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 BB38EE7717F for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77896.1734427635287421568 for ; Tue, 17 Dec 2024 01:27:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ac6gXtZj; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id ACAEC1C0008; Tue, 17 Dec 2024 09:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427633; 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=E5Q5bwMJPt+vr6vbtrNQRedyRo/U57oUhFLAiBGPxS4=; b=Ac6gXtZj7m8Z33/sm8x8KQPJAOPVEX3WZ1age1M002tA6FMBxP1rBJGRprlRIwiYnfu2+2 vC/OcWrOj4YALlu5Vfz4iZz2s1HUP49aOlWOdr5oVOIzzOPBjEn6vAGC30+Yy0S+iWNI+/ ymcT6g/KnYWWyaHJHAg83fwNgdyv5BsTZy1J6lW9kh58tmMnuU6L65DKqU7o5SjZ0avq8u AvWl1H9OztMpfNQQOOjG1qItipsUbQtVXcWicprHco5x605eyCCdFFOuW79eOkhBW058So WgiG17g0ttcmypmUcatCd3qVj/XmXewp2r+mCabH9+laNOEXzfXIVtjK6oCUBw== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:00 +0100 Subject: [yocto-docs PATCH 01/14] ref-manual/variables: document the KERNEL_CONSOLE variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-1-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1223; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=y4L4U8qjTjou51uOcWjewU5O3eL/bH4dRRCMjEFs3Ak=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPvTAQg0gFr3JxRtgKM/TigcZwLu1QKhm2Eh QL/bNywjieJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD7wAKCRDRgEFAKaOo NhsRD/9uNIWuSHgQcVh9hjr06+n6COZC+wlLu3wYb/Dj3Ih3Z5ihBEJ+XV01sq/YOGgqzQrQt7q SXUXV5sRFQc/BVQ6daNhYmKJYRE94cJ5ki+7QB+swSdIE2LFCTKoK7zLO7lGMvrIP5Cw2AkKnlT HiYI2bz3QdjTgy6K/vR4I9SEjumSS4hObBEq4RK2Pg5AepL6kFvTvuGPEX937CnRpBeTcR5X9dZ AelMzcoFpfeIFRB0PiXTayghF3mb4O7vTS4cchUMpY+M6l1GnsPCg7k+rPVj6WK4+oxsCuVhWPz fwtsPGHnwBkbrFyPgKGCSrJxrNInWkwWqaDAsf7v86dp3DdZOUktHxHEE3bUGcCtvc/nl9jpPDT zCMGz2cq76ZPmvbegeycUYTUvIvSAeUt/X07dji4NqND3eZez70nUsdmfk4ygai/pahF0/BCdaq JmvCblIHieoFnxALPUa4dPHbXaGn501/tf7FmJxulkjhId7ICGeT3tlUCSumHR/K9tcSB6zSUyj vFaFXFDMEpTreYfgCDsAHZjHVNmYGN59ksy46WDQ2YLyDJhx5nx/UzuEW6Dj6jBizKcqM8PlQ17 /WFu1/A18W5jqTNCfAkBM9lLJAexZNB7UC3d9GlsieKtcVkJFsYsbyhubtPtrlArshEzbOC2SkU pRVgrC8drMY3MKA== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5933 This variables holds the value of the `console` kernel command line parameter. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- documentation/ref-manual/variables.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1eee617d59ccddc9af0ffb95ea3635a707718152..c6d3d1bba9961704fca25921b346d5282e118db4 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -4579,6 +4579,12 @@ 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 `. + :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY` When kernel configuration fragments are missing for some :term:`KERNEL_FEATURES` specified by layers or BSPs, From patchwork Tue Dec 17 09:27:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54224 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 E525AE77189 for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web10.77665.1734427635290036860 for ; Tue, 17 Dec 2024 01:27:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=eRd6CuXR; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id DB9BD1C000C; Tue, 17 Dec 2024 09:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427634; 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=Vf9Hr1GuiuCvp/uJ/aB1s7xeuPnqXkAROOkiakEtKOU=; b=eRd6CuXRoV1v6kbtcG0LNZ9wlm99ngqG2SxHIg+uCMsLFRPF0rb+o3J3Tj+bkQFdJpwm/U 7RYor7aTjprm03GaHSRCVYR9uECHwGlzITjVHc5NEKNI9wltEGu74VveYAS9wUXidqcA/t ga87XYXJwm+vdfSYIN0pS0gJkXLOl6wdai0MUTHpx4wUjz9yQNhHSqrAjte0sUVGOyJBNl RgUynbproLLQqy7V1P+3+Spddqtwy28mDS4DYoHhukD3myUY8Ly4+O4euUzSA4efv8cq6i gqHkfogevDKp/szmZaDIh4fab901vBXMHjUbb99PwtXtrokV/4EMtCpyTnrreA== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:01 +0100 Subject: [yocto-docs PATCH 02/14] ref-manual/classes: drop the migrate_localcount class MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-2-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=961; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=eaw/N+1Wvqf/0mP6KcPd0wuliiGn6eSSg6potcppzt0=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPvgtJwt3Jrh6rBloslEo1lbHWqdOTbXJ85e VnZvEnHEjKJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD7wAKCRDRgEFAKaOo Nt1vD/9/pfPohjK3B3/0BSFSpBhUyl9pktqeNTPjlbcLdien/xaPHpOqiP0JhQcTZXF2XpDNo+Z puOaYPKMCEO1JBdTnbAKFGnag7lT/+pAZNje7phWyKOCoRfK9eU76Oub8Tn+FhWzjmzhziRb/sz Ykg9xSkBx1YeJXIr0VWG7ibr6tWFbgmpEMZpttDFdoajpJc0IEfNbDtMu08xMaBNYeLSzd8W7ED tgL7EdvzrOm/u5z5btBTiB5/Prb/+KgXc7EshPejFrxo7fYpBq0q6l9hqx69Kim1+66Jaj0mT2n XaQtYACrU/tcB5ZOAjNUXPtLw8glwPxFD+hD3+NBI82z9Z6O+vc4/9TvS4W5sdhTMPeoCMx2Nw0 +IT2hIgX5EFUPxPiYP/b7VlwMmiwK6bRjyCKQz44RV3OpWBcPDABdkEZD4r4xA/PbTlUz6dVRNW ob97XciF6W493fqzvc6seo1RoXw8g8vFDPgJwZyzx7niTJEslfmbKQK02CAMN+tTgfltSfu00sO rRHLDDPjRC0AXfuN0FhKBHslwOZea6vrNp8Ah/HhpMeQUC992TYQ6OvVsDY4qQR5u7/0jyJudsM 9zzZ4YrKCJ7+CkKaYp5yuqp0dhlGSgHdJbxXKP0fE5YCriKaOxVRAdW+dVO6fxFkmqv6B4tfpWg OvxVh3xRsKcHa6Q== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5934 This class is obsolete and was removed from openembedded-core. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- 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 Tue Dec 17 09:27:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54220 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 BB0ECE7716A for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web10.77666.1734427635546066823 for ; Tue, 17 Dec 2024 01:27:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=O/nFbmLQ; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 19EFA1C000E; Tue, 17 Dec 2024 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427634; 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=BMrQ1XrXXlBy+FJHMn1QlBS4Ks94u71kb0omhCYvTSU=; b=O/nFbmLQThIpb9KQAQlOX4LsJL9xK9QnMv3zeNOvIoLi547bnPhdZet0SatWhsHQpV45yn pYT6VyJaOi4wjxuN0vWGIABYBjpzzEyJuFUS7oJvuVZYnkWlvZ6Pq8o6XZSOzc9HHGzdH7 ui1Ev+PbWIhlFvtg0ciwwooYdQKVVltod8KudYBduzuSqmHYVBBCJn6INvQiO1aTSmwqye YaCrkR4M5P5JWHBFBc0QPivzJTtsTLLGKmpUD61ytM2Qx1rqc0Cj5mfI+UaxCqqhUQ4f0G RMkSPVqSsZCJbys/NqxV67vqS4NH39q5ycmxE6Tq68ajnJ2OW6kLdHXODX7FvQ== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:02 +0100 Subject: [yocto-docs PATCH 03/14] ref-manual/variables: document the FIRMWARE_COMPRESSION variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-3-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1211; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=jJ8y1526btv4MPn+fOMKT/AUb/UUEtJHkg20U3nbIa0=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPwZ+DYUZBEC0EJtCntnHx5Fm7szDcu2H5rb Tt8MAQUY1GJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NsqYD/9vMu/twC+OoOIGl5Qs0OiY44ChaMXfqIOpYpDM+K664B07g88Xgt4wlRIeJjo7dGFQ1Gs hscfNE2v0kL0SEsNbWzXouWhlweYOksDgA1BMPEWiv+G3za1/Q8wUUzQMt94eF7QiE/FUrvQys+ QpZgC5dGKStE/GLiV5HO57Jtvxp8TohtzIUO+Y9NQUuqQ7F6GoWtEihEcOYKkKSrE5PXaU9Ifzj U4ZOWiYtQtn4w6jbSVZscnY5PEDIEB3iRJfsqcMRIDG0AiiUfU/UdIKyTif31DfRxFcs7pHLmrb HRDtuXW0deMtPZGBsr/YXIwZILBQ2eNdmc+ncse+XO1dPbdjx4K6WDFZlGEOoTxrOH7zqh9kkUD IOjB7S1XrqGg+87VV5E+PN2hdelAJFKOLlxfrP5UTi3OGGtTnodHX0q+Xfd/z8sumx3Uqqo3NX+ HBW7oXIKhCiLetyfEZwzcoKaJyX7RI9Q12FuomltP/9axVcs+Vqr8GtaEp7/7tf7HpctcCrsH0P qgl8kIKhcghRydw1k8QMps/6rprp0QoN9XtqRiNqix6d+EWEk/SMiJTEbdmpsI92XFCAjEHMqnp AoSfNb1kUKP6MC7UQFT8nfMTuw+6HdKM6fyOuwIAn9oPUvuxqG5ulrWhCBKdAzAXYC4uZ7WoxUY 7n6mo9bGlKCNm3A== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5935 Added in oecore after the 20241017 update. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index c6d3d1bba9961704fca25921b346d5282e118db4..5875ee3e7c554ffedf4af86e61c207d10aa46ad9 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -3039,6 +3039,12 @@ 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-firmare`` 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. + :term:`FIT_ADDRESS_CELLS` Specifies the value of the ``#address-cells`` value for the description of the FIT image. From patchwork Tue Dec 17 09:27:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54221 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 CA2E4E77184 for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77898.1734427635703907565 for ; Tue, 17 Dec 2024 01:27:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fvtAUwMT; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4B22E1C0010; Tue, 17 Dec 2024 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427634; 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=FLYvaujV4R/wPOZkudl/xw0jooiri2vNYLfgjtkidMM=; b=fvtAUwMTd2RdIwlOezb7LcTt3Wtow/NL4ZmTYFh4BtSquSdreGm0wD8ridQDlBOj+5UgJg IPnbZ50/rd1FnQkIA7YFTYX7vauNeExklb4eNxzOiLBNLJvrrb7F3yur84dn99MSbgvOi9 z7dv5AaLt32+JHc4TpPayTvT95mwTN+v0fys6PAIHidJbz4Jw6kQThdNAO3djeVEqIgxr7 buM1PgI+NbK944aUcLEk0u3MhHjUQvpBfhGmpFHrzWuETYuZZdiVCScUwDsWThbiC4eGeO sGc3TkBClVexNmcJeTD3o9r0cXT0N9FsKvmdFMmmrRZRKx2ekFiPCTeIBu/VoQ== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:03 +0100 Subject: [yocto-docs PATCH 04/14] ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-4-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=784; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=AGhXDXDoZlVZfBkAm+13Rc1LA42UignrXD6xEncUcPI=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPw65RHcFkBI9XZGY6tEFT5spuEKkS07mVm1 0VXqjsIsS+JAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NlJlEACnaTnsGHLz4WUR5s2Cm1XVoMk2gjMP5cnkeO2m5XALie4I8Zw2Jgieqr+jfczmWjJBVii yCn34EcSJxOBzI/rvMLHXZOUvaw6a76P2DQi3sYHfN4yDRaW44ROa5QAET3sbqyiyLBZOgZUiEc /m5nflVGUDulY20dckdri/hB6D4wL/vR6dihMc01gi3sFnrRskytV1q+gAkVVg9je9H40RUMDLl 5mcecxZ8/AJ16Xp921ym+woUySZwhFB9QZdN2k/1m4OtbkqWNFeKWY3rgqiCPQwTr375vhppP1u zubGQhpQIVV2TEqjdDJdEEd3E/Ca//howFUD/nnlh3MjcHRIK+rpHUFv7fvLPNBSiwOA5Y0KjlI OtlScEmG+SHRrs5HNWpQoCMvdIChaKJr2Lq45DYJc+YUmXDvzL5lQXph5xGWZjKanyginLrpsJP UkbzxgSlh0NIO27wRWPCTahCPn7Q7DCKmnA3AuyErKx5h6HDU4OGIGubPkFnidlf8ERKHljUrcB QDD4sSKT/YyI+ULn85CYwFqrUmFPF5u0DG8OMNr7TY557aql3Q8PQh2CYLDdnCZpcjZ6HuU3R8v 2Y/OYIkAsGJb90CgSorQDE5tsc3vQX98e7i6V93U6ZyNlvQCuRZ3EgD9MH94CW/Uy8ae3T2HpBE X2e15a0FBMTlOLg== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5937 Both added recently in oecore. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- 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 5875ee3e7c554ffedf4af86e61c207d10aa46ad9..ada761045e9bf37cb294c0b66007a9faab995ec3 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7515,6 +7515,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 Tue Dec 17 09:27:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54219 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 BC9ABE77186 for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web10.77667.1734427635945355048 for ; Tue, 17 Dec 2024 01:27:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DFtCGan8; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7DF651C0015; Tue, 17 Dec 2024 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427634; 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=u3eS06kraXy8kJ8lTjb1CVQMBUiVB1u7uxe2OP/3pGU=; b=DFtCGan8ZUFK7s7ciFL3N5pQRGYbWP557A5uosgTgCa16+ep743tI614VVMRvUXtS96RLA 0jqAgqv2LHDGWbzlRCSEa9uzverlzxjtxzGeflLIGcFiXQJKhw4kb5aal5KVveg8ShzQ2N zJY4fseUmh1BfyT4BBc75IOajDw9tQ7sk02xMkR4Nq6XnDkXbuI5CQUnm8cBK05eMVFqni MRNMztsosZGKkx5/56N41ht/V3BZ4Kv5CENmvpRdfg7R/AKhZZptCvHkK8hSmFJfj19stT +oea1D1hy+mfhEgYeU8rsubUer5tsrnO+40icyHd/09xo5FuM4qnej+9GUOfAA== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:04 +0100 Subject: [yocto-docs PATCH 05/14] ref-manual/variables: document the WIC_SECTOR_SIZE variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-5-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1496; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=KPUXgzko1GSw9KbjmZ7bBs9d+nN3Ut3PO9sHEuf9mkg=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPwmxNwtZQo0PyaaaDu6pp7ul9T38iam/DI7 KQaQg4Dn/CJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NhGDEACcYFVtDmGgqRJTAPZRG0sS1+t+KhDaZ+5+IRqZYZ8KtOlIOQcxwlyt43gekWBG8DoymWL +NJ7ZR8LEuuIbSfJgJqJ7FxfMOpc9zj1Dx2Ied+BaypHF/nyRscweNBBN801YoWgIqZX2ZAkJsC dTi2dZDXYmLwqUdXpPCQSbNBAluriDNG5/8BnkGPrN7yuJs2ZK3lsnaYh0WGZyITHbmbp6hqjh1 Yf1awzU6Om0XkuCOCx+eu6yvTRcieorCGJbFvtd4flBM9sHnH+Y8LzLB2Za4jMmfgTT7MgCPRJn xMUtVgf/zKp+m1W3BmWKH4lehkmULcNteTvg4yF0yNng01UqomXupAtmutqcItr66bZLvPG/CRO kxPYux8Bzfu/UWSnV5qvncS8lxYEB2eUly+PwwACPcemGswBfv1y4XEIEZf6di/dpHj7iQVPoPx Ob8OaOnnfHGiASCtrdZAsL7seQ6KdafP2qXVlp4kScx5cHg4QK1dkokQsfV2ChlN28MZ4qxqvoA zTHZQPGiRU9t9atZJHSH+Ke3ZXzHompzTg8Q4dBfD/tEoBk1tyDX86gUZPE0lDl73irqLfgj61F RVShVmtno8fAo98dS/JU7DT4drxzercKc8Yyq3v+GGo6L4wcgmyFfUBINv+kBPsdDzSQlvrNF1q JMv9icT6Jduk0DA== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5938 Added recently in oecore to control the sector size of wic images. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- 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 ada761045e9bf37cb294c0b66007a9faab995ec3..bce8a1c7ed3af7115655f51aa0a6c558478d8c86 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -10194,6 +10194,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 Tue Dec 17 09:27:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54223 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 CBB51E77187 for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77899.1734427636160099704 for ; Tue, 17 Dec 2024 01:27:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MrucljP6; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id B31631C0007; Tue, 17 Dec 2024 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427634; 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=AXteR5lcLbV4+GUKYnfroKt2MrHm7dn7pv43jkcPzfc=; b=MrucljP6JGDXAQdp4xtCOUIUFS74lE+p2Xfo4HwVhHr4xhuyDOThvZOccbepA0z16aSsUa xb7+sSH6glshs/ZTSToCGr2LRcFAMqiYe/3yuY5LrUtJEYX2ReHqAYsFYg6LcyQ/t7qxHp qmbsIrBNPi59lU4CErul9Q2btOi1GXwpESCoExxpWeox43sdDEbpDKeTRni1lPvOI03fCw m4tP6L1nD7aFKX+OlwK67hFRHj3qKj5tK60juXioZQkZtLxTGQVo4QqUs75y6+TRTXVbqr I35bMFoiRsMb+pn4CnneG/3IHKmxf6HWalqXaPflgeCc9Gx56K8sXYAgFNotDg== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:05 +0100 Subject: [yocto-docs PATCH 06/14] ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-6-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1295; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=D0x35t+SLxeqKMUI+SEZxvLfa2U/eck8bRq/OR+dQN8=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPwU5WSP3QtSkELUgNz3qyDtZF1YfAgyl5Mb sZn6R+zl8SJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NvH5D/42wXUP8TzJZ1Ddg5kYl/Nf/SuBRz7bxphgdPqpTGDjPk/O5GaG1q2xUMupVcnOebztHCk obVOv4Zeom85DBXCtepsexDAvPh15H9qc/q9lnKYaiUqKpEeFC0nEp0vRXBHUBWrEFZ6Z65kfPs QsVbwf8tmSXAfk5D3Ca97DstcR/sUNoYZpyxLmSg9/YmznE/J1Kmv+VAQKkPj0Hn2zdn4vmIBkX n7KxlCKfqzZLoQX3VXFxRoA2KslEmeJ/GUYYBQHSff7JZNSQqf5roA/TxADMjK//q13umGOFFla cNQA5Kw0Y5q3tOBlMC0LRcpPzbZpzmAt5RZ4hRUWHp1dio+e6/ieGPFgxFfMoGFzTB/B5i2A4m4 0RhAmJ2AwSv/4wlqnMkg55DjvlwKI8JN8LzktImFWpehXHo9zXvdmMiq9zQl/om0RHKHLep9x1A hL+85Fj27qHvk4mbr4gJFIecnGJARQzS9/tYvFNwqY6tO6ML1AQAVQm9QRjSyDkDqNPVsslmtEp dHXwJ4tNSMW8AOnGx/SWG9C7Ybd9bK9aUMv2a6q8DTpeX8kM16qWMwn9qEWNrCHcJnILVIyfwqR NF00FjSAjvKq8BvFY6rRiwO32cqgTcnpAGjY70PBDp81jxqW9zHhBpu8/CV9e27oee4AbFAi60v l1djLYPPID0xgWg== 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5939 Remove in oecore by commit b4bdfc78e8e1cb8b86221bc55d80d601ea1a065f ("python3-cython: remove obsolete SETUPTOOLS_INSTALL_ARGS"). Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- 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 bce8a1c7ed3af7115655f51aa0a6c558478d8c86..2c2226dd16c25ebb5cdefce9a657a124e51ab143 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7841,11 +7841,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 Tue Dec 17 09:27:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54225 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 E52A5E7718B for ; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77900.1734427636455325530 for ; Tue, 17 Dec 2024 01:27:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Xlc+xvJn; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id E771D1C0017; Tue, 17 Dec 2024 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427635; 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=pDWu0VmZsQpgYdShLPH7y0FUq4M0QzSiY7CFLgilDBA=; b=Xlc+xvJnat51EgoebEYtk4f9eSuHZsQPzhS/wL9B8BLEKgMnXX1g9q+r1izqXzEliftezR VvjG2bks8txMAdb3rftP4PmwXXe6nGlUYDfq/cZ/wQDde0OcnAuI+whTDeChJsfh0+oLck RNs8KrJzfKmhIH4FYjRMWRUkTUTWSyVVTi3uDyPv+42GApFLDoV/RzfVtDvDAwEl16VGNI fPgJvGkEh17Su+yOrYyYcfYRYWYcmk76MHcRqK0Yb4Z70xm6tmOKkt1anDmnOSOzHMbEgk LLgGKiU0I63MpBRNX09IHoWKR8m353qJkEqKYkVmTSYfumzPPefWsdqYTwvX8A== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:06 +0100 Subject: [yocto-docs PATCH 07/14] ref-manual/classes: document the cython class MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-7-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1208; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=nn7ITXrBEXJXCAtDFNE2hO3RqTm97SvMhMR9sc/VWZ8=; b=kA0DAAgB0YBBQCmjqDYByyZiAGdhQ/CjjpZk+NHi7mtBsTdmsm8KVrXnVEYrhwpcEGQXqt/Yj okCMwQAAQgAHRYhBIZIclGI3UAbuaDT/9GAQUApo6g2BQJnYUPwAAoJENGAQUApo6g225EQAIhP 0p8vj2SCn75/Q5To1KdvRQvgTaMStWYoYXbPXp9IRIQdsN1BV0dl4M6N/8WivDBjgK4wfhPNXBI mpyu50+hWkdOUTmXKqFOvS3Aml9hTWHJxvjjJR7prPTuSbRDlnLctC3BwBDJpDLDJUhWXc0gl+h zrE6eGydfLPQvjcp19Kdvj2u2UpBYnFfvk+x8CT4Wq/1y3GxSqGDSPcWYOGoR7uyPfWmWupxfvW rmAp3ukmzWsfs9AFVtXbFQl9JDyGI+UDTtHt6RCvnNUkfOLfCDeMWLUd9W+HX9GMXjf1kpX6wCQ SIP6FnfpXB5MIJlo7IwddsgzZwVbSOgLjwFSx+6ZNUMw6NBQfg3ctDK/1ra1NL+c48aXWHFxXqN TqQJ9E9z5msDy6JVFXJ6djC4cV7NKgEY3bXSd/6jLRDk89UmSKszuVlKlF8T0RVzAnq/gPYWX57 toZzNWgkxHbGMvrTMDkDsDr7jgaqYP3l18Z8nHw9X9EPENMRJPZKE4Oof4+FtdVzcFGxqU5a/zg RVd/CVIS19/dqaVIQVE0whADanat2PapdRdjUxapCNgFxPd94MungLKfsK67rueU9dZtcsQtkYL OTtCNbwwPUk1MvoGRM5YF2PVs8wfhOWGkdPU7Xf6N2SDbzmkGehVbT/0mYqA9Ik/yuvq/mUbCf8 6wKW7 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 ; Tue, 17 Dec 2024 09:27:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5940 Small class added in oecore by commit 64b6e8580842949be58f97f4dff91d1f097c4020 ("classes-recipe: add cython class"). Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 3d61d8d7a00b21fcff82a771f9718013fae36694..47f049c7435a989f30c033b7b12d86482686ac77 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -614,6 +614,17 @@ 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 +:oe_git:`Cython ` +as part of their build dependencies (:term:`DEPENDS`). It also improves +reproducibility for these recipes by stripping potential leftovers build paths +in compilation outputs. + .. _ref-classes-debian: ``debian`` From patchwork Tue Dec 17 09:27:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54227 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 E9F70E7717F for ; Tue, 17 Dec 2024 09:27:26 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77901.1734427636562909528 for ; Tue, 17 Dec 2024 01:27:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ELHZHXX1; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2A07C1C000D; Tue, 17 Dec 2024 09:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427635; 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=r2/kefO5kLrNp8TNKGSYOoo26aqxvVAGcNh2govTEs4=; b=ELHZHXX1CMz2EDLDbPzsVcKHcN9yjAPt1Pjy40faBHKVBMMV+L13Oe9YJKlOYbQ0ZNVF/4 4uqm9o6T5quFUkGtaP5G/5oGy6qbV84lGGMAsB6RnZebc9qLVMeCwPf0860blk8fIqDTbh u5JnehB2p4k0ulSA1C3sfId2TT2+Cvm+Uha/z96FvQ+pkhd+UndKQcorUj1loT2H06/r9Y ShOVpWaMbWFiBpjzDKDwVU7ENAI6eKUCUpl7qtzFjZHWVZ6pyYXO4cvUCs7HlTAZIKiO73 VykYZn9cyRrpJb69zZZ/uY3jTwfECWjAJbPRFSTaj8rezCWa4Rh+lqKspcduOA== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:07 +0100 Subject: [yocto-docs PATCH 08/14] Remove debug-tweaks references MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-8-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=11402; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=IQU48UCcKNKRVyPCi3xHJfrs+ZfsL2zAR3412iz7g74=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPwAI2r2u4/srNfeWn3dr6QDBEqtFA6o4FXG L116mX7DqyJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NjNIEADMVWsQQgqnQqMtGKoqQu2LRSsfhZQUaKN2cqyZIU5CxX2L/WBXKnsCaglako3isQ1lZYu gMGavYBGpKmisowRuvOyTS6CiAQ2ufBbbzLu4Nlzt2KCakTs+rsy+D2qbwO04AT5H4xYxYM7Q+B 2ZDtUB9PODOQLdj/F69xen3Fjmn4oJwVh1Au6VN27zNtq1BaJku2juqMXfSAKl+x1JWMJjQngG1 BHXTerfUewwuO90etkpVXhBduyvrYqUl+spRiEvdmEAK53q0tkfSTNaYqPrdueyiN/e7YIHnZlY fs5jMTK7zLcLmglmsdprCGLIHY8fA+9OrPkyKZ6YY7YKvLc2jOtV02xSo58AItaYFTtjjLjDEhM bYPr0VkOQ8sSFfp+FatRsNPYuTpSLVtoNvK0bJ/LdveJHUaUfP8QTaXqOH9tezUheqwp5PqV7AC DmkrBZsY0sZj2wXituka4P4C5LakbBwi1Bhf2sVxXTe9k5t0mb4wzNYSuF+5GSVVAGmxKmuMuo/ P87l3tQ/lyY/qQeKZZWDrzwb8dGPy6BmPz1Om1zS3WZsFUvA/a3vdilecy3Vm9t6K6uj1PQaR74 rKQ4Gn5JC1XLksj3oP3iNarSg75Fs/rz3DhtT6ADPsQjrxRhX7nR8Zh7qy1PRTDd568rumJvVaj 6akgJsuSA1HgNZA== 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 ; Tue, 17 Dec 2024 09:27:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5941 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 2c2226dd16c25ebb5cdefce9a657a124e51ab143..08fb0f4d5666b80be153f39310826a7e1b9022fe 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -2605,10 +2605,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 Tue Dec 17 09:27:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54231 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 19F89E77189 for ; Tue, 17 Dec 2024 09:27:27 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web10.77668.1734427636798655353 for ; Tue, 17 Dec 2024 01:27:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lcWixDC5; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5EC691C0003; Tue, 17 Dec 2024 09:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427635; 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=Wg/v4aCvjRqRNfeOJKGzk4LJ9dprlXpUpMMoOm0bZiM=; b=lcWixDC5UH++EJ/pPwWjHLKpKck6joE6WXKhxSQ9Y2GvE0xL3N/FuT02AGZbmE2EGeuSBP Hil8jH0QJoLhl3DbxrO9SyNCxoMPPmj2hfnbzTIxpgc4ExYlLyG1/Utt97puAJbpsXsbUy 5BJTLcdke0LvftAmvYca/v4ZCDn6tXqRZTfDnBgsgg66n8PHV9/wFxK3Hzam06dV+BSqOa Fs0OTmO2A5mUjf0kvinIL2nDJjp716YcTtO4VVQJZsCdIs+rhdL0Gahe//ML1un7dJI+6L i8W9sGUcchGtXhIkDq0ik0sd8NIvMp0FYV6D3mZUle+/J2zXx7J+oRMargBbdA== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:08 +0100 Subject: [yocto-docs PATCH 09/14] Drop support for BB_DANGLINGAPPENDS_WARNONLY MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-9-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=3622; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=KAzLu3aqHO3JRCKRKaYSI213MlCBjj7cxGrCnNw9roM=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPw882JQyyjQQ6hcSB6QMYVPqfVmvKvYWeXW 5IrDyYdJtiJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NhE+D/0a+z5YQcHXZYAdgwma/Qn7HsswYv2qVr5dUqbDFUxNVQJywbIqph9JQAOJ37qKNrRVWFu Gm8aXDbKCgcN4GUr/4rvWDnGhbrzEj+m2HR4azlhYvg+2gu9l6OYxvyve4YMAhDtLpjsCCxQztB da31d7Obx3+E+KW4rvgKy2TJpUzRQIOdF6POqNj23Wo0IJziEOWiayP4utv9fH68k3an1chCf2F w/iREBaNsT6GdFP6oUm6zf13dM4fxpg3Qau0XxO43AEu4Oh4HjdZr/pK3WKCUzSduUdbNAcGd54 tzu4UBiP6z87Gbb9Vp4+m8OI4ysph03Ps18Zd+FXNv5D48nh+mbGOQopWKYipOtZGn5R0nZQ6n3 s8J28Br/A0x+YkJcebQuuFHDnk61sOJMM7KiZd9Cc8TuY8ZDh0XNhaKNbjWEGbS433SVMP9RGYm 3r6tGa8au1UrBohlF63jNzjrdpuyMmRN/cxgLUnm7rx8WQGSj1T7AChLpXUedQhZAfNY31lG+0L fGPmCN20ZEGFVUBbePbrCpaEnTkMRHJ9CIVKR+KnZzu97rDvt8N7NnK4Zo5ssh5LUXPzdXGF8Lg YuLtfgMeD+XWta6Xeli9z2gbmM5NRtMuCopg5K0J4Z6ihXmoNAU6GVwebTOjgtOkCn0YcxUYEwG bI1xM7vojW2sMnw== 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 ; Tue, 17 Dec 2024 09:27:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5942 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 | 15 ++++++++++----- documentation/ref-manual/variables.rst | 18 ------------------ 2 files changed, 10 insertions(+), 23 deletions(-) diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index 89c84669337c9ecdc90110fdf34b7949459a1b9f..365991c225159d051f6dc4122625616b81f01ee3 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst @@ -470,11 +470,16 @@ 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 better 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 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 08fb0f4d5666b80be153f39310826a7e1b9022fe..d54e1365fcf3dabd3868aa80089afda727b1415a 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -362,24 +362,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 Tue Dec 17 09:27:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54226 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 E9EF1E7716A for ; Tue, 17 Dec 2024 09:27:26 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77902.1734427637122843678 for ; Tue, 17 Dec 2024 01:27:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Dypjvsvv; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8FCB91C0018; Tue, 17 Dec 2024 09:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427635; 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=5aWm4UpAh3qP8akh7aLUHfrD1MvIVUjAk/sbV4/YHs8=; b=DypjvsvvR7v6SpIWzZc53NmL0R8Lxej3ZGbfcx+hcYzbqWH+QvzEKA35gDfPT1Cjr2IIqY EuFvGXSIveNJuV4YQl3mbepYAdYBAf1s+rxYDhog1FNiHmA7028H+1Lf6OnmBBXkhHLz5j bzWomQqxAulMmC16g99h9LVarH4RGN25D0uD6d437eN1b261s8Z8XKxeUuva3p/TDR6lQ9 8YuX9NnT8iSlPtv6XPRXHfAWilOFVsQzt2NTph9oJ7fY87q6S2VPD8v1fEqTeqol5JbCYk r0HjZuJzvxO2RsyhqKsIvPff4gvLpsv0AmfxJPOGyfsvbiOsV19ZNDuWJoheAQ== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:09 +0100 Subject: [yocto-docs PATCH 10/14] ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-10-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1389; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=lV6Qs6u2X1eWcL2W7rCwRH/jYYJullbVE/DRjCpC7+U=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPwSHpjrd2EV7tkAmozO/tEi2NC3J8TOq59f ELgobFac5OJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo Ng9JEACDPwNRe8kcYMSk+i5WMyemAXq4PLDwXSoXFjmQDe16RGC8eNQw5Ay3n6QIkXGtMdxSgg0 5vpdcXtELRRjC1JNUfCjfXs54DeP8jvogMkZcoARshHjr8A5OaOBxv/PYg57h9JK3EJxk0Vsvgy I9oqGeJSvWCx5Tfqqv9TBMP1XufQoVl5WfaO5PA113SXgoKOArLSSldzPJ4fGE64c4o5hqqjRwz vtOlrQbLBxJ9lQoGvJ8tFaUBarEJhVY6chCu5GQEEIdj3Ywgzu9vSxyT7XFGlD7oekbemGFjMc1 WE6KAX3Jkn78Ggvwo+XQi80wW+1vrAadhPXyerIkvcvWfo0YcofFv3CnC8FHJ0b7PtxzlXNcRo6 5XYTRhUA1OtCUx+47iQwP8SCKzlYPlo7MEdv/FyMCGfPrXAZc219eP8q645EXggKho5PwlAb0Yx p6b55VaF07QmB5rcil/llsqTJL7UbEujW89q7VPYm3JRrhtz47uSeMeQv8NThi7iKBsvhBxPpCI 1ToCPhJoABF6WwlwxFomXo/NsZNde0DclXphtJLm1Nnf/LoGBDU6EbuhCZCgzVpVbgHh+cvLYoI eM2kXBSSV+bbfAVIACAo033GVCNPwVYXCkcIAKkGAa32cWmUR912qAhc+n59dJ7aEPTP6NrhLrg vMmy/xiMAtGe4Wg== 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 ; Tue, 17 Dec 2024 09:27:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5943 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index d54e1365fcf3dabd3868aa80089afda727b1415a..66ecece8b2658b304e17c9c4a1492e42a8a313d4 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1251,6 +1251,13 @@ 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. 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 Tue Dec 17 09:27:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54230 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 0832EC3DA4A for ; Tue, 17 Dec 2024 09:27:27 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77903.1734427637285277325 for ; Tue, 17 Dec 2024 01:27:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ir3QEAjY; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id C50B21C000A; Tue, 17 Dec 2024 09:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427635; 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=dSJtzqSfZuO3nIKyzaOJDTSbKyvEsHIXX0OpW8pbbCU=; b=ir3QEAjYUOAg+w/69e5tLyXGPRr43kM3+Awi+4ENlBr2Gcx6KliXa5kuoyMtcbHaKnXpQ1 ctDf7AZVgd9NhIG8aSA9ZmI92vZnGo6g2YylC7W9iW6ArCIB4gam3NTMYePyiBFJzNRpps 0Kc4Ha2xUDpv3JhdI4CEHRN6/NbciI3Q3eZxiLEYxHHyDg0gI93O/Od/Lli2V6vTXfTtwj ap2rIJJAW8wakEgzBhQ4vFIyPlt6KBdIVHcutoLcEp9vJeusgj0qazpP3Rwr5SJzeMl7fk 6HRQ820KeG/2m+a/bvKfrpFYPRVQXWWx4vEN7NRcM3oAM2gx+7KVfnPv2IDHGQ== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:10 +0100 Subject: [yocto-docs PATCH 11/14] ref-manual/classes: document the yocto-check-layer class MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-11-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1665; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=4J1ec8XAVPf0eCWGCBPoDsytN4v66kBVXgFboJhBgW4=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPw5frdtnYvkIXccx3dZxAhqipUszFzAoHO4 qRUBFCS3qeJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo Nj1GD/wKliy7aPLeRxcLxpj74my+zIXLm+bLaEBQy84lwiH3OuVD0sVvN/rpWv1ChDpkDCVIGQj Gmp0Suhx880zj3+ws0ep1hzzDXvM9PUVaR5c3v4qIgaBFDRJtPrwqDBa8XsHPzqwlwVrZLKBg31 Sl/VtpQeux3tKh5SGZBHMcG0X8Ho2gd1nlkjpyIOrHdu0T0ZaP9ddIe3N1gLUuoUwOI1/epf+Kq zT4s1BuU30xZHOb03+vSo3RbmzSIEj38TC0mx5BM85P2JBeiXTPxfOIJVgpt9bd6EsjXnU/LCX6 x6Lwd4j+60k9R77Cdo9XPowfGFO3IPpVnfbXC5G7qbqpqktm/nvSf6hC1E1F7fjs4CZdqhrPfzg R09X0OsPKK+ge66TA5ipEWKByBBe6ni79jJ/61+lTCrA5NfzGwPzldjf5fWzOSBpFf25uQfER5o fWGiqzMGGMovomG4rjZjB9DyEboFPKkEif0+fgOmTcBH/r1Clo+zzoln/A+O7T6rXg97i3SJyWr VjyH9N6YHfD2/mC9uDzMZzeUYBHSBXgchgF+KrgRH8JkjJ4espyo/acngmADwu0a2LbnM6wGTBP u0N6O0bRqM7RM9ClCi0aQmyihT1tdtLAUNr90kkvyMcRJa6qvAdZsrlAlTc/ZWqxIHLAn/dbKJE VgsmGHRqTc/0RvQ== 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 ; Tue, 17 Dec 2024 09:27:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5945 This class is used by the yocto-check-layer script to check if a layer complies to the Yocto Project Compatible status. Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- 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 47f049c7435a989f30c033b7b12d86482686ac77..2480b4e221ff1d83585eb277c01d716e6bfa5a00 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -3604,3 +3604,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 Tue Dec 17 09:27:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54228 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 07910E77184 for ; Tue, 17 Dec 2024 09:27:27 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77904.1734427637405518350 for ; Tue, 17 Dec 2024 01:27:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nsKJYHtb; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 049571C0013; Tue, 17 Dec 2024 09:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427636; 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=yxUe9no/x3PVfdjkedkgE40P4XfYALCniH9varbaiQs=; b=nsKJYHtbYo8gBIZPykI667/p/raZh0SBJXRdihIGVBoJsPPROzfezKikxph6fENmSE4gRe ZbR1hCsZxd08x0ZIJXxvhJ+23zFaobfSIHDBW7H3CzE0aVn+yBuSCYJa4fY2yZMNIrgBx+ oM3YQ4dMqhIl+O0LJSp/gyPd4baumZ8dpIDankElhSZ+c1KisVMxtnIw80/gUH/WQCkpTz n1u46HQFui9hl+DVjlpmYRh6ppqMi5NTPJKCcYuUxDkcjCEOizBVf2VUz8E4QdCLIc65Yn dhuQZO1JxBMhpn43nAPwcOJapeVKyv7la2OROycGupiEUzjzjZP0PsjXlFNaJQ== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:11 +0100 Subject: [yocto-docs PATCH 12/14] ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-12-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1336; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=9VkleMfnWRQFiBGHlvoa69MPhsFXuKH4IJ0GlajIxG4=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPw43W6mBfar0yzbYWNjVp6MlBZVYEPYJ1y+ OslH54DNgOJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8AAKCRDRgEFAKaOo NtI5EACTMC0rGVcc0A1YqqiPotwO8jfjovgRSHVHWNFl9/B33cnEDM0Rlq2ETW70mPmQnA9xe+C Y0+84FjMeI0ydoXZP3fozgFJs0JYvejJKXR4MtL/IYMS+zqRPB3e3S76GtjpG37x0zNT+b8hx1X z6hTdmtm5krXvfR9Bq1HTBh7kJHepWXZ8az6V5eX87GEf4/cFgRBW5zEMZrADOj8Fsgoz8e6F6t qCvrwFgldxhSt8Aow4c8fMkizz73UpxRcgs9BdEvjRPhxjIzVqxtV5WSHQFVCgZ2u0tyUaPGc1l s6g4SODl1e8Vp7qzenH4ECdoXk42lIuhJH0YJDMxSerHV1pZFvd4lsj4/+vys3conRjPtltFPrJ oGL8LvMy0usXpdugHCzSP+x/KKf4AemVYdDhu/SPsCytXPlcmBw7peOvvmqno+JU7ABPlVL7oNv rTvUtjGIdfFeFKlZ/9xgzMC6lXlkVG5HfowvI+cahQx51wR93u78Yf5AR1v+kCxTk49XCxUkPDu zFidWZnsEduCMZwGGnMA5pcdL1gU75ndqml/4V2Pt8xC5C5Knt7TxpZGe7syx5ZjKhUbzPUBa3/ oB2mzr21XEj9PJFFPpkjGi5cDhwK4nAY49jrG/4tIK18KyMXCXzo00IIUAih7dGeRCDK0BUgKxf RSOHzTHJc6ChgjA== 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 ; Tue, 17 Dec 2024 09:27:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5944 This variable controls whether libraries compiled by recipes inheriting cargo are installed or not. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 66ecece8b2658b304e17c9c4a1492e42a8a313d4..50cd8948b35f381414837acc9b9e925dc5110779 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1231,6 +1231,14 @@ 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 or disable installation of the libraries the + recipe has built in ``${B}/target`` (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 Tue Dec 17 09:27:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54229 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 F0B44E77186 for ; Tue, 17 Dec 2024 09:27:26 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.77905.1734427637612627293 for ; Tue, 17 Dec 2024 01:27:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LVsJohZT; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3935E1C000C; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427636; 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=YzTnkLRNFEz7AEmxTmmo3s8NqsiRKQGr9wHocFzLs+U=; b=LVsJohZTPp21OArh7zTbi3h7PC0YtgY2n5p3Gref6zvvMQLddw04AJbMwr2VnNg0Fjyrbi szlygMh74+KtOfD1/z5VSXKdSyhCMsFfvl/vwO/DytHgawmAYm61FjOja2MxH3ug81zRLg y1+Eo0tscX5GI1QJwWYWjyl/tkBDt32O+5Zv25icxLYGZZK8mwcWMtrtKE28/O5lT/+MlD CqyQOabCqXcWipmsfujVrV0CGsMbrCvIOcjrGBSDk8iRxlvJaNFcNnOnGC3OxiTyUsXLfN OGZvauRXBUoulzQQ3ADMvxlFoCO/jxBTbV29HqXzG3dEQjyrOQ4+o9SqG6x9Fw== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:12 +0100 Subject: [yocto-docs PATCH 13/14] ref-manual/variables: document the PREFERRED_RPROVIDER variable MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-13-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1856; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=U2mE7qEXG7/uyXM/8PPsbT0ZqvSo2PMOrShP8gHV9bk=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPxY+ZXjiQvwi3si8cG89K3kmqrR5D9zw9cl kgxpGOiZiCJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8QAKCRDRgEFAKaOo NlRxEACsEFMQPTV7wLtKK2ExkmzhFnSUEkCrTJdP/icJLiM8WmgmKfDEDsVvcM/EVe77dt+5iTN lTmh6/UOspHMUsgWGNzNwv/EJ9BAXQywYGmcMFQvIEhUSgaOJnLF5ZhR3191iJmTCnJp5a0+fra N5dPOuScFoGK3iNIadYs/qkcmwLw+T/uTPnG43RfBXSx5chFiAACOUUCVs4rncMVfXNcq9HREyn GDjMgWrmIv8VpATJ22cyVytaX0lemKuDKHB88s7tw/U1y//gm56cH3x8gMZC+ymwsh/h5D16mtP 8vnfuwmyB9oVKsjAMbmFIbkAL8kpInvvmyVRiDxw8kRRb9Ag+fkEtBcpEcwmmTeY6IJnbB4+bOq /o2PDbzQA/N6apwfhFCBs4dUMis4QSi0Yt8ksqYNu2gfuLjjqmZ1CImxbVQI1TEuNyPt3g17boi GBCbSeH2xzzYtucqcbJnsnWHvYjyPIVF9RLj43yGonh7T6sYoGTE/U3HxIxrfcGVkWAn7Z8j83j yL23cRfbi9WY2TkYqRt4hz2DSpBFWA0hE2Y8eZp3qu+WanedZ/pkWgrS8vyfU2cuWTNr6kjrylt Py7sX+D9WRFUR8P4517bTgsSzVjkTR3A77RFVSCinxZ8P6dLTD0fIZHxVFnfKGKeqt5bcxVT5qP RlqEKXLBJjFlNkQ== 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 ; Tue, 17 Dec 2024 09:27:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5946 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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 50cd8948b35f381414837acc9b9e925dc5110779..e0b87c0e5ff8cf7bd2598cbbb184f9aada19d326 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -6711,6 +6711,25 @@ 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 recipes that provide a + *runtime* component. Runtime providers are declared by recipes that set + the :term:`RPROVIDES` variable. 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`` recipe is a runtime provider of + this component because it contains the following :term:`RPROVIDES` + definition:: + + 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 Tue Dec 17 09:27:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 54232 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 07F5FE77188 for ; Tue, 17 Dec 2024 09:27:27 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web10.77669.1734427637952485982 for ; Tue, 17 Dec 2024 01:27:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SC5JoBJM; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6BAC31C0010; Tue, 17 Dec 2024 09:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734427636; 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=yTYQ4N0AwGeeX7rkAh1t5OuDvDokL/8hTfdfOM89g48=; b=SC5JoBJMfZ+/JtFOnPvoZ7VDbT23q11xfV1jYRyEWOeb9LzOrMH89c4iBit9ce7A2OIP8J 6nwKxEbF18Pi0wnyMM0KG/4xXrcdb/53gbuMfqBeyl6lXq5DYsLRaNnKIXT5YOa6K6Kbzy ysYjHsSMvZaztc0hMZ6ohClhK8yZ/r4/0cidcpe5DOhJDqWNkpQVAG+rh6bWemzpFlqpGk LNZUeEBsYgX4Cj2TTBvHwzwlmYiBgs2YL/2NoDyh5ftmEFU/Idvn65UuMx0ec8CU9bEhyS s9bB0k7I4snWH67F5IwhTiFZ2Ytbju4cDbTC+Xt62cvCX22/Y1TttCV9WBz4fA== From: Antonin Godard Date: Tue, 17 Dec 2024 10:27:13 +0100 Subject: [yocto-docs PATCH 14/14] migration-guides: update the release notes for 5.2 MIME-Version: 1.0 Message-Id: <20241217-release-note-5-2-updates-v1-14-b189493b1b09@bootlin.com> References: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> In-Reply-To: <20241217-release-note-5-2-updates-v1-0-b189493b1b09@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=18997; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=bkDWJAmvB3vUKJ60QSI+qzcRLDOyK+TuZV9OlsMsnEk=; b=owEBbQKS/ZANAwAIAdGAQUApo6g2AcsmYgBnYUPxV9q/ux7yNIm5qGNBe2jqkP9mz0IVzUJLv 1ywqcUWILaJAjMEAAEIAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCZ2FD8QAKCRDRgEFAKaOo NtUlEACVPACeTZ3mlWDk02fph7uaFSIfLCClUcTwJHh8r+LjmyfPiicSCJLjq8vHEUx0x6Va5Uh 7MPDQ3GcqtbvAjZYZGuXBtJWPyw7+2KSo+7yIDuJvmpn/JMwjQRiXQHemYcUXQ1FndUn88c+XvQ CAnQHngb7Mbj5onnPMMWjr+cFrh4MSCR0dWkn7c3cWiy+5ktx7e7ZpQKPF9yvjxmQ0ASYKmGxQA +zUxjJ8nOGGBpn5ajr4u0bcCE6xde6G8ksQFSu7XCXLxiCrPNjXPAYwf8BdB9M2qt2QD4lGXpz6 CbOtXR0nJr+eND7+o/AVefBo8cZ1UQQhi+9SIOD1v9qmnPaMCb6oay8g6lWeIorFG3guUmlQMcg 6wKimhvMJIryJUz1KsueVRWwOehAzhVsEKu4gXRzBKPQ83ojsDzg7AnxLxFQOpa6wW0+m+LI/gG WDEpDzLRhlnTGDUzdT4Zvb4TYugxvQRcNl78ZWSQu0JZ2vmydW/Cix8DALWZ9D0gUN3YII4uJRe WbLYMJdiUaPZebwravsm6O9+tXk6ewhT8dTyTtIYEYAQ5PFu7bAQ+mLOxktrch9TmuzyinmpAG9 deuDd0NMuSW8EOlKrb6+3jBDXlMyBpYwGuELnca11JsxrCCBLMqn3RQVP33kod0uTag04yuqJnw jgczc//UBz1NH0w== 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 ; Tue, 17 Dec 2024 09:27:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5947 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 | 50 +++ .../migration-guides/release-notes-5.2.rst | 345 ++++++++++++++++++++- 2 files changed, 393 insertions(+), 2 deletions(-) diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index 7b35e7721fa74f51617fb5530987f62e9c74fed9..532f3942e4ac678c8afc2887b83f9296d1d26438 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,29 @@ 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. + 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| ~~~~~~~~~~~~~~~~~~~~~~~~~~~