From patchwork Wed Oct 9 07:40:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 50119 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 9E811CED635 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10669.1728459693304184837 for ; Wed, 09 Oct 2024 00:41:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BRxsRt1/; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id D56571BF208; Wed, 9 Oct 2024 07:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w3BM4chAtTZv10TkLjcnONRikiYgALfkAk+S1T3hYlY=; b=BRxsRt1/eNz0e9+U21RaDbeGPeDbB+F2+iDVr5QPmX/akioS4AoeWKdY5L5Hzgkw8DMJvh qMGtrCxC3N+1V3gvVG3KnqWZg11wD/t5YdmbGWYFq5lBMABGq5Y9r4lObfv8SnGs4kc/vU MpvLGQO4nj7DG1Brx31Coyk4NsNxOXEqxbQIOAVNKg+WLaIx3tGKLr3vC4Kz5YWNTz0gME h+RojFEpFieAKTkwPi6A3PIg1n4LhGEV5KiLwlSnvpBhBVcNvfxM3bFc7MgwvjZzXhwFqZ szf8lN4O1mPDnFQ2ZBpISIZIPvmyXQHBWoFov3AvxHIcf+m4bgPNz8SOBcFKRQ== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 01/16] ref-manual: add missing CVE_CHECK manifest variables Date: Wed, 9 Oct 2024 09:40:59 +0200 Message-ID: <20241009074120.866786-2-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5408 From: Antonin Godard Variables that can be used for toggling creation of manifest and specifying the path to the output in the deploy directory. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 32c9e7407..0236c8c9c 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1678,9 +1678,21 @@ system and gives an overview of their function and contents. variable only in certain contexts (e.g. when building for kernel and kernel module recipes). + :term:`CVE_CHECK_CREATE_MANIFEST` + Specifies whether to create a CVE manifest to place in the deploy + directory. The default is "1". + :term:`CVE_CHECK_IGNORE` This variable is deprecated and should be replaced by :term:`CVE_STATUS`. + :term:`CVE_CHECK_MANIFEST_JSON` + Specifies the path to the CVE manifest in json format. See + :term:`CVE_CHECK_CREATE_MANIFEST`. + + :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX` + Allows to modify the json manifest suffix. See + :term:`CVE_CHECK_MANIFEST_JSON`. + :term:`CVE_CHECK_REPORT_PATCHED` Specifies whether or not the :ref:`ref-classes-cve-check` class should report patched or ignored CVEs. The default is "1", but you From patchwork Wed Oct 9 07:41: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: 50121 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 B74DDCED639 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10716.1728459693600984488 for ; Wed, 09 Oct 2024 00:41:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=X1gjiKNr; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 22A871BF204; Wed, 9 Oct 2024 07:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RkwjmV1JSPY/ND9/W+D4SKsyxqHIRMAA3qj19W7zZkA=; b=X1gjiKNrGM2lwQxe7y+NR5tQujAMz+Z+6wqobXWe5GbRzQg7DfXE+u7Lv2ZQrkUkjdb0qV tA/bApnCK2M2w0+qzEXqmDIXHbDAUC5H5wz1FxjH96uOGQS+4Q1VAc+06sHJMGWYaH78GY sEP6lUGQ8rl+Qo4HiuYvBVgGt5+ZOSIt45EDsf2xPLlEzPVK7o+dDRIyBH32PRQdDowrKx pCvXXPdnVutlln9wqJIpgBlee2RpAsr0sOXRjg/PoJVusb42m58QkR7l90FBYBGh4bUup3 2JJsxbX0u+LnVbidtLb/tzfRDfu/1ZbArxKGeyGS5ya8SDsysBbs9XiZkZdmng== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 02/16] ref-manual: add new vex class Date: Wed, 9 Oct 2024 09:41:00 +0200 Message-ID: <20241009074120.866786-3-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5409 From: Antonin Godard Add a brief description on the new vex.bbclass that is used to generate metadata needed by external tools to check for vulnerabilities. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 9520d0bf7..46d77d0e5 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -3489,6 +3489,31 @@ This class is enabled by default because it is inherited by the The :ref:`ref-classes-vala` class supports recipes that need to build software written using the Vala programming language. +.. _ref-classes-vex: + +``vex`` +======== + +The :ref:`ref-classes-vex` class is used to generate metadata needed by external +tools to check for vulnerabilities, for example CVEs. It can be used as a +replacement for :ref:`ref-classes-cve-check`. + +In order to use this class, inherit the class in the ``local.conf`` file and it +will add the ``generate_vex`` task for every recipe:: + + INHERIT += "vex" + +If an image is built it will generate a report in :term:`DEPLOY_DIR_IMAGE` for +all the packages used, it will also generate a file for all recipes used in the +build. + +Variables use the ``CVE_CHECK`` prefix to keep compatibility with the +:ref:`ref-classes-cve-check` class. + +Example usage:: + + bitbake -c generate_vex openssl + .. _ref-classes-waf: ``waf`` From patchwork Wed Oct 9 07:41: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: 50120 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 AB932CED637 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10670.1728459693853718438 for ; Wed, 09 Oct 2024 00:41:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ls10oM8U; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 62BD71BF206; Wed, 9 Oct 2024 07:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aR9c5L40xXyXJLwCG54XGygq/WINpfoO+lie3UWyS0I=; b=Ls10oM8U1hg5skhV/NRo5oehT5aTGThIsphXniGwDsdd0phd/ZoN/bXhHzK5Qbuq4QjBx6 DT2zeSmO0Hn1NkYuh4sWz2sc+InjOHJISpxkKIjS58xKTL2OQwwdaJbfEILeTaMQ4hUFWg trwNMmCHQHTKNg4G190a47z3Zs/XpuHMemOwR7HYxuYbXIfXKAw/hnkR1SgQOl/gZu7zMV QPwc9UqqXs+Qv1DDnvCUSlsE1cF/Jqbva6AIKGSodd4w1tVE9doAu0ul4v6QOJdhciVfH2 HmAtMUHuz0O/9pJ8vYOS6zdqvaMjX2YDIHaEI35YB6bPr+VdhqtUmAqd0Dld7A== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 03/16] ref-manual: add new retain class and variables Date: Wed, 9 Oct 2024 09:41:01 +0200 Message-ID: <20241009074120.866786-4-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5410 From: Antonin Godard Document the new `retain` class with its configuration variables in the variable index. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 17 +++++++++++++ documentation/ref-manual/variables.rst | 35 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 46d77d0e5..9f6e42725 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -2728,6 +2728,23 @@ commit, and log. From the information, report files using a JSON format are created and stored in ``${``\ :term:`LOG_DIR`\ ``}/error-report``. +.. _ref-classes-retain: + +``retain`` +========== + +The :ref:`ref-classes-retain` class can be used to create a tarball of the work +directory for a recipe when one of its tasks fails, or any other nominated +directories. It is useful in cases where the environment in which builds are run +is ephemeral or otherwise inaccessible for examination during debugging. + +To enable, add the following to your configuration:: + + INHERIT += "retain" + +The class can be disabled for specific recipes using the :term:`RETAIN_ENABLED` +variable. + .. _ref-classes-rm-work: ``rm_work`` diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 0236c8c9c..1e37132ed 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7137,6 +7137,41 @@ system and gives an overview of their function and contents. If both :term:`REQUIRED_VERSION` and :term:`PREFERRED_VERSION` are set for the same recipe, the :term:`REQUIRED_VERSION` value applies. + :term:`RETAIN_DIRS_ALWAYS` + When inheriting the :ref:`ref-classes-retain` class, this variable holds + space-separated recipe-specific directories to always save in a tarball + whether the recipe build has failed or not. + + :term:`RETAIN_DIRS_FAILURE` + When inheriting the :ref:`ref-classes-retain` class, this variable holds + space-separated recipe-specific directories to save in a tarball on + failure of the recipe's build. + + :term:`RETAIN_DIRS_GLOBAL_ALWAYS` + When inheriting the :ref:`ref-classes-retain` class, this variable holds + space-separated directories that are not specific to a recipe to save in a + tarball whether the build has failed or not. + + :term:`RETAIN_DIRS_GLOBAL_FAILURE` + When inheriting the :ref:`ref-classes-retain` class, this variable holds + space-separated directories that are not specific to a recipe to save in a + tarball on build failure. + + :term:`RETAIN_ENABLED` + Disables the creation of a tarball of the work directory done by the + :ref:`ref-classes-retain` class. Can be set to specific recipes to disable + the class when the class was inherited globally with :term:`INHERIT`. + + :term:`RETAIN_OUTDIR` + When inheriting the :ref:`ref-classes-retain` class, this variable + specifies the directory where to save the tarball of the work directory. + The default directory is ``${TMPDIR}/retain``. + + :term:`RETAIN_TARBALL_SUFFIX` + When inheriting the :ref:`ref-classes-retain` class, this variable + specifies the suffix of the tarball of the work directory. The default + suffix is ``${DATETIME}.tar.gz``. + :term:`RM_WORK_EXCLUDE` With :ref:`ref-classes-rm-work` enabled, this variable specifies a list of recipes whose work directories should not be removed. From patchwork Wed Oct 9 07:41: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: 50109 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 5038ACED625 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10717.1728459694138155070 for ; Wed, 09 Oct 2024 00:41:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SeWeOiyd; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id A02161BF209; Wed, 9 Oct 2024 07:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+ASUhdlBChjb5VUvWFESamebClcpmhTJeWZmShVXsH0=; b=SeWeOiydTFyFJ0B5O5BcmO6yFTLMpJIghJ5KFi3xyZSMUvl6sGQfSEH3o7qrwpE3VN6koj VdHMGe5EGUE4CbmTkcTlbz8UEqe7zfnbomzSOohg5oBPoqdMEFQK18qc2+eb3qI6iKN3jL 3rPBchHAhKRFAoz6gSHA23HI5GTVOkYreTvPGc5UpvNejKmG11LQ7479vtfB0GQRC8qD+Q wpdtkqO2ccmZGfaZkLJVAhLU8lHWzEo0B/Mx8/LHpHWmdi6Z71kvXXbmAqbMZY3bz/A08i MXgJDvRuOrKjTzIO52zx1Tja8qh+kjXd3uWMldIQdnlZFOgQF3bmAxHO173ptA== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 04/16] ref-manual: add missing nospdx class Date: Wed, 9 Oct 2024 09:41:02 +0200 Message-ID: <20241009074120.866786-5-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5411 From: Antonin Godard Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 9f6e42725..14aa0f3a3 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -2049,6 +2049,14 @@ and the target. All common parts of the recipe are automatically shared. Disables packaging tasks for those recipes and classes where packaging is not needed. +.. _ref-classes-nospdx: + +``nospdx`` +========== + +The :ref:`ref-classes-nospdx` allows a recipe to opt out of SPDX +generation provided by :ref:`ref-classes-create-spdx`. + .. _ref-classes-npm: ``npm`` From patchwork Wed Oct 9 07:41: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: 50117 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 9DCABCED634 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10671.1728459694427371509 for ; Wed, 09 Oct 2024 00:41:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BHLweUc6; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id E5B551BF20A; Wed, 9 Oct 2024 07:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N89CHdNvAi1EfcmsIA3JRrm4aMpgUJ0LTf6oH97Gwo8=; b=BHLweUc6NRtjTvGZfNe7SLve64I3OBIM82OAsrmdrgIbODvcV5Qt6awsVIkTAdZ0jVo67v OG8/anKcommpwJaBbNUm9Bu7Mqi9VdGcLA1f4yVVfWGJLKnNxYdGvwyClGdgrvoNJ3UxB6 R0SPRnwQ89QyZlfamtmGEYLQWG3k0hyEwcmSy86YDyffJ1IxJKeVF1MNTTmdfMVKzhXe6A V3EhEVJMkVEED9CnXr6SCy5u3+qe/13RnLL74eFrudukizMO48LnR40qTelngSbUDQGvzV O7L/zwFJRapUIlqzOpjI9CyGTFDP6M7tcV8m/ay4ooUHisq3R0KIE9Zje+xyXg== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 05/16] ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variable Date: Wed, 9 Oct 2024 09:41:03 +0200 Message-ID: <20241009074120.866786-6-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5412 From: Antonin Godard Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1e37132ed..6af05c810 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7076,6 +7076,11 @@ system and gives an overview of their function and contents. in the ":ref:`ref-manual/devtool-reference:checking on the upgrade status of a recipe`" section. + :term:`RECIPE_UPGRADE_EXTRA_TASKS` + When upgrading a recipe with ``devtool upgrade``, the variable + :term:`RECIPE_UPGRADE_EXTRA_TASKS` specifies a space-delimited list of + tasks to run after the new sources have been unpacked. + :term:`RECIPE_SYSROOT` This variable points to the directory that holds all files populated from recipes specified in :term:`DEPENDS`. As the name indicates, From patchwork Wed Oct 9 07:41: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: 50118 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 905FFCED632 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10672.1728459694695600577 for ; Wed, 09 Oct 2024 00:41:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=aF8ujX0E; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 37D681BF20B; Wed, 9 Oct 2024 07:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZrIVDXW7VJTCRQN0fvl3AUEWAxC8HZ1pwW4q1Mzgxq8=; b=aF8ujX0EO99pDI4N7rQBYSegEwncWfTDuC20z4LA0hIon6/B54Fa6jXKt88zAEeD2G1vas WH8HCsmEonkn8TYVRi3pYgFlrhrSXMcf594I0uAU7KuSqojNLwOEU/RaqLdEJ3N/sOPk+z Aca+fNORPcmm+NTWVhj1l2rfluE0W3qRMdzYHCRYJWEGdPyoLDaa6mlw1Fk0lAhmAKCiz6 0TLRkznR3rqgjdjTR2ToGpN5QBapW5Lxs1QXw370XoVlStaTScnYDX8zn8+hnu8v29di3H J6baiofJqsGMlyDMr2mkpyvAx+vTRZauo1N8edmLZofvn3k64pI/iFmKFiEzmw== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 06/16] ref-manual: drop siteconfig class Date: Wed, 9 Oct 2024 09:41:04 +0200 Message-ID: <20241009074120.866786-7-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5413 From: Antonin Godard Removed as it was only used by ncurses and zlib and adding minimal added-value for a considerable amount of added runtime. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 14aa0f3a3..121887d1f 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -2940,15 +2940,6 @@ in the :ref:`ref-classes-setuptools3` class and inherit this class instead. The :ref:`ref-classes-sign_rpm` class supports generating signed RPM packages. -.. _ref-classes-siteconfig: - -``siteconfig`` -============== - -The :ref:`ref-classes-siteconfig` class provides functionality for handling site -configuration. The class is used by the :ref:`ref-classes-autotools` class to -accelerate the :ref:`ref-tasks-configure` task. - .. _ref-classes-siteinfo: ``siteinfo`` From patchwork Wed Oct 9 07:41: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: 50114 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 8BB34CED630 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10673.1728459694943836300 for ; Wed, 09 Oct 2024 00:41:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VsScAyCb; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 77E061BF20C; Wed, 9 Oct 2024 07:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V9NaGPiD25+F9XdoK1Y2GyHA7hvUyWJRwcyn0FmJero=; b=VsScAyCbB95S5Zb12zxcGUt0rMQ2kT3mFp6Se2nauhAFvUrRTjRpBbJxCqPm2G9DlT+sC7 TeVrulNPOwN9rdTWh12l9heP6uLrocxkseX4ABVMAnpHzuuLUX/Noqro7HHaJnkJUkje6N Ys/8hy2zNQi+zTFG2s/Bkz1axogXTfUbsnTr+bsxeZQuTkzGcXEVz1povkvE/OGe09P9LC nRAal3QaZoJPLs9R8Y4oOau0+pNCMCw/NTeowOUxk0jylfhh6O9JdKaw7VWRM9NWMREu/g uzxfaaY7uoDc5W/NbC0524JYqrDUTxhtplK7uT4Czd2e/I83JoibQpiHuaisqA== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 07/16] ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS Date: Wed, 9 Oct 2024 09:41:05 +0200 Message-ID: <20241009074120.866786-8-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5414 From: Antonin Godard This variable lists space-separated paths on the target to retrieve onto the host, when inheriting testimage. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 6af05c810..9eabc4a0d 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9267,6 +9267,11 @@ system and gives an overview of their function and contents. section in the Yocto Project Development Tasks Manual and the ":ref:`ref-classes-testimage`" section. + :term:`TESTIMAGE_FAILED_QA_ARTIFACTS` + When using the :ref:`ref-classes-testimage` class, the variable + :term:`TESTIMAGE_FAILED_QA_ARTIFACTS` lists space-separated paths on the + target to retrieve onto the host. + :term:`THISDIR` The directory in which the file BitBake is currently parsing is located. Do not manually set this variable. From patchwork Wed Oct 9 07:41: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: 50116 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 82315CED62B for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10674.1728459695194564013 for ; Wed, 09 Oct 2024 00:41:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=l9VfBaRn; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id B529E1BF203; Wed, 9 Oct 2024 07:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qy9zjAXctxJKYvig3AySXQ6fiBp6rLJI58CUf5VyhFc=; b=l9VfBaRnd1/E7I3HuGNrXMk0tnQjR2jmMsZim3EHSDyE/XBN8MN4Z7bL74gyU/RLwchm/e f/2k/Ivygg8ne8SNDqHomH/T3WSVYFQ97boldy+ais7qiC5M9EbFQporSceqqhliAOaOBi 7oKQb++ouQWdqbYNviKtNIizHB6Zk7bBeUUT0dztRtCsidu+PIsBNAj2nbpMzWyaERXwXe VkIIvVSP4kQsa8OTcdkHdVPogReHRcSCAPcqdBHcq6xFO6K44k/gZU6G9xJQ3L3PbX84h0 mLZNGOdpBcIjaWNEWIqPPg3NRXdxYquNFNgidOP2qzH4kVb3U0ciRAGz0S9vsQ== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 08/16] ref-manual: add missing image manifest variables Date: Wed, 9 Oct 2024 09:41:06 +0200 Message-ID: <20241009074120.866786-9-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5415 From: Antonin Godard New variables that control the output of the image task manifests. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 9eabc4a0d..cad626317 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -3797,6 +3797,25 @@ system and gives an overview of their function and contents. clear the value of this variable (set the value to ""). For example, this is typically cleared in :term:`Initramfs` image recipes. + :term:`IMAGE_OUTPUT_MANIFEST` + When inheriting the :ref:`ref-classes-image` class directly or through the + :ref:`ref-classes-core-image` class, the :term:`IMAGE_OUTPUT_MANIFEST` + points to a manifest ``json`` file that lists what images were created by + various image creation tasks (as defined by the :term:`IMAGE_FSTYPES` + variable). It is set in the :ref:`ref-classes-image` class as follows:: + + IMAGE_OUTPUT_MANIFEST = "${IMAGE_OUTPUT_MANIFEST_DIR}/manifest.json" + + :term:`IMAGE_OUTPUT_MANIFEST_DIR` + When inheriting the :ref:`ref-classes-image` class directly or through the + :ref:`ref-classes-core-image` class, the :term:`IMAGE_OUTPUT_MANIFEST_DIR` points to + a directory that stores a manifest ``json`` file that lists what + images were created by various image creation tasks (as defined by the + :term:`IMAGE_FSTYPES` variable). It is set in the :ref:`ref-classes-image` + class as follows:: + + IMAGE_OUTPUT_MANIFEST_DIR = "${WORKDIR}/deploy-image-output-manifest" + :term:`IMAGE_OVERHEAD_FACTOR` Defines a multiplier that the build system applies to the initial image size for cases when the multiplier times the returned disk @@ -4008,6 +4027,16 @@ system and gives an overview of their function and contents. files to be deployed into :term:`IMGDEPLOYDIR`, and the class will take care of copying them into :term:`DEPLOY_DIR_IMAGE` afterwards. + :term:`IMGMANIFESTDIR` + When inheriting the :ref:`ref-classes-image` class directly or through the + :ref:`ref-classes-core-image` class, the :term:`IMGMANIFESTDIR` points to + a temporary area that stores manifest ``json`` files, that list what + images were created by various images creation tasks (as defined by the + :term:`IMAGE_FSTYPES` variable). It is set in the :ref:`ref-classes-image` + class as follows:: + + IMGMANIFESTDIR = "${WORKDIR}/image-task-manifest" + :term:`INCOMPATIBLE_LICENSE` Specifies a space-separated list of license names (as they would appear in :term:`LICENSE`) that should be excluded From patchwork Wed Oct 9 07:41: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: 50113 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 74009CED628 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10718.1728459695471092531 for ; Wed, 09 Oct 2024 00:41:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ChDi5zex; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id F19DD1BF205; Wed, 9 Oct 2024 07:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=17ls9VnUK/fJgHBda6huXXb/Qdm/KTAcvjZEbPNY7Aw=; b=ChDi5zexPcadt7CCm9wLN40gAm4tOe9C/fof0wiy6FaaG/BwvLSN4RCbm6JHomnqJXeYK/ qHQBtdO0E02UrQmGOXV+VWxHGyFseE7imdAv7eCI6a8Nghq3ttguOuVjE9uFqX5x34rlPi /nitgCvG6uT6apJmFpK7s3OxmUDHCB19j0WYSK6L3WcHdzJPkAcyjzU7URCpoYnHQE7KdX 27jamHYqEzHGuiKuLgmznhkhR1OTZCRDeh/zVZp9LnukRNRFmwjm8hWMNwy+Pc9BGvKb6T s+WSmNhwbRwqsYxJ3VYTXPUbTfrUvEt1IG78UtrlRtBaYNaPwnchmRaKVZPYbg== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 09/16] ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable Date: Wed, 9 Oct 2024 09:41:07 +0200 Message-ID: <20241009074120.866786-10-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5416 From: Antonin Godard This variable can be used to specify one or more compiled device tree or device tree overlays to use in addition to the one compiled by the kernel. 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 cad626317..5744eeb9e 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -2526,6 +2526,13 @@ system and gives an overview of their function and contents. external tools. See the :ref:`ref-classes-kernel-yocto` class in ``meta/classes-recipe`` to see how the variable is used. + :term:`EXTERNAL_KERNEL_DEVICETREE` + When inheriting :ref:`ref-classes-kernel-fitimage` and a + :term:`PREFERRED_PROVIDER` for ``virtual/dtb`` set to ``devicetree``, the + variable :term:`EXTERNAL_KERNEL_DEVICETREE` can be used to specify a + directory containing one or more compiled device tree or device tree + overlays to use. + :term:`KERNEL_LOCALVERSION` This variable allows to append a string to the version of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION`` From patchwork Wed Oct 9 07:41: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: 50112 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 7322ECED62A for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10719.1728459695731230315 for ; Wed, 09 Oct 2024 00:41:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pRPLP+g9; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 41CF81BF207; Wed, 9 Oct 2024 07:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hMddSRbrZAcDM7KIajbTI4wcxtzFie+1itLofafpnaE=; b=pRPLP+g9nEXMrHKItxyCTXJG9P+Sgt9UVQLMo67Uh80+NsDDzZgh0q86ne+dz2UG8b79gU dqWWIzZKx7PYivBUVpgvUpigonRraMCaeVWFutM0X56QXQ/50hz7KcvSzMEZ8cTAKfgTjv mA6zKXc4B0oBwJnIJsBNFUE/Uy3l3glWTGcqZLfpSquluCnwunM07v5LCiNDU8Vm2ddeRQ OqN47vHOIHxMMQpjgAtU5ZttTgsK7xmsTiNBiJiti7N5F3S7YGCgOXVjaXjcC9SHbmmkYa u3eXZSRJOZG6IoyQgbx6SCqDkUUI2OfB0rMT0a3UQ2VfGMw8gBRqv8FsZCbmMg== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 10/16] ref-manual: drop TCLIBCAPPEND variable Date: Wed, 9 Oct 2024 09:41:08 +0200 Message-ID: <20241009074120.866786-11-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5417 From: Antonin Godard No longer required as TMPDIR can be shared for multiple lib providers nowadays. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 5744eeb9e..8907572e6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9031,19 +9031,6 @@ system and gives an overview of their function and contents. You can select "glibc", "musl", "newlib", or "baremetal". - :term:`TCLIBCAPPEND` - Specifies a suffix to be appended onto the :term:`TMPDIR` value. The - suffix identifies the ``libc`` variant for building. When you are - building for multiple variants with the same :term:`Build Directory`, - this mechanism ensures that output for different ``libc`` variants is - kept separate to avoid potential conflicts. - - In the ``defaultsetup.conf`` file, the default value of - :term:`TCLIBCAPPEND` is "-${TCLIBC}". However, distros such as poky, - which normally only support one ``libc`` variant, set - :term:`TCLIBCAPPEND` to "" in their distro configuration file resulting - in no suffix being applied. - :term:`TCMODE` Specifies the toolchain selector. :term:`TCMODE` controls the characteristics of the generated packages and images by telling the From patchwork Wed Oct 9 07:41: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: 50110 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 5B11ECED627 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10720.1728459695976915462 for ; Wed, 09 Oct 2024 00:41:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=C1CMrx0B; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7FBD21BF20D; Wed, 9 Oct 2024 07:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wESA0+wWuTuEgan5QcZsFan2F+sBZCRMetGbB+M6APA=; b=C1CMrx0BomBKVzGAVLPuk34990cKj3EgiRNshHPX2cqdEEaVYQLCTrvw/HLFwT/Ln/k7PQ iRc5gfv/QK5eReBIAmBWhSQA3zmafJHXUkxVu+EnJrPBokuNW/HPG1kaWdm0XZBETPdU91 YAyhaAxbnxZ9luDNj67rVBHDa6q0NE+wlREuLMpjuDkgBIgE7gTmALen2Zo4/Zy287A8Aj NIU0Qtz5AaR8hjVEuqVd+kFmliH18Kdi3Y4rmju0sXLxdqGun4fvsZFBxNde947nwEwVh3 KjcaUG8P7bVJtoUKeBKEasDSilaP43c1vuUCnczeu2cPw0RaxfwD5D3kMS1+sA== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 11/16] ref-manual: add missing OPKGBUILDCMD variable Date: Wed, 9 Oct 2024 09:41:09 +0200 Message-ID: <20241009074120.866786-12-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5418 From: Antonin Godard 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 8907572e6..72781d93b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -5761,6 +5761,13 @@ system and gives an overview of their function and contents. :term:`OPKG_MAKE_INDEX_EXTRA_PARAMS` Specifies extra parameters for the ``opkg-make-index`` command. + :term:`OPKGBUILDCMD` + The variable :term:`OPKGBUILDCMD` specifies the command used to build opkg + package when using the :ref:`ref-classes-package_ipk` class. It is defined + in :ref:`ref-classes-package_ipk` as:: + + OPKGBUILDCMD ??= 'opkg-build -Z zstd -a "${ZSTD_DEFAULTS}"' + :term:`OVERLAYFS_ETC_DEVICE` When the :ref:`ref-classes-overlayfs-etc` class is inherited, specifies the device to be mounted for the read/write From patchwork Wed Oct 9 07:41: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: 50111 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 559DACED622 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10721.1728459696227287348 for ; Wed, 09 Oct 2024 00:41:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pYLcOw2z; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id BECFE1BF209; Wed, 9 Oct 2024 07:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UG+Qfs5Qa/fbskkR5Hqf9wS0lq01TUqILKL8xBl+6lc=; b=pYLcOw2zkTsw/jGRN/hXwmZUh3I1z6qKTgKmUehSvcdukHWWRfD5aU9V75ycaELKMGEL1S gMflvXfNQUVKfuqxOnNHGYnpnaa+AZCpxGTLf3J5Uk1mWv4xDqXR+I3pwcsf5V+4eAWhTz 5HEDRn1XoeejjYvBtUaVma8S/gE3vuiNAyS8qDlx3+gRXtwaIasjZ8Pt7lRP7c8wSbVIdj +Kp+vtIHYypBYESIE89wpEzcVWstDr/m+vJa0xYCL/Vcrp8ylzklxXk47X1m8jBGWnIzZ0 MSrRwcKlNTbmjtBzoDA4G4e4nK0YkpqGZaOEwaCFHgnQCNBqd44CmQ/6G4456Q== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 12/16] ref-manual: add missing variable PRSERVER_UPSTREAM Date: Wed, 9 Oct 2024 09:41:10 +0200 Message-ID: <20241009074120.866786-13-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5419 From: Antonin Godard Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 72781d93b..985fec5d6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -6878,6 +6878,11 @@ system and gives an overview of their function and contents. service `. You can set :term:`PRSERV_HOST` to other values to use a remote PR service. + :term:`PRSERVER_UPSTREAM` + This variable can be used to specify an upstream PR server for the local + PR server to connect to, in the form of ``host:port``. + + This makes it possible to implement local fixes to an upstream package. :term:`PSEUDO_IGNORE_PATHS` A comma-separated (without spaces) list of path prefixes that should be ignored From patchwork Wed Oct 9 07:41: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: 50108 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 410D4CED621 for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10722.1728459696481490254 for ; Wed, 09 Oct 2024 00:41:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lBpTUsuT; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 077CD1BF20F; Wed, 9 Oct 2024 07:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m0xPTuZ00YCTugRTa7doF6u5Z109huadeuOFsB1B5t0=; b=lBpTUsuTImdQVtjNdgLtugSbopkbi1FJGJe+XMADmP/8HTC1T/hnJWt8qnoryWsHikMO9E o3xVZmmwVzN240nExXLRFqmC3iAjO99ToxG0iiWEwXWaSwVBUiGn72ylaJ80TldNL9d2uA tC8CasgcHYPUWDXwlpUAni0ECdKrCKT1WYPwDT4mUMdSN8Mz5Ny6gQDWOZ6mG8ZXaOJWSf giwl1sB5Ez6yFj4u1cnBm1C3roaen+2UHLCJ8ljV6b8jHHLFv20rqlUXfujXVOzrY1jmDs rE60lZs6qpPTvQY8sAr0RPBOFpJBcXPtH2GYwbsXokc8ucWKsVnuF8kyP/Z2Wg== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 13/16] ref-manual: merge patch-status-* to patch-status Date: Wed, 9 Oct 2024 09:41:11 +0200 Message-ID: <20241009074120.866786-14-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5420 From: Antonin Godard These are not distinct anymore and check for any patches in any layer. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 121887d1f..0fce37cfa 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1461,12 +1461,8 @@ The tests you can list with the :term:`WARN_QA` and - ``patch-fuzz:`` Checks for fuzz in patch files that may allow them to apply incorrectly if the underlying code changes. -- ``patch-status-core:`` Checks that the Upstream-Status is specified - and valid in the headers of patches for recipes in the OE-Core layer. - -- ``patch-status-noncore:`` Checks that the Upstream-Status is specified - and valid in the headers of patches for recipes in layers other than - OE-Core. +- ``patch-status:`` Checks that the Upstream-Status is specified and valid in + the headers of patches for recipes. - ``perllocalpod:`` Checks for ``perllocal.pod`` being erroneously installed and packaged by a recipe. From patchwork Wed Oct 9 07:41: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: 50107 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 37768CED61E for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10676.1728459696718003580 for ; Wed, 09 Oct 2024 00:41:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BXfOmf8x; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 439131BF208; Wed, 9 Oct 2024 07:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8BT7p07f6qzp1zznTX8i5hsTi9ZxYm4/WbiJyG8nnb4=; b=BXfOmf8x8jp+JyKoX2mORCFF2PA62ZnEMqLLUCYGmh4i+xqc/LTIZqJPIKhGPxAkI2Zjol W238Rm8u5cmyumQEunZtMg8pEhEe/EIj+Ohgnh6dfucVHPKNE+GbcOvBCth29WjuuujIlA bPM8pW+3j2/Ysyb9Y6dX95NxTczQaqIVopFGEe/LbTfAmQPLFOFxVzaJClMRgSxHXXfnG+ QqMgdIjaIPnItCnGXDAF+WYUNmVuDTtqPtV2Rr7ViBSgRnZJ6H+RRHiPgKlftRO+yv1udu rBjysgnCVTTeuuNelVJUywOXGjxKpfenYCk92zY2Iytg4UBVqmVh6mbqv/iesQ== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 14/16] ref-manual: add mission pep517-backend sanity check Date: Wed, 9 Oct 2024 09:41:12 +0200 Message-ID: <20241009074120.866786-15-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5421 From: Antonin Godard New sanity check to check for PEP517-backend compliance. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 0fce37cfa..f3874326d 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1478,6 +1478,9 @@ The tests you can list with the :term:`WARN_QA` and - ``perms:`` Currently, this check is unused but reserved. +- ``pep517-backend:`` checks that a recipe inheriting + :ref:`ref-classes-setuptools3` has a PEP517-compliant backend. + - ``pkgconfig:`` Checks ``.pc`` files for any :term:`TMPDIR`/:term:`WORKDIR` paths. Any ``.pc`` file containing these paths is incorrect since From patchwork Wed Oct 9 07:41:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 50115 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 3A23BCED61D for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web10.10677.1728459697132733305 for ; Wed, 09 Oct 2024 00:41:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gE6+Cxpe; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7ED2F1BF204; Wed, 9 Oct 2024 07:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459695; 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=XkUaNEKZEmJcvYRp4QYSj4yxLq7vBIel1mapDv3Ddz8=; b=gE6+Cxpeh4gcV4mw4kwu9lkaDejWcfo1lpG2rgLYZHokNcjhOdvKbd23DyjZ/o/GRM5dCk LiiWY3M6/Fkrb0iloZk9GTvDwyDPBhpgps4Lza5JVPYSHsqjPMhwUJv6lzRnxU1DUjhWBP Ijkn2pZvwt2tekfFB6StPZ+N+HvrOu9DvHZD/+v5Jomjfrz9kTRL8fpbnCg54t9cJW3x8Z ZQKb+h5RE9sd/4xQUxuzuBCwSuLYrpccGvjD4QGSKQrSNs/201LJlkk4VI4FbyUtSglp8s HsdIkbPORnCvZZYMSGPtDlRHrltNdnBNFPC3KCMO25Z9dps8iJi50uRC7fZKHw== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Lee Chee Yang , Alexandre Belloni , Antonin Godard Subject: [PATCH 15/16] release-notes-5.1: update for several section Date: Wed, 9 Oct 2024 09:41:13 +0200 Message-ID: <20241009074120.866786-16-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5422 From: Lee Chee Yang update for these changes: - license - recipe enable for ptests - new class, recipe and variable. - PACKAGECONFIG - some utility script, class and include file. - bitbake. - qemu/runqemu. - Contributors. removed wic as no significant change or improvement. Antonin Godard: amend and fix some typos. Signed-off-by: Lee Chee Yang Signed-off-by: Alexandre Belloni Signed-off-by: Antonin Godard --- .../migration-guides/release-notes-5.1.rst | 306 +++++++++++++++++- 1 file changed, 303 insertions(+), 3 deletions(-) diff --git a/documentation/migration-guides/release-notes-5.1.rst b/documentation/migration-guides/release-notes-5.1.rst index 074d277da..211f92553 100644 --- a/documentation/migration-guides/release-notes-5.1.rst +++ b/documentation/migration-guides/release-notes-5.1.rst @@ -10,30 +10,92 @@ New Features / Enhancements in 5.1 - New variables: + - :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX`: suffix for the CVE JSON manifest file. + + - :term:`PRSERVER_UPSTREAM`: Upstream PR service (host:port). + + - :term:`RECIPE_UPGRADE_EXTRA_TASKS`: space-delimited list of tasks to run after the new + sources have been unpacked in scripts/lib/devtool/upgrade.py ugrade() method. + + - :term:`UNPACKDIR`: allow change of do_unpack directory. + - Architecture-specific enhancements: - Kernel-related enhancements: + - The default kernel is the current stable (6.10), and there is also support + for the latest long-term release (6.6). + - New core recipes: + - `fmt `__: an open-source formatting library for C++. (from meta-oe) + + - `xcb-util-errors `__: gives human readable + names to error codes and event codes + - QEMU / ``runqemu`` enhancements: -- Rust improvements: + - runqemu: :term:`QB_DRIVE_TYPE` now support for sd card (/dev/mmcblk) -- wic Image Creator enhancements: +- Rust improvements: - SDK-related improvements: + - included ``nativesdk-python3-pip`` in buildtools. + - Testing: - oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir - - Enable ptests for ``python3-libarchive-c`` + - Enable ptests for ``python3-cffi``, ``python3-idna``, ``python3-libarchive-c``, + ``python3-mako``, ``python3-packaging``, ``python3-uritools`` and ``python3-rpds-py``. - Utility script changes: + - New ``cve-json-to-text`` script that converts the cve-check result from the JSON format + to the TEXT format as cve-check removed text format. + + - New ``makefile-getvar`` script to extract value from a Makefile. + + - New ``pull-spdx-licenses`` script to pull SPDX license data, update license list JSON + data and update license directory. + + - Several improvements in ``oe-build-perf-report`` report. + + - ``oe-debuginfod`` add parameter "-d" to store debuginfod files in project sub-directory. + + - ``resulttool`` support test report generation in JUnit XML format. + + - BitBake improvements: + - New go module fetcher (``gomod://``) for downloading module dependencies to the + module cache from a module proxy. + + - New go module fetcher (``gomodgit://``) for downloading module dependencies to the + module cache directly from a git repository. + + - Fetcher for rust crate: added check for latest upstream version. + + - Syncrpc now requires a minimum version of the websockets module depend on python version. + + - Improved bitbake-hashclient stress statistics reporting. + + - bitbake-hashserv added ``reuseport`` parameter to enable SO_REUSEPORT, allowing + multiple servers to bind to the same port for load balancing + + - improved cloning speed with :term:`BB_GIT_SHALLOW` and :term:`BB_GENERATE_MIRROR_TARBALLS`. + + - bitbake UI now include log paths for failed task. + + - fetcher2 support for wget and wget2. + + - fetcher2 support npm package name with '@' character. + + - Codeparser now support shell substitution in quotes, for example:: + + var1="$(cmd1 ...)" + - devtool improvements: - Fix ``_test_devtool_add_git_url`` test @@ -52,6 +114,54 @@ New Features / Enhancements in 5.1 - Fix reproducibility for ``spirv-tools`` + - Allow selection of host key types used by openssh. + + - New glibc task do_symlist to list exported symbols. + + - initramfs-framework support for force reboot in the case of fatal error. + + - insane class now check for patch-status and pep517-backend by default. + + - New ``yocto-space-optimize`` include file to allow turning off debug compiler options + for a small set of recipes to reduce build on disk footprint and package/sstate sizes. + + - Update to SPDX license version 3.24.0 + + - New :ref:`create-spdx-3.0` class to generate SPDX 3.0 output, :ref:`create-spdx-image-3.0` + class that is used when generating images and :ref:`create-spdx-sdk-3.0` for sdk + based recipes. + + - New :ref:`nospdx` class that allows recipes to opt out of generating SPDX. + + - New :ref:`Vex` class generates the minimum information that is necessary + for VEX generation by an external CVE checking tool. + + - New :ref:`retain` class creates a tarball of the work directory for a recipe + when one of its tasks fails, or any other nominated directories. + + - New :ref:`localpkgfeed` class in meta-selftest to create a subset of the + package feed that just contain the packages depended on by this recipe. + + - New :term:`PACKAGECONFIG` options for individual recipes: + + - appstream: qt6 + - cronie: inotify + - gstreamer1.0-plugins-bad: gtk3 + - libsdl2: libsamplerate + - mesa: tegra + - openssh: hostkey-rsa hostkey-ecdsa hostkey-ed25519 + - pciutils: kmod zlib + - piglit: wayland + - pulseaudio: oss-output + - python3: staticlibpython + - python3-jsonschema: format-nongpl (previously "nongpl") + - systemd: bpf-framework + - util-linux: libmount-mountfd-support + + - Stop referring :term:`WORKDIR` for :term:`S` and :term:`B`: trigger + :ref:`ref-classes-insane` errors when :term:`S` or :term:`B` are equal to + :term:`WORKDIR`. + Known Issues in 5.1 ~~~~~~~~~~~~~~~~~~~ @@ -60,6 +170,20 @@ Recipe License changes in 5.1 The following corrections have been made to the :term:`LICENSE` values set by recipes: +- ``dejagnu``: update :term:`LICENSE` to ``GPL-3.0-only``. +- ``gcr``: update :term:`LICENSE` to ``LGPL-2.0-only``. +- ``glibc``: update :term:`LICENSE` to ``GPL-2.0-only & LGPL-2.1-or-later``. +- ``gpgme``: update :term:`LICENSE` for different packages. +- ``libgcrypt``: add license ``BSD-3-Clause``. +- ``linux-firmware``: separate license ``Firmware-linaro`` for linaro-license package. +- ``iw``: update :term:`LICENSE` to ``ISC``. +- ``ppp``: add license ``RSA-MD`` . +- ``tiff``: update :term:`LICENSE` to ``libtiff``. +- ``unzip``: update :term:`LICENSE` to ``Info-ZIP``. +- ``xz``: add :term:`LICENSE` ``PD`` for xz, xz-dev and xz-doc package. +- ``zip``: update :term:`LICENSE` to ``Info-ZIP``. + + Security Fixes in 5.1 ~~~~~~~~~~~~~~~~~~~~~ @@ -71,5 +195,181 @@ Contributors to 5.1 Thanks to the following people who contributed to this release: +- Adithya Balakumar +- Adriaan Schmidt +- Adrian Freihofer +- Alban Bedel +- Alejandro Hernandez Samaniego +- Aleksandar Nikolic +- Alessandro Pecugi +- Alexander Kanavin +- Alexander Sverdlin +- Alexandre Belloni +- Alexandre Truong +- Alexis Lothoré +- Andrew Fernandes +- Andrew Oppelt +- Andrey Zhizhikin +- Anton Almqvist +- Antonin Godard +- Anuj Mittal +- Archana Polampalli +- Bartosz Golaszewski +- Benjamin Bara +- Benjamin Szőke +- Bruce Ashfield +- Carlos Alberto Lopez Perez +- Changhyeok Bae +- Changqing Li +- Chen Qi +- Chris Laplante +- Chris Spencer +- Christian Bräuner Sørensen +- Christian Lindeberg +- Christian Taedcke +- Clara Kowalsky +- Clément Péron +- Colin McAllister +- Corentin Lévy +- Daniel Klauer +- Daniel Semkowicz +- Daniil Batalov +- Dan McGregor +- Deepesh Varatharajan +- Deepthi Hemraj +- Denys Dmytriyenko +- Divya Chellam +- Dmitry Baryshkov +- Emil Kronborg +- Enguerrand de Ribaucourt +- Enrico Jörns +- Esben Haabendal +- Etienne Cordonnier +- Fabio Estevam +- Felix Nilsson +- Florian Amstutz +- Gassner, Tobias.ext +- Gauthier HADERER +- Guðni Már Gilbert +- Harish Sadineni +- Heiko Thole +- Het Patel +- Hongxu Jia +- Igor Opaniuk +- Intaek Hwang +- Iskander Amara +- Jaeyoon Jung +- Jan Vermaete +- Jasper Orschulko +- Joe Slater +- Johannes Schneider +- John Ripple +- Jonas Gorski +- Jonas Munsin +- Jonathan GUILLOT +- Jon Mason +- Jookia +- Jordan Crouse +- Jörg Sommer +- Jose Quaresma +- Joshua Watt +- Julien Stephan +- Kai Kang +- Kari Sivonen +- Khem Raj +- Kirill Yatsenko +- Konrad Weihmann +- Lee Chee Yang +- Lei Maohui +- Leon Anavi +- Leonard Göhrs +- Louis Rannou +- Marc Ferland +- Marcus Folkesson +- Marek Vasut +- Mark Hatle +- Markus Volk +- Marlon Rodriguez Garcia +- Marta Rybczynska +- Martin Hundebøll +- Martin Jansa +- Matthew Bullock +- Matthias Pritschet +- Maxin B. John +- Michael Glembotzki +- Michael Haener +- Michael Halstead +- Michael Opdenacker +- Michal Sieron +- Mikko Rapeli +- Mingli Yu +- Naveen Saini +- Niko Mauno +- Ninette Adhikari +- Noe Galea +- Ola x Nilsson +- Oleksandr Hnatiuk +- Otavio Salvador +- Patrick Wicki +- Paul Barker +- Paul Eggleton +- Paul Gerber +- Pedro Ferreira +- Peter Kjellerstedt +- Peter Marko +- Philip Lorenz +- Poonam Jadhav +- Primoz Fiser +- Quentin Schulz +- Ralph Siemsen +- Rasmus Villemoes +- Ricardo Simoes +- Richard Purdie +- Robert Joslyn +- Robert Kovacsics +- Robert Yang +- Ross Burton +- Rudolf J Streif +- Ryan Eatmon +- Sabeeh Khan +- Sakib Sajal +- Samantha Jalabert +- Siddharth Doshi +- simit.ghane +- Simone Weiß +- Soumya Sambu +- Sreejith Ravi +- Stefan Mueller-Klieser +- Sundeep KOKKONDA +- Sven Schwermer +- Teresa Remmet +- Theodore A. Roth +- Thomas Perrot +- Tim Orling +- Tom Hochstein +- Trevor Gamblin +- Troels Dalsgaard Hoffmeyer +- Tronje Krabbe +- Ulrich Ölmann +- Victor Kamensky +- Vijay Anusuri +- Vincent Kriek +- Vivek Puar +- Wadim Egorov +- Wang Mingyu +- Weisser, Pascal.ext +- Willy Tu +- Xiangyu Chen +- Yang-Mark Zhang +- Yash Shinde +- Yi Zhao +- Yoann Congal +- Yogita Urade +- Yuri D'Elia +- Zahir Hussain +- Zev Weiss +- Zoltan Boszormenyi + + Repositories / Downloads for Yocto-5.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From patchwork Wed Oct 9 07:41:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 50122 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 C5AB1CED63B for ; Wed, 9 Oct 2024 07:41:38 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mx.groups.io with SMTP id smtpd.web11.10724.1728459697453287966 for ; Wed, 09 Oct 2024 00:41:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MYoffGe8; spf=pass (domain: bootlin.com, ip: 217.70.183.201, mailfrom: antonin.godard@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id E5F951BF20E; Wed, 9 Oct 2024 07:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728459696; 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=P7SOMFDEoIWe1MtIT7jxs99dyDaoeAkKx4Ycpn/27nM=; b=MYoffGe8i7//MHPi+X1VVHE9OsjY6FahkpcPgbcNuWRBJ7VLzB7PNZrQkzq2yT2gl6Px1i aBmhWHpyy2W950dI8TZU06XC8RRivWRp3yQJYjzJMtuHWZsdOTDJBEbFIABFe2ZEIrgXDx FiTpOOE7qzDykvEMcd151wlPa7zRHpDqYmHf4sMV7Wd6vS+4ai4UGbxG1ccoliViYE4Lex y/ZDShbl5qpYr72dvW61besE1Lq+SdlK4oV597hutEJFh3pb76axp9hW/7/brdwv4Kh1Ql /MwKWlp/5L3FzmvyYoE1SU5T4uwPq4EYcRRm7meMsF+6rURhNWSKd/1WmMRdKg== From: antonin.godard@bootlin.com To: docs@lists.yoctoproject.org Cc: ross.burton@arm.com, paul.eggleton@microsoft.com, thomas.petazonni@bootlin.com, Antonin Godard Subject: [PATCH 16/16] release-notes-5.1: update release note for styhead Date: Wed, 9 Oct 2024 09:41:14 +0200 Message-ID: <20241009074120.866786-17-antonin.godard@bootlin.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241009074120.866786-1-antonin.godard@bootlin.com> References: <20241009074120.866786-1-antonin.godard@bootlin.com> MIME-Version: 1.0 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 ; Wed, 09 Oct 2024 07:41:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/5423 From: Antonin Godard Finalize the release note for the 5.1 release (styhead). Add enhancements, changes, removals, license changes, and migration notes for this release by going over the git commit log of openembedded-core, bitbake and meta-yocto. Signed-off-by: Antonin Godard --- .../migration-guides/migration-5.1.rst | 63 +- .../migration-guides/release-notes-5.1.rst | 829 ++++++++++++++++-- 2 files changed, 794 insertions(+), 98 deletions(-) -- 2.46.0 diff --git a/documentation/migration-guides/migration-5.1.rst b/documentation/migration-guides/migration-5.1.rst index 298ff3e25..8a6e04e22 100644 --- a/documentation/migration-guides/migration-5.1.rst +++ b/documentation/migration-guides/migration-5.1.rst @@ -86,8 +86,15 @@ Supported distributions Compared to the previous releases, running BitBake is supported on new GNU/Linux distributions: +- Ubuntu 24.10 +- Fedora 40 +- OpenSUSE Leap 15.5 +- OpenSUSE Leap 15.6 + On the other hand, some earlier distributions are no longer supported: +- Ubuntu 23.04 + See :ref:`all supported distributions `. .. _migration-5.1-go-changes: @@ -95,20 +102,35 @@ See :ref:`all supported distributions `. Go language changes ~~~~~~~~~~~~~~~~~~~ +- After dropping the custom :ref:`ref-tasks-unpack` from the + :ref:`ref-classes-go` class, go recipes should now add + ``destsuffix=${GO_SRCURI_DESTSUFFIX}`` to their :term:`SRC_URI` to extract + them in the appropriate path. An example would be:: + + SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" + +- Go modules are no longer compiled with ``--linkmode=external``. + .. _migration-5.1-systemd-changes: systemd changes ~~~~~~~~~~~~~~~ +- New :term:`PACKAGECONFIG` value ``bpf-framework`` used to pre-compile eBPFs + that are required for the systemd.resource-control features + ``RestrictFileSystems`` and ``RestrictNetworkInterfaces``. + .. _migration-5.1-recipe-changes: Recipe changes ~~~~~~~~~~~~~~ -.. _migration-5.1-deprecated-variables: +- ``gobject-introspection``: the ``giscanner`` utility is now shipped as a + separate package in ``gobject-introspection-tools``. + +- ``perf`` no longer uses ``libnewt`` for compiling its TUI. -Deprecated variables -~~~~~~~~~~~~~~~~~~~~ +- ``openssl``: do not build the test suite unless ptests are enabled. .. _migration-5.1-removed-variables: @@ -117,6 +139,9 @@ Removed variables The following variables have been removed: +- ``TCLIBCAPPEND`` is now removed as sharing :term:`TMPDIR` for multiple libc + providers has been supported for years. + .. _migration-5.1-removed-recipes: Removed recipes @@ -124,19 +149,35 @@ Removed recipes The following recipes have been removed in this release: +- ``liba52``: superseded by ``ffmpeg`` +- ``libomxil``: recipe removed as its only consumer, the gstreamer omx plugin, + was removed and has not been developed for several years +- ``libnewt``: moved to meta-oe +- ``mpeg2dec``: inactive for 10 years and superseded by ``ffmpeg`` +- ``pytest-runner``: moved to meta-python +- ``python3-importlib-metadata``: moved to meta-python +- ``python3-pathlib2``: moved to meta-python +- ``python3-py``: moved to meta-python +- ``python3-rfc3986-validator``: moved to meta-python +- ``python3-toml``: moved to meta-python +- ``python3-tomli``: moved to meta-python +- ``usbinit``: recipe was poorly named as it is a gadget ethernet driver. + Gadget ethernet is of questionable use now and usbinit isn't referenced/used + anywhere within OE-Core. + + .. _migration-5.1-removed-classes: Removed classes ~~~~~~~~~~~~~~~ -No classes have been removed in this release. +The following classes have been removed in this release: -.. _migration-5.1-qemu-changes: +- ``siteconfig``: removed as it was only used by ``ncurses`` and ``zlib`` and + adding minimal added-value for a considerable amount of added runtime. -QEMU changes -~~~~~~~~~~~~ -.. _migration-5.1-misc-changes: +.. _migration-5.1-qemu-changes: Miscellaneous changes ~~~~~~~~~~~~~~~~~~~~~ @@ -155,3 +196,9 @@ Miscellaneous changes Environment variables containing relative paths from tested build directory to outside of the original build directory may need to be updated as they won't be changed by `oe-selftest`. + +- Several sanity checks from the :ref:`ref-classes-insane` class, such as + ``buildpaths``, have been promoted to errors instead of warnings. + +- The ``license-incompatible`` :term:`ERROR_QA` sanity check was renamed to + ``license-exception``. diff --git a/documentation/migration-guides/release-notes-5.1.rst b/documentation/migration-guides/release-notes-5.1.rst index 211f92553..62aa88f2e 100644 --- a/documentation/migration-guides/release-notes-5.1.rst +++ b/documentation/migration-guides/release-notes-5.1.rst @@ -6,109 +6,270 @@ Release notes for 5.1 (styhead) New Features / Enhancements in 5.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Linux kernel 6.X, gcc 14.X, glibc 2.X, LLVM 18.X, and over XXX other recipe upgrades +- Linux kernel 6.10, gcc 14.2, glibc 2.40, LLVM 18.1.18, and over 300 other + recipe upgrades. - New variables: - - :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX`: suffix for the CVE JSON manifest file. + - :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX`: suffix for the CVE JSON manifest file. - - :term:`PRSERVER_UPSTREAM`: Upstream PR service (host:port). + - :term:`PRSERVER_UPSTREAM`: Upstream PR service (``host:port``) for the + local PR server to connect to. - - :term:`RECIPE_UPGRADE_EXTRA_TASKS`: space-delimited list of tasks to run after the new - sources have been unpacked in scripts/lib/devtool/upgrade.py ugrade() method. + - :term:`RECIPE_UPGRADE_EXTRA_TASKS`: space-delimited list of tasks to run + after the new sources have been unpacked in + ``scripts/lib/devtool/upgrade.py`` upgrade() method. - - :term:`UNPACKDIR`: allow change of do_unpack directory. + - :term:`UNPACKDIR`: allow change of the :ref:`ref-tasks-unpack` task + directory. -- Architecture-specific enhancements: +- Kernel-related changes: -- Kernel-related enhancements: - - - The default kernel is the current stable (6.10), and there is also support - for the latest long-term release (6.6). + - The default kernel is the current stable (6.10), and there is also support + for the latest long-term release (6.6). - New core recipes: - - `fmt `__: an open-source formatting library for C++. (from meta-oe) + - `fmt `__: an open-source formatting library for C++ + (imported from meta-oe). + + - `xcb-util-errors `__: gives human + readable names to error codes and event codes + +- QEMU / ``runqemu`` changes: + + - runqemu: ``QB_DRIVE_TYPE`` now support for sd card (``/dev/mmcblk``) + + - Trigger ``write_qemuboot_conf`` task on changes of kernel image realpath + (:term:`KERNEL_IMAGE_NAME`). + +- Go changes: + + - New go module fetcher (``gomod://``) for downloading module dependencies + to the module cache from a module proxy. + + - New go module fetcher (``gomodgit://``) for downloading module + dependencies to the module cache directly from a git repository. + + - The old 1.4 Go bootstrap written in C has been dropped. The default + Go bootstrap provider is now ``go-binary-native`` only. + +- Rust changes: + + - Cargo dependencies specified as git repositories now also have their git + submodules checked out. + + - Rust is now built with its default set of tools instead of just + ``rust-demangler``. + +- wic Image Creator changes: + + - Add the ``truncate`` utility in :term:`HOSTTOOLS`, needed by some wic + commands. + + - The ``get_boot_files`` function is no longer part of the + ``bootimg-partition`` plugin and is part of the common ``bootfiles.py`` + library. + +- SDK-related changes: + + - Included ``nativesdk-python3-pip`` in :term:`buildtools` by default. + + - :ref:`ref-classes-nativesdk` now have :ref:`ref-tasks-package_qa` run when + calling :ref:`ref-tasks-populate_sdk`. + + - A new 7zip archive type can be used to create the SDK by setting + :term:`SDK_ARCHIVE_TYPE` to ``7zip``. + + - The :ref:`ref-classes-toolchain-scripts` class now exports the target + endianness and wordsize in environment variables ``OECORE_TARGET_BITS`` + and ``OECORE_TARGET_ENDIAN``. + +- Testing-related changes: + + - oeqa/selftest: Only rewrite envvars paths that absolutely point to + :term:`BUILDDIR`. - - `xcb-util-errors `__: gives human readable - names to error codes and event codes + - oeqa/manual: remove obsolete CROPS and Eclipse manually testing scripts -- QEMU / ``runqemu`` enhancements: + - Enable ptests for ``python3-cffi``, ``python3-idna``, + ``python3-libarchive-c``, ``python3-mako``, ``python3-packaging``, + ``python3-uritools`` and ``python3-rpds-py``. - - runqemu: :term:`QB_DRIVE_TYPE` now support for sd card (/dev/mmcblk) + - Running tests on target with :ref:`ref-classes-testimage` can now be done + over a serial connection. -- Rust improvements: + - Artifact collection when using the :ref:`ref-classes-testimage` class is + now optional and allowed by making :term:`TESTIMAGE_FAILED_QA_ARTIFACTS` + empty. -- SDK-related improvements: + - Artifacts from ``oeqa`` post-actions are now retrieved as whole archives + instead of individual copies. The archive is left uncompressed on the + host. - - included ``nativesdk-python3-pip`` in buildtools. + - A test for the ``minidebuginfo`` feature of :term:`DISTRO_FEATURES` is now + part of the test suite. -- Testing: + - A test for building a kernel module was added to the SDK test suite. - - oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir + - oeqa/selftest: run test serially if neither the ``testtools`` or + ``subunit`` python modules have been found. - - Enable ptests for ``python3-cffi``, ``python3-idna``, ``python3-libarchive-c``, - ``python3-mako``, ``python3-packaging``, ``python3-uritools`` and ``python3-rpds-py``. + - Artifact collection and test result collection are now separated and + artifact collection can be controlled with the ``OEQA_ARTEFACT_DIR`` + variable. - Utility script changes: - - New ``cve-json-to-text`` script that converts the cve-check result from the JSON format - to the TEXT format as cve-check removed text format. + - New ``cve-json-to-text`` script that converts the cve-check result from + the JSON format to the TEXT format as cve-check removed text format. - New ``makefile-getvar`` script to extract value from a Makefile. - - New ``pull-spdx-licenses`` script to pull SPDX license data, update license list JSON - data and update license directory. + - New ``pull-spdx-licenses`` script to pull SPDX license data, update + license list JSON data and update license directory. - Several improvements in ``oe-build-perf-report`` report. - - ``oe-debuginfod`` add parameter "-d" to store debuginfod files in project sub-directory. + - ``oe-debuginfod`` add parameter "-d" to store debuginfod files in project + sub-directory. - ``resulttool`` support test report generation in JUnit XML format. + - Remove ``install-buildtools`` "test installation" step harmless error + messages. -- BitBake improvements: + - ``bitbake-layers``: add a new subcommand ``show-machines`` to list the + machines available in the currently configured layers. - - New go module fetcher (``gomod://``) for downloading module dependencies to the - module cache from a module proxy. +- BitBake changes: - - New go module fetcher (``gomodgit://``) for downloading module dependencies to the - module cache directly from a git repository. + - Fetcher for rust crates: added a check for latest upstream version. - - Fetcher for rust crate: added check for latest upstream version. + - ``syncrpc`` now requires a minimum version of the websockets module depend + on python version. - - Syncrpc now requires a minimum version of the websockets module depend on python version. + - Improve ``bitbake-hashclient`` stress statistics reporting. - - Improved bitbake-hashclient stress statistics reporting. + - ``bitbake-hashserv`` added ``reuseport`` parameter to enable SO_REUSEPORT, + allowing multiple servers to bind to the same port for load balancing - - bitbake-hashserv added ``reuseport`` parameter to enable SO_REUSEPORT, allowing - multiple servers to bind to the same port for load balancing + - Improve cloning speed with :term:`BB_GIT_SHALLOW` and + :term:`BB_GENERATE_MIRROR_TARBALLS`. - - improved cloning speed with :term:`BB_GIT_SHALLOW` and :term:`BB_GENERATE_MIRROR_TARBALLS`. + - `BitBake` UI now includes log paths for failed task. - - bitbake UI now include log paths for failed task. + - ``fetcher2``: support for wget and wget2. - - fetcher2 support for wget and wget2. + - ``fetcher2``: support npm package name with '@' character. - - fetcher2 support npm package name with '@' character. + - ``fetcher2``: remote name for ``git://`` is now ``origin`` by default. - Codeparser now support shell substitution in quotes, for example:: var1="$(cmd1 ...)" -- devtool improvements: + - Function code of pylib functions are now taken into account when computing + taskhashes. - - Fix ``_test_devtool_add_git_url`` test + - Fix ``_test_devtool_add_git_url`` test -- recipetool improvements: + - Hashserv: add a batch stream API that reduces the round trip latency on the + server. + + - The :ref:`ref-classes-prserv` class now uses a shared sqlite3 database to + allow multiple processes to access the database. + + - The python codeparser now skips the checksumming of external python + modules imported with ``from module import something``. + + - Enable batching of ``unihash`` queries to reduce the effect of latency + when making multiple queries to the server. + + - Parser: improve cache invalidation reliability by using the mtime's + nanoseconds, inode number and size of files. + + - When using the syntax ``addtask do_XXX before YYY after ZZZ``, bitbake now + ensures that ``YYY`` and ``ZZZ`` are prefixed with ``do_``, to avoid + unexpected failures. + +- ``devtool`` changes: + + - Fix ``_test_devtool_add_git_url`` test + + - ``update-recipe``, ``finish``: fix error when calling on another layer and + having a localfile. + + - ``devtool check-upgrade-status`` now groups recipes when they need to be + upgraded together. - Packaging changes: -- Security improvements: + - When processing ``pkgconfig``'s ``pc`` files, also process + "Requires.private" in addition to "Requires". This fixes a broken + dependency list for IPKs and avoids installing unecessary recommended + additional packages (and save disk usage). + + - Package management: make the extraction of IPK packages not depend on + ``zst`` compression, as it can be changed with :term:`OPKGBUILDCMD`. + + - Remove support for ``DIRFILES`` of :ref:`ref-classes-package_rpm` as it is + rpm-specific and untested. + + - Bump ``abi_version`` and ``package`` versions after recent ``pkgconfig`` + changes. + +- Security changes: + + - The ``busybox`` default configuration now disables internal TLS code to + use the ``openssl`` backend instead, for a more secure initial set of + settings. + + - Limit ssh host keys pre-generation to qemu machines by default, for + security purposes. + +- LLVM related changes: + + - Enable ``libllvm`` in :term:`PACKAGECONFIG` for native builds. + + - Fetch release tarballs instead of git checkouts to reduce disk usage. + +- :ref:`ref-classes-cve-check` changes: + + - The class :ref:`ref-classes-cve-check` now uses a local copy of the NVD + database during builds. + + - New statuses can be reported by :ref:`ref-classes-cve-check`: + + - ``fix-file-included``: when a fix file has been included (set automatically) + - ``version-not-in-range``: version number NOT in the vulnerable range (set automatically) + - ``version-in-range``: version number IS in the vulnerable range (set automatically) + - ``unknown``: impossible to conclude if the vulnerability is present or not -- Toaster Web UI improvements: + - The TEXT output format was removed to favor the JSON format which offers + more features. -- Prominent documentation updates: + - Allow overriding the default "policies" from + ``meta/conf/cve-check-map.conf`` by including it before distro include + files in ``meta/conf/bitbake.conf``. + +SPDX-related changes: + + - Update the SPDX license set too version 3.24.0, and produce SPDX output in + version 3.0 by default, instead of 2.2. + + - New ``create-spdx-3.0`` class to generate SPDX 3.0 output (used by generic + class :ref:`ref-classes-create-spdx`). New ``create-spdx-image-3.0`` + class that is used when generating images and ``create-spdx-sdk-3.0`` for sdk + based recipes. + + - New :ref:`ref-classes-nospdx` class that allows recipes to opt out of + generating SPDX. + + - Specify the SPDX image purposes for ``tar``, ``cpio`` and ``wic`` images. + + - The :ref:`ref-classes-create-spdx` class now reports for + :ref:`ref-classes-multilib*` classes. - Miscellaneous changes: @@ -116,80 +277,568 @@ New Features / Enhancements in 5.1 - Allow selection of host key types used by openssh. - - New glibc task do_symlist to list exported symbols. + - New glibc task ``do_symlist`` to list exported symbols. - - initramfs-framework support for force reboot in the case of fatal error. + - ``initramfs-framework`` support for force reboot in the case of fatal error. - - insane class now check for patch-status and pep517-backend by default. + - The :ref:`ref-classes-insane` class now checks for ``patch-status`` and + ``pep517-backend`` by default. - New ``yocto-space-optimize`` include file to allow turning off debug compiler options for a small set of recipes to reduce build on disk footprint and package/sstate sizes. - - Update to SPDX license version 3.24.0 - - - New :ref:`create-spdx-3.0` class to generate SPDX 3.0 output, :ref:`create-spdx-image-3.0` - class that is used when generating images and :ref:`create-spdx-sdk-3.0` for sdk - based recipes. + - Image creation tasks inheriting from the :ref:`ref-classes-image` class + now produce a ``manifest.json`` file listing the images created. The + output manifest path is defined by the :term:`IMAGE_OUTPUT_MANIFEST` + variable. - - New :ref:`nospdx` class that allows recipes to opt out of generating SPDX. - - - New :ref:`Vex` class generates the minimum information that is necessary + - New :ref:`ref-classes-vex` class generates the minimum information that is necessary for VEX generation by an external CVE checking tool. - - New :ref:`retain` class creates a tarball of the work directory for a recipe + - New :ref:`ref-classes-retain` class creates a tarball of the work directory for a recipe when one of its tasks fails, or any other nominated directories. - - New :ref:`localpkgfeed` class in meta-selftest to create a subset of the + - New ``localpkgfeed`` class in meta-selftest to create a subset of the package feed that just contain the packages depended on by this recipe. - New :term:`PACKAGECONFIG` options for individual recipes: - - appstream: qt6 - - cronie: inotify - - gstreamer1.0-plugins-bad: gtk3 - - libsdl2: libsamplerate - - mesa: tegra - - openssh: hostkey-rsa hostkey-ecdsa hostkey-ed25519 - - pciutils: kmod zlib - - piglit: wayland - - pulseaudio: oss-output - - python3: staticlibpython - - python3-jsonschema: format-nongpl (previously "nongpl") - - systemd: bpf-framework - - util-linux: libmount-mountfd-support - - - Stop referring :term:`WORKDIR` for :term:`S` and :term:`B`: trigger - :ref:`ref-classes-insane` errors when :term:`S` or :term:`B` are equal to - :term:`WORKDIR`. + - ``appstream``: qt6 + - ``cronie``: inotify + - ``gstreamer1``.0-plugins-bad: gtk3 + - ``libsdl2``: libsamplerate + - ``mesa``: tegra + - ``openssh``: hostkey-rsa hostkey-ecdsa hostkey-ed25519 + - ``pciutils``: kmod zlib + - ``piglit``: wayland + - ``pulseaudio``: oss-output + - ``python3``: staticlibpython + - ``python3-jsonschema``: format-nongpl (previously "nongpl") + - ``systemd``: bpf-framework + - ``util-linux``: libmount-mountfd-support + + - Stop referring :term:`WORKDIR` for :term:`S` and :term:`B` and trigger + :ref:`ref-classes-insane` errors when :term:`S` or :term:`B` are equal to + :term:`WORKDIR`. + + - ``picolibc`` can now be used with :term:`TCLIBC` to build with + ``picolibc`` as the C library. + + - ``openssh`` now uses ``sd_notify`` patch from upstream instead of custom + one, which does not depend on libsystemd and is standalone. + + - ``cmake`` now uses the ``${COREBASE}/scripts/git`` wrapper instead of the + host's, which is required during :ref:`ref-tasks-install` to call git + while disabling fakeroot, and avoid "dubious ownership" git errors. + + - Default compiler option changes: + + - :term:`BUILD_CFLAGS` now includes the `-pipe` option by default. + + - Remove the ``eliminate-unused-debug-types`` option from + the default compiler options since it is now included by default. + + - ``uninative`` updated to 4.6 for glibc 2.40 + + - Mark recipe ``meta-ide-support`` as machine specific with + :term:`PACKAGE_ARCH`. + + - sstate: Drop intercept functions support which was only used by now + removed ``siteconfig`` class. + + - sstate: Drop support for ``SSTATEPOSTINSTFUNC`` variable now that + ``postfunc`` is available. + + - openssl: strip the test suite after building, reducing the build tree of + 50% after installation. + + - u-boot: Refactor some of the :ref:`ref-tasks-configure` tasks into new + functions, making it easier to modify using a bbappend. + + - The ``musl`` recipe now shows an error if used with + :ref:`ref-classes-multilib*` enabled (``musl`` does not support multilib). + + - The ``git`` recipe is now configured with default configuration pointing to + ``/etc/gitconfig`` for :ref:`ref-classes-native` recipes. + + - The ``apt-native`` recipe, used to compile ``dpkg`` and handle ``deb`` + packages, was modified to avoid files being overriden by other packages when + they share common files. Instead, prompt an error. + + - The :ref:`ref-tasks-savedefconfig` was moved from the u-boot and kernel + recipes to the :ref:`ref-classes-cml1` class, so that more kbuild-based + recipes can use it. + + - The :ref:`ref-classes-sanity` class now checks if user namespaces are + enabled on the host as they are required for network isolation. + + - The recipe ``os-release`` is now part of + :term:`SIGGEN_EXCLUDERECIPES_ABISAFE` and does not trigger a rebuild on a + change for dependent tasks. + + - In :ref:`ref-classes-kernel-fitimage`, the existence of + :term:`EXTERNAL_KERNEL_DEVICETREE` is checked more thoroughly to avoid + false positives. + + - rootfs: ensure ``run-postinsts`` is not uninstalled when the + *read-only-rootfs-delayed-postinsts* and *read-only-rootfs* + :term:`IMAGE_FEATURES` are enabled. + + - Gcc can now use ``libc++`` as its runtime. + + - The variable ``CMDLINE_CONSOLE`` was removed from the + :ref:`ref-classes-kernel` class, as it wasn't used anywhere. + + - ``python3``: make ``-core`` depend on ``-compression`` as it needs to + import the ``zipfile`` module. + + - The classes :ref:`ref-classes-native` and :ref:`ref-classes-nativesdk` do + not override the ``*FLAGS`` variables anymore, allowing users to use the + ``+=`` syntax in recipes. + + - The ``multilib_script`` class (part of :ref:`ref-classes-multilib*`) + now expands the ``MULTILIB_SCRIPTS`` variable before splitting the + scripts, fixing some issues seen when :term:`PACKAGECONFIG` would + conditionally modify it. Known Issues in 5.1 ~~~~~~~~~~~~~~~~~~~ +- Rust related issues: + + - Rust builds are not fully reproducible (only ``rust-dbg`` and + ``rust-rustdoc`` are not). + + - There are some remaining rust selftest failures that need to be fixed, due + to the way it is being built. + + Recipe License changes in 5.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following corrections have been made to the :term:`LICENSE` values set by recipes: -- ``dejagnu``: update :term:`LICENSE` to ``GPL-3.0-only``. -- ``gcr``: update :term:`LICENSE` to ``LGPL-2.0-only``. -- ``glibc``: update :term:`LICENSE` to ``GPL-2.0-only & LGPL-2.1-or-later``. -- ``gpgme``: update :term:`LICENSE` for different packages. -- ``libgcrypt``: add license ``BSD-3-Clause``. -- ``linux-firmware``: separate license ``Firmware-linaro`` for linaro-license package. -- ``iw``: update :term:`LICENSE` to ``ISC``. +- ``ccache``: ``GPL-3.0-or-later`` to ``GPL-3.0-or-later & MIT & BSL-1.0 & ISC`` after adding third-party licenses. +- ``dejagnu``: update to ``GPL-3.0-only``. +- ``gcr``: update to ``LGPL-2.0-only``. +- ``glibc``: update to ``GPL-2.0-only & LGPL-2.1-or-later``. +- ``gpgme``: update for different packages. +- ``iw``: update to ``ISC``. +- ``json-glib``: ``LGPL-2.1-only`` to ``LGPL-2.1-or-later`` after update to 1.10.0. +- ``libgcrypt``: ``GPL-2.0-or-later & LGPL-2.1-or-later`` to ``GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause``. Add BSD-3-Clause for poly1305-amd64-avx512.S. +- ``linux-firmware``: set package :term:`LICENSE` for following firmware packages: + - ``cc33xx`` + - ``ath10k-wcn3990`` + - ``qcom-adreno-g750`` + - ``qcom-x1e80100-adreno`` + - ``wfx`` + - ``qcom-vpu`` + - ``qcom-sm8550-audio-tplg`` + - ``qcom-sm8650-audio-tplg`` + - ``linaro-license`` + - ``mali-csffw-arch108`` +- ``lz4``: ``BSD-2-Clause | GPL-2.0-only`` to ``BSD-2-Clause | GPL-2.0-or-later`` after update to 1.10.0. - ``ppp``: add license ``RSA-MD`` . -- ``tiff``: update :term:`LICENSE` to ``libtiff``. -- ``unzip``: update :term:`LICENSE` to ``Info-ZIP``. -- ``xz``: add :term:`LICENSE` ``PD`` for xz, xz-dev and xz-doc package. -- ``zip``: update :term:`LICENSE` to ``Info-ZIP``. - +- ``python3-docutils``: ``PSF-2.0 & BSD-2-Clause & GPL-3.0-only`` to ``CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only``. Add CC0 after update to 0.21.2. +- ``tiff``: update to ``libtiff``. +- ``unzip``: update to ``Info-ZIP``. +- ``util-linux``: Add ``GPL-2.0-only`` after update to 2.40.1 (``GPL-2.0`` changed to ``GPL-2.0-only`` in README.licensing). +- ``xz``: ``PD`` removed and ``0BSD`` added after update to 5.6.2. +- ``xz``: add ``PD`` for xz, xz-dev and xz-doc package. +- ``zip``: update to ``Info-ZIP``. Security Fixes in 5.1 ~~~~~~~~~~~~~~~~~~~~~ +- ``apr``: :cve:`2023-49582` +- ``busybox``: :cve:`2021-42380`, :cve:`2023-42363`, :cve:`2023-42364`, :cve:`2023-42365`, :cve:`2023-42366` +- ``cups``: :cve:`2024-35235` +- ``curl``: :cve:`2024-6197`, :cve:`2024-6874`, :cve:`2024-7264` +- ``expat``: :cve:`2024-45490`, :cve:`2024-45491`, :cve:`2024-45492`. +- ``gcc``: :cve:`2023-4039` +- ``gdk-pixbuf``: :cve:`2022-48622` +- ``ghostscript``: :cve:`2024-33869`, :cve:`2023-52722`, :cve:`2024-33870`, :cve:`2024-33871`, :cve:`2024-29510` +- ``git``: :cve:`2024-32002`, :cve:`2024-32004`, :cve:`2024-32020`, :cve:`2024-32021`, :cve:`2024-32465` +- ``glibc``: :cve:`2024-2961`, :cve:`2024-33599`, :cve:`2024-33600`, :cve:`2024-33601`, :cve:`2024-33602` +- ``go``: :cve:`2024-24790` +- ``gtk+3``: :cve:`2024-6655` +- ``linux-yocto/6.10``: :cve:`2020-16119` +- ``linux-yocto/6.6``: :cve:`2020-16119` +- ``llvm``: :cve:`2024-0151` +- ``ncurses``: :cve:`2023-50495`, :cve:`2023-45918` +- ``openssh``: :cve:`2024-6387` +- ``openssl``: :cve:`2024-4603`, :cve:`2024-4741` +- ``ovmf``: :cve:`2023-45236`, :cve:`2023-45237`, :cve:`2024-25742` +- ``python3``: :cve:`2024-7592`, :cve:`2024-8088`, :cve:`2024-6232` +- ``ruby``: :cve:`2024-27282`, :cve:`2024-27281`, :cve:`2024-27280` +- ``tiff``: :cve:`2024-7006` +- ``vim``: :cve:`2024-41957`, :cve:`2024-41965`, :cve:`2024-43374`, :cve:`2024-43790`, :cve:`2024-43802` +- ``wget``: :cve:`2024-38428` +- ``wpa-supplicant``: :cve:`2024-5290`, :cve:`2023-52160` +- ``xserver-xorg``: :cve:`2024-31080`, :cve:`2024-31081`, :cve:`2024-31082`, :cve:`2024-31083` + Recipe Upgrades in 5.1 ~~~~~~~~~~~~~~~~~~~~~~ +- ``acpica`` 20240322 -> 20240827 +- ``adwaita-icon-theme`` 45.0 -> 46.2 +- ``alsa-lib`` 1.2.11 -> 1.2.12 +- ``alsa-plugins`` 1.2.7.1 -> 1.2.12 +- ``alsa-ucm-conf`` 1.2.11 -> 1.2.12 +- ``alsa-utils`` 1.2.11 -> 1.2.12 +- ``asciidoc`` 10.2.0 -> 10.2.1 +- ``at-spi2-core`` 2.50.1 -> 2.52.0 +- ``attr`` 2.5.1 -> 2.5.2 +- ``automake`` 1.16.5 -> 1.17 +- ``base-passwd`` 3.6.3 -> 3.6.4 +- ``bash`` 5.2.21 -> 5.2.32 +- ``bash-completion`` 2.12.0 -> 2.14.0 +- ``bind`` 9.18.28 -> 9.20.1 +- ``binutils`` 2.42 -> 2.43.1 +- ``binutils-cross`` 2.42 -> 2.43.1 +- ``binutils-cross-canadian`` 2.42 -> 2.43.1 +- ``binutils-crosssdk`` 2.42 -> 2.43.1 +- ``bluez5`` 5.72 -> 5.78 +- ``boost`` 1.84.0 -> 1.86.0 +- ``boost-build-native`` 1.84.0 -> 1.86.0 +- ``btrfs-tools`` 6.7.1 -> 6.10.1 +- ``build-appliance-image`` 15.0.0 (bf88a67b4523…) -> 15.0.0 (7cc8bf7af794…) +- ``ca-certificates`` 20211016 -> 20240203 +- ``cairo`` 1.18.0 -> 1.18.2 +- ``cargo`` 1.75.0 -> 1.79.0 +- ``cargo-c-native`` 0.9.30+cargo-0.77.0 -> 0.10.3+cargo-0.81.0 +- ``ccache`` 4.9.1 -> 4.10.2 +- ``cmake`` 3.28.3 -> 3.30.2 +- ``cmake-native`` 3.28.3 -> 3.30.2 +- ``connman`` 1.42 -> 1.43 +- ``coreutils`` 9.4 -> 9.5 +- ``cracklib`` 2.9.11 -> 2.10.2 +- ``createrepo-c`` 1.0.4 -> 1.1.4 +- ``cross-localedef-native`` 2.39+git -> 2.40+git +- ``cryptodev-linux`` 1.13+gitX -> 1.14 +- ``cryptodev-module`` 1.13+gitX -> 1.14 +- ``cryptodev-tests`` 1.13+gitX -> 1.14 +- ``curl`` 8.7.1 -> 8.9.1 +- ``debianutils`` 5.16 -> 5.20 +- ``dhcpcd`` 10.0.6 -> 10.0.10 +- ``diffoscope`` 259 -> 277 +- ``dmidecode`` 3.5 -> 3.6 +- ``dnf`` 4.19.0 -> 4.21.1 +- ``dpkg`` 1.22.0 -> 1.22.11 +- ``dropbear`` 2022.83 -> 2024.85 +- ``e2fsprogs`` 1.47.0 -> 1.47.1 +- ``ell`` 0.64 -> 0.68 +- ``enchant2`` 2.6.7 -> 2.8.2 +- ``encodings`` 1.0.7 -> 1.1.0 +- ``epiphany`` 46.0 -> 46.3 +- ``erofs-utils`` 1.7.1 -> 1.8.1 +- ``ethtool`` 6.7 -> 6.10 +- ``ffmpeg`` 6.1.1 -> 7.0.2 +- ``findutils`` 4.9.0 -> 4.10.0 +- ``freetype`` 2.13.2 -> 2.13.3 +- ``fribidi`` 1.0.14 -> 1.0.15 +- ``gcc`` 13.3.0 -> 14.2.0 +- ``gcc-cross`` 13.3.0 -> 14.2.0 +- ``gcc-cross-canadian`` 13.3.0 -> 14.2.0 +- ``gcc-crosssdk`` 13.3.0 -> 14.2.0 +- ``gcc-runtime`` 13.3.0 -> 14.2.0 +- ``gcc-sanitizers`` 13.3.0 -> 14.2.0 +- ``gcc-source`` 13.3.0 -> 14.2.0 +- ``gcr`` 4.2.1 -> 4.3.0 +- ``gdb`` 14.2 -> 15.1 +- ``gdb-cross`` 14.2 -> 15.1 +- ``gdb-cross-canadian`` 14.2 -> 15.1 +- ``gdbm`` 1.23 -> 1.24 +- ``gi-docgen`` 2023.3 -> 2024.1 +- ``git`` 2.44.1 -> 2.46.0 +- ``glib-2.0`` 2.78.6 -> 2.82.1 +- ``glib-networking`` 2.78.1 -> 2.80.0 +- ``glibc`` 2.39+git -> 2.40+git +- ``glibc-locale`` 2.39+git -> 2.40+git +- ``glibc-mtrace`` 2.39+git -> 2.40+git +- ``glibc-scripts`` 2.39+git -> 2.40+git +- ``glibc-testsuite`` 2.39+git -> 2.40+git +- ``glibc-y2038-tests`` 2.39+git -> 2.40+git +- ``glslang`` 1.3.275.0 -> 1.3.290.0 +- ``gnu-config`` 20240101+git -> 20240823+git +- ``gnu-efi`` 3.0.17 -> 3.0.18 +- ``gnupg`` 2.4.4 -> 2.5.0 +- ``gnutls`` 3.8.4 -> 3.8.6 +- ``go-helloworld`` 0.1 (d9923f6970e9…) -> 0.1 (39e772fc2670…) +- ``gobject-introspection`` 1.78.1 -> 1.80.1 +- ``gptfdisk`` 1.0.9 -> 1.0.10 +- ``gsettings-desktop-schemas`` 46.0 -> 47.1 +- ``gst-devtools`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-libav`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-plugins-bad`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-plugins-base`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-plugins-good`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-plugins-ugly`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-python`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-rtsp-server`` 1.22.12 -> 1.24.6 +- ``gstreamer1.0-vaapi`` 1.22.12 -> 1.24.6 +- ``gtk+3`` 3.24.41 -> 3.24.43 +- ``gtk-doc`` 1.33.2 -> 1.34.0 +- ``gtk4`` 4.14.1 -> 4.16.0 +- ``harfbuzz`` 8.3.0 -> 9.0.0 +- ``hicolor-icon-theme`` 0.17 -> 0.18 +- ``hwlatdetect`` 2.6 -> 2.7 +- ``icu`` 74-2 -> 75-1 +- ``ifupdown`` 0.8.41 -> 0.8.43 +- ``iproute2`` 6.7.0 -> 6.10.0 +- ``iputils`` 20240117 -> 20240905 +- ``iw`` 6.7 -> 6.9 +- ``json-glib`` 1.8.0 -> 1.10.0 +- ``kea`` 2.4.1 -> 2.6.1 +- ``kexec-tools`` 2.0.28 -> 2.0.29 +- ``kmod`` 31 -> 33 +- ``kmscube`` 0.0.1+git (6ab022fdfcfe…) -> 0.0.1+git (467e86c5cbeb…) +- ``less`` 643 -> 661 +- ``libadwaita`` 1.5.2 -> 1.6.0 +- ``libassuan`` 2.5.6 -> 3.0.1 +- ``libbsd`` 0.12.1 -> 0.12.2 +- ``libcap`` 2.69 -> 2.70 +- ``libcomps`` 0.1.20 -> 0.1.21 +- ``libdnf`` 0.73.2 -> 0.73.3 +- ``libdrm`` 2.4.120 -> 2.4.123 +- ``libedit`` 20230828-3.1 -> 20240808-3.1 +- ``libevdev`` 1.13.1 -> 1.13.2 +- ``libfontenc`` 1.1.7 -> 1.1.8 +- ``libgcc`` 13.3.0 -> 14.2.0 +- ``libgcc-initial`` 13.3.0 -> 14.2.0 +- ``libgcrypt`` 1.10.3 -> 1.11.0 +- ``libgfortran`` 13.3.0 -> 14.2.0 +- ``libgit2`` 1.7.2 -> 1.8.1 +- ``libgpg-error`` 1.48 -> 1.50 +- ``libical`` 3.0.17 -> 3.0.18 +- ``libinput`` 1.25.0 -> 1.26.1 +- ``libjitterentropy`` 3.4.1 -> 3.5.0 +- ``libksba`` 1.6.6 -> 1.6.7 +- ``libnl`` 3.9.0 -> 3.10.0 +- ``libpam`` 1.5.3 -> 1.6.1 +- ``libpcap`` 1.10.4 -> 1.10.5 +- ``libpciaccess`` 0.18 -> 0.18.1 +- ``libpcre2`` 10.43 -> 10.44 +- ``libpng`` 1.6.42 -> 1.6.43 +- ``libportal`` 0.7.1 -> 0.8.1 +- ``libproxy`` 0.5.4 -> 0.5.8 +- ``librepo`` 1.17.0 -> 1.18.1 +- ``librsvg`` 2.57.1 -> 2.58.2 +- ``libsdl2`` 2.30.1 -> 2.30.7 +- ``libslirp`` 4.7.0 -> 4.8.0 +- ``libsolv`` 0.7.28 -> 0.7.30 +- ``libsoup`` 3.4.4 -> 3.6.0 +- ``libstd-rs`` 1.75.0 -> 1.79.0 +- ``libtirpc`` 1.3.4 -> 1.3.5 +- ``libtool`` 2.4.7 -> 2.5.2 +- ``libtool-cross`` 2.4.7 -> 2.5.2 +- ``libtool-native`` 2.4.7 -> 2.5.2 +- ``libtraceevent`` 1.7.3 -> 1.8.3 +- ``liburcu`` 0.14.0 -> 0.14.1 +- ``liburi-perl`` 5.27 -> 5.28 +- ``libva`` 2.20.0 -> 2.22.0 +- ``libva-initial`` 2.20.0 -> 2.22.0 +- ``libva-utils`` 2.20.1 -> 2.22.0 +- ``libwebp`` 1.3.2 -> 1.4.0 +- ``libwpe`` 1.14.2 -> 1.16.0 +- ``libx11`` 1.8.9 -> 1.8.10 +- ``libxcb`` 1.16 -> 1.17.0 +- ``libxdmcp`` 1.1.4 -> 1.1.5 +- ``libxfont2`` 2.0.6 -> 2.0.7 +- ``libxkbcommon`` 1.6.0 -> 1.7.0 +- ``libxml2`` 2.12.8 -> 2.13.3 +- ``libxmlb`` 0.3.15 -> 0.3.19 +- ``libxmu`` 1.1.4 -> 1.2.1 +- ``libxslt`` 1.1.39 -> 1.1.42 +- ``libxtst`` 1.2.4 -> 1.2.5 +- ``lighttpd`` 1.4.74 -> 1.4.76 +- ``linux-firmware`` 20240312 -> 20240909 +- ``linux-libc-headers`` 6.6 -> 6.10 +- ``linux-yocto`` 6.6.35+git -> 6.6.50+git, 6.10.8+git +- ``linux-yocto-dev`` 6.9+git -> 6.11+git +- ``linux-yocto-rt`` 6.6.35+git -> 6.6.50+git, 6.10.8+git +- ``linux-yocto-tiny`` 6.6.35+git -> 6.6.50+git, 6.10.8+git +- ``llvm`` 18.1.6 -> 18.1.8 +- ``logrotate`` 3.21.0 -> 3.22.0 +- ``ltp`` 20240129 -> 20240524 +- ``lttng-modules`` 2.13.12 -> 2.13.14 +- ``lttng-tools`` 2.13.13 -> 2.13.14 +- ``lua`` 5.4.6 -> 5.4.7 +- ``lz4`` 1.9.4 -> 1.10.0 +- ``lzip`` 1.24 -> 1.24.1 +- ``man-db`` 2.12.0 -> 2.12.1 +- ``man-pages`` 6.06 -> 6.9.1 +- ``mc`` 4.8.31 -> 4.8.32 +- ``mdadm`` 4.2 -> 4.3 +- ``meson`` 1.3.1 -> 1.5.1 +- ``mkfontscale`` 1.2.2 -> 1.2.3 +- ``mmc-utils`` 0.1+git (b5ca140312d2…) -> 0.1+git (123fd8b2ac39…) +- ``mpg123`` 1.32.6 -> 1.32.7 +- ``msmtp`` 1.8.25 -> 1.8.26 +- ``mtd-utils`` 2.1.6 -> 2.2.0 +- ``mtdev`` 1.1.6 -> 1.1.7 +- ``mtools`` 4.0.43 -> 4.0.44 +- ``musl`` 1.2.4+git -> 1.2.5+git +- ``nativesdk-libtool`` 2.4.7 -> 2.5.2 +- ``ncurses`` 6.4 -> 6.5 +- ``nettle`` 3.9.1 -> 3.10 +- ``nfs-utils`` 2.6.4 -> 2.7.1 +- ``nghttp2`` 1.61.0 -> 1.63.0 +- ``ninja`` 1.11.1 -> 1.12.1 +- ``npth`` 1.6 -> 1.7 +- ``ofono`` 2.4 -> 2.10 +- ``opensbi`` 1.4 -> 1.5.1 +- ``openssh`` 9.6p1 -> 9.8p1 +- ``openssl`` 3.2.3 -> 3.3.1 +- ``opkg`` 0.6.3 -> 0.7.0 +- ``opkg-utils`` 0.6.3 -> 0.7.0 +- ``ovmf`` edk2-stable202402 -> edk2-stable202408 +- ``p11-kit`` 0.25.3 -> 0.25.5 +- ``pango`` 1.52.1 -> 1.54.0 +- ``pciutils`` 3.11.1 -> 3.13.0 +- ``perl`` 5.38.2 -> 5.40.0 +- ``perlcross`` 1.5.2 -> 1.6 +- ``piglit`` 1.0+gitr (22eaf6a91cfd…) -> 1.0+gitr (c11c9374c144…) +- ``pinentry`` 1.2.1 -> 1.3.1 +- ``pkgconf`` 2.1.1 -> 2.3.0 +- ``psmisc`` 23.6 -> 23.7 +- ``ptest-runner`` 2.4.4+git -> 2.4.5+git +- ``puzzles`` 0.0+git (80aac3104096…) -> 0.0+git (1c1899ee1c4e…) +- ``python3-alabaster`` 0.7.16 -> 1.0.0 +- ``python3-attrs`` 23.2.0 -> 24.2.0 +- ``python3-babel`` 2.14.0 -> 2.16.0 +- ``python3-bcrypt`` 4.1.2 -> 4.2.0 +- ``python3-beartype`` 0.17.2 -> 0.18.5 +- ``python3-build`` 1.1.1 -> 1.2.1 +- ``python3-certifi`` 2024.2.2 -> 2024.8.30 +- ``python3-cffi`` 1.16.0 -> 1.17.0 +- ``python3-cryptography`` 42.0.5 -> 42.0.8 +- ``python3-cryptography-vectors`` 42.0.5 -> 42.0.8 +- ``python3-cython`` 3.0.8 -> 3.0.11 +- ``python3-dbusmock`` 0.31.1 -> 0.32.1 +- ``python3-docutils`` 0.20.1 -> 0.21.2 +- ``python3-dtschema`` 2024.2 -> 2024.5 +- ``python3-git`` 3.1.42 -> 3.1.43 +- ``python3-hatchling`` 1.21.1 -> 1.25.0 +- ``python3-hypothesis`` 6.98.15 -> 6.111.2 +- ``python3-idna`` 3.7 -> 3.8 +- ``python3-jsonpointer`` 2.4 -> 3.0.0 +- ``python3-jsonschema`` 4.21.1 -> 4.23.0 +- ``python3-libarchive-c`` 5.0 -> 5.1 +- ``python3-license-expression`` 30.2.0 -> 30.3.1 +- ``python3-lxml`` 5.0.0 -> 5.3.0 +- ``python3-mako`` 1.3.2 -> 1.3.5 +- ``python3-markdown`` 3.5.2 -> 3.6 +- ``python3-maturin`` 1.4.0 -> 1.7.1 +- ``python3-meson-python`` 0.15.0 -> 0.16.0 +- ``python3-more-itertools`` 10.2.0 -> 10.4.0 +- ``python3-packaging`` 23.2 -> 24.1 +- ``python3-pbr`` 6.0.0 -> 6.1.0 +- ``python3-pip`` 24.0 -> 24.2 +- ``python3-pluggy`` 1.4.0 -> 1.5.0 +- ``python3-psutil`` 5.9.8 -> 6.0.0 +- ``python3-pyasn1`` 0.5.1 -> 0.6.0 +- ``python3-pycairo`` 1.26.0 -> 1.26.1 +- ``python3-pycparser`` 2.21 -> 2.22 +- ``python3-pyelftools`` 0.30 -> 0.31 +- ``python3-pygments`` 2.17.2 -> 2.18.0 +- ``python3-pygobject`` 3.46.0 -> 3.48.2 +- ``python3-pyopenssl`` 24.0.0 -> 24.2.1 +- ``python3-pyparsing`` 3.1.1 -> 3.1.4 +- ``python3-pyproject-metadata`` 0.7.1 -> 0.8.0 +- ``python3-pytest`` 8.0.2 -> 8.3.2 +- ``python3-pytest-subtests`` 0.11.0 -> 0.13.1 +- ``python3-pyyaml`` 6.0.1 -> 6.0.2 +- ``python3-referencing`` 0.33.0 -> 0.35.1 +- ``python3-requests`` 2.31.0 -> 2.32.3 +- ``python3-rpds-py`` 0.18.0 -> 0.20.0 +- ``python3-scons`` 4.6.0 -> 4.8.0 +- ``python3-setuptools`` 69.1.1 -> 72.1.0 +- ``python3-setuptools-rust`` 1.9.0 -> 1.10.1 +- ``python3-setuptools-scm`` 8.0.4 -> 8.1.0 +- ``python3-sphinx`` 7.2.6 -> 8.0.2 +- ``python3-sphinxcontrib-applehelp`` 1.0.8 -> 2.0.0 +- ``python3-sphinxcontrib-devhelp`` 1.0.6 -> 2.0.0 +- ``python3-sphinxcontrib-htmlhelp`` 2.0.5 -> 2.1.0 +- ``python3-sphinxcontrib-qthelp`` 1.0.7 -> 2.0.0 +- ``python3-sphinxcontrib-serializinghtml`` 1.1.10 -> 2.0.0 +- ``python3-testtools`` 2.7.1 -> 2.7.2 +- ``python3-trove-classifiers`` 2024.2.23 -> 2024.7.2 +- ``python3-typing-extensions`` 4.10.0 -> 4.12.2 +- ``python3-uritools`` 4.0.2 -> 4.0.3 +- ``python3-urllib3`` 2.2.1 -> 2.2.2 +- ``python3-webcolors`` 1.13 -> 24.8.0 +- ``python3-websockets`` 12.0 -> 13.0.1 +- ``python3-wheel`` 0.42.0 -> 0.44.0 +- ``python3-zipp`` 3.17.0 -> 3.20.1 +- ``qemu`` 8.2.3 -> 9.0.2 +- ``qemu-native`` 8.2.3 -> 9.0.2 +- ``qemu-system-native`` 8.2.3 -> 9.0.2 +- ``quilt`` 0.67 -> 0.68 +- ``quilt-native`` 0.67 -> 0.68 +- ``readline`` 8.2 -> 8.2.13 +- ``repo`` 2.42 -> 2.46 +- ``rng-tools`` 6.16 -> 6.17 +- ``rpcbind`` 1.2.6 -> 1.2.7 +- ``rsync`` 3.2.7 -> 3.3.0 +- ``rt-tests`` 2.6 -> 2.7 +- ``ruby`` 3.2.2 -> 3.3.4 +- ``rust`` 1.75.0 -> 1.79.0 +- ``rust-cross-canadian`` 1.75.0 -> 1.79.0 +- ``rust-llvm`` 1.75.0 -> 1.79.0 +- ``shaderc`` 2023.8 -> 2024.1 +- ``shadow`` 4.14.2 -> 4.16.0 +- ``spirv-headers`` 1.3.275.0 -> 1.3.290.0 +- ``spirv-tools`` 1.3.275.0 -> 1.3.290.0 +- ``sqlite3`` 3.45.1 -> 3.46.1 +- ``strace`` 6.7 -> 6.10 +- ``stress-ng`` 0.17.05 -> 0.18.02 +- ``sysklogd`` 2.5.2 -> 2.6.1 +- ``sysstat`` 12.7.5 -> 12.7.6 +- ``systemd`` 255.4 -> 256.5 +- ``systemd-boot`` 255.4 -> 256.5 +- ``systemd-boot-native`` 255.4 -> 256.5 +- ``systemtap`` 5.0 -> 5.1 +- ``systemtap-native`` 5.0 -> 5.1 +- ``taglib`` 2.0.1 -> 2.0.2 +- ``tcl`` 8.6.13 -> 8.6.14 +- ``texinfo`` 7.0.3 -> 7.1 +- ``ttyrun`` 2.31.0 -> 2.34.0 +- ``u-boot`` 2024.01 -> 2024.07 +- ``u-boot-tools`` 2024.01 -> 2024.07 +- ``util-linux`` 2.39.3 -> 2.40.2 +- ``util-linux-libuuid`` 2.39.3 -> 2.40.2 +- ``util-macros`` 1.20.0 -> 1.20.1 +- ``vala`` 0.56.15 -> 0.56.17 +- ``valgrind`` 3.22.0 -> 3.23.0 +- ``vte`` 0.74.2 -> 0.76.3 +- ``vulkan-headers`` 1.3.275.0 -> 1.3.290.0 +- ``vulkan-loader`` 1.3.275.0 -> 1.3.290.0 +- ``vulkan-samples`` git (2307c3eb5608…) -> git (fdce530c0295…) +- ``vulkan-tools`` 1.3.275.0 -> 1.3.290.0 +- ``vulkan-utility-libraries`` 1.3.275.0 -> 1.3.290.0 +- ``vulkan-validation-layers`` 1.3.275.0 -> 1.3.290.0 +- ``vulkan-volk`` 1.3.275.0 -> 1.3.290.0 +- ``waffle`` 1.7.2 -> 1.8.1 +- ``wayland`` 1.22.0 -> 1.23.1 +- ``wayland-protocols`` 1.33 -> 1.37 +- ``webkitgtk`` 2.44.1 -> 2.44.3 +- ``weston`` 13.0.1 -> 13.0.3 +- ``wget`` 1.21.4 -> 1.24.5 +- ``wpa-supplicant`` 2.10 -> 2.11 +- ``x264`` r3039+git (baee400fa9ce…) -> r3039+git (31e19f92f00c…) +- ``xauth`` 1.1.2 -> 1.1.3 +- ``xcb-proto`` 1.16.0 -> 1.17.0 +- ``xev`` 1.2.5 -> 1.2.6 +- ``xkeyboard-config`` 2.41 -> 2.42 +- ``xmlto`` 0.0.28+0.0.29+git -> 0.0.29 +- ``xorgproto`` 2023.2 -> 2024.1 +- ``xwayland`` 23.2.5 -> 24.1.2 +- ``xz`` 5.4.6 -> 5.6.2 +- ``zstd`` 1.5.5 -> 1.5.6 + + Contributors to 5.1 ~~~~~~~~~~~~~~~~~~~