Skip to contentSkip to conversation

Updates for styhead

PATCH Superseded [email protected] 3 participants 29 messages Oct 9, 2024 – Oct 10, 2024

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Updates for styhead

From: Antonin Godard <[email protected]>

This series of patch attempts to catch up and update the documentation for the following repositories:

* openembedded-core since b65b4e5a8e4473d8ca43835ba17bc8bd4bdca277
* bitbake since c86466d51e8ff14e57a734c1eec5bb651fdc73ef
* meta-yocto since 8f12ba9f7006d54e6f5259eb1c734e6116a2580b

Add the missing variables, classes, etc. to the reference manual. Remove dropped classes and variables.

Document it all in release-notes-5.1.rst and migration-5.1.rst.

Note: Chee Yang, I have amended your commit to fix some typos, and included it in this series.

The following list of commits (thanks Ross for creating it!) are included in the release note / migration guide (shas from poky):

- edba6889: cve-check: Introduce CVE_CHECK_MANIFEST_JSON_SUFFIX
- 00439863: cargo_common.bbclass: Support git repos with submodules
- 02420523: initramfs-framework: support force reboot if fatal error occurs
- 062c289e: install-buildtools: fix "test installation" step
- 0655e196: populate_sdk_base: Ensure nativesdk targets have do_package_qa run
- 0670ea7b: insane: add patch-status to default ERROR_QA
- 0731d490: cve_check: Use a local copy of the database during builds
- 07eb1bea: package.py: Add Requires.private field in process_pkgconfig
- 09b49a35: tclibc-picolibc: Adds a new TCLIBC variant to build with picolibc as C library
- 0a494c82: busybox: reconfigure wget https support by default for security
- 0c03d6ae: openssh: systemd notification was implemented upstream
- 0cc22f1c: linux-yocto: introduce 6.10 reference kernel
- 0d499317: bitbake: codeparser/data: Ensure module function contents changing is accounted for
- 0f8d29b6: bitbake.conf: Add truncate to HOSTTOOLS
- 148e0c87: liba52: remove the recipe
- 17038110: cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH
- 182e599d: systemd: add PACKAGECONFIG for bpf-framework
- 18e41945: devtool/upgrade: rename RECIPE_UPDATE_EXTRA_TASKS -> RECIPE_UPGRADE_EXTRA_TASKS
- 1c3439f8: python3-tomli: remove recipe (moved to meta-python)
- 1cf0974a: bitbake.conf: Further cleanup compiler optimization flags
- 1e613275: yocto-uninative: Update to 4.6 for glibc 2.40
- 26038959: classes-recipe/image_types: Add SPDX_IMAGE_PURPOSE to images
- 2700bde9: python3-pathlib2: remove recipe (moved to meta-python)
- 28516320: devtool: standard: update-recipe/finish: fix update localfile in another layer
- 292e1731: oeqa/postactions: do not uncompress retrieved archive on host
- 29c2cd4d: bitbake: hashserv: client: Add batch stream API
- 29debb80: ssh-pregen-hostkeys: Limit to qemu machines by default
- 2bf34e28: llvm: Enable libllvm for native build
- 2dded995: classes: add new retain class for retaining build results
- 2e9e8f6f: qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath
- 306337e0: oeqa/manual: remove obsolete CROPS and Eclipse manually testing scripts
- 313afc99: meta-ide-support: Mark recipe as MACHINE-specific
- 314a2202: oe-build-perf-report: Improve report styling and add descriptions
- 3220a20b: sstate: Drop intercept functions support
- 37de7a14: pytest-runner: remove recipe (moved to meta-python)
- 3859ff59: vex.bbclass: add a new class
- 3891414b: bitbake.conf: Drop obsolete debug compiler options
- 38cfb652: cve-json-to-text: add script
- 397870f8: llvm: Switch to using release tarballs
- 3d98aafc: recipeutils/get_recipe_upgrade_status: group recipes when they need to be upgraded together
- 3f69d525: rust: build the default set of tools
- 3f76c3d2: Switch default spdx version to 3.0
- 413f327b: testexport: support for executing tests over serial
- 41e59c53: selftest/classes: add localpkgfeed class
- 4574919d: scripts/makefile-getvar: add script to get values from Makefiles
- 45c7150b: openssl: strip the test suite
- 469c371e: u-boot.inc: Refactor do_* steps into functions that can be overridden
- 478f4465: bblayers/machines: add bitbake-layers command to list machines
- 498ebc9b: sstate: Drop SSTATEPOSTINSTFUNC support
- 4ca98d99: musl: Show error when used with multilibs
- 4cbce9cd: bitbake: prserv: add "upstream" server support
- 4e96673a: glibc: add task to list exported symbols
- 519eec77: linux-libc-headers: update to v6.10
- 5aeabd32: resulttool: Add support to create test report in JUnit XML format
- 5d535e9e: git: set --with-gitconfig=/etc/gitconfig for -native builds
- 5ef61d10: insane: Add error for B = WORKDIR
- 5f6fe371: apt-native: don't let dpkg overwrite files by default
- 64eb8c9c: cml1: add do_savedefconfig
- 64f5e2c8: python3-toml: remove recipe (moved to meta-python)
- 65757c9e: bitbake: prserv: enable database sharing
- 665fdc4e: testimage/postactions: Allow artifact collection to be skipped
- 686e477d: python3-py: remove recipe (moved to meta-python)
- 6b9eb4e9: siteconfig: Drop siteconfig class/code/support
- 6be592d2: bitbake: codeparser: Skip non-local functions for module dependencies
- 6d77296d: devtool: Drop oe-local-files and simplify
- 6dc57c91: libnewt: move to meta-oe
- 6e409b5d: setuptools3: check for a PEP517 build system selection
- 6e80b2ab: oeqa/utils/postactions: transfer whole archive over ssh instead of doing individual copies
- 6f19b541: gobject-introspection: split tools and giscanner into a separate package
- 7004840f: sanity: check for working user namespaces
- 7033add1: usbinit: Drop recipe
- 71c6db8e: recipes: Start WORKDIR -> UNPACKDIR transition
- 72dd8c0d: cve-check-map: add new statuses
- 763c6dab: pulseaudio: Add PACKAGECONFIG for optional OSS support
- 76a63bd0: bitbake: siggen: Enable batching of unihash queries
- 7ec8dcfc: layer.conf: Add os-release to SIGGEN_EXCLUDERECIPES_ABISAFE
- 812dafbe: base/bitbake.conf: Introduce UNPACKDIR
- 82d07928: devtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS
- 836b4b57: oe-build-perf-report: Add apache echarts to make report interactive
- 8426e027: classes/create-spdx-3.0: Add classes
- 87c29b5a: bitbake: fetch2: Add gomodgit fetcher
- 8e071ad4: go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
- 8ec959bb: classes-recipe/image: Add image file manifest
- 92d8c7c5: bitbake: parse: Improve/fix cache invalidation via mtime
- 9837ba61: kernel-fitimage: fix external dtb check
- 997b11a5: bitbake: build: Ensure addtask before/after tasknames have prefix applied
- 999bd954: go: Drop the linkmode completely
- 9a0329ec: python3-importlib-metadata: remove recipe (moved to meta-python)
- a1840d09: python3: Drop generating a static libpython
- a22bdf72: rootfs: Ensure run-postinsts is not uninstalled for read-only-rootfs-delayed-postinsts
- a46e374d: oe-debuginfod: add option for data storage
- a88251b3: buildtools-tarball: Add python3-pip
- aca14abc: populate_sdk_base: add 7zip archive type for SDK
- b29ae5eb: libomxil: remove the recipe
- b35f2209: binutils: Upgrade to 2.43 release
- b5526e68: go: drop the old 1.4 bootstrap C version
- b67fced0: gcc: Allow using libc++
- b6983712: bitbake: fetch2/git: Enforce default remote name to "origin"
- baebb347: linux-yocto-dev: bump to v6.11
- bd102d12: conf/defaultsetup.conf: Drop TCLIBCAPPEND
- bf511fc2: xcb-util-errors: add recipe
- c174208d: insane: Error for S == WORKDIR
- c5b985c9: selftests: add test_minidebuginfo_qemu
- cc191968: scripts/pull-spdx-licenses.py: Add script
- cd000e08: licenses: Update to SPDX license version 3.24.0
- d045fed3: bootimg-partition: break out code to a common library.
- d1430438: perf: drop newt from tui build requirements
- d237e9af: openssl: disable tests unless ptest is enabled
- d24a7d0f: base: Switch UNPACKDIR to a subdir of WORKDIR
- d4b5a24c: gstreamer1.0-plugins-bad: add PACKAGECONFIG for gtk3
- d4f05aaf: python3-jsonschema: rename nongpl PACKAGECONFIG
- d6a4522e: openssh: allow configuration of hostkey type
- d9066258: distro/include: Add yocto-space-optimize, disabling debugging for large components
- dd763142: bitbake: fetch2: Add gomod fetcher
- e1555ba6: license_image.bbclass: Rename license-incompatible to license-exception
- e16d690e: bitbake: hashserv: server: Add support for SO_REUSEPORT
- e1fa3247: toolchain-scripts: export the target endianism and word size
- e2527cf5: bitbake: fetch2/git: Use git shallow fetch to implement clone_shallow_local()
- e4921286: mpeg2dec: remove the recipe
- e64be51e: oeqa/sdk: add out-of-tree kernel module building test
- e665be2a: insane: Promote long standing warnings to errors
- e9939fe2: oeqa: selftest: context: run tests serially if testtools/subunit modules are not found
- ece2f576: glibc: Upgrade to 2.40
- edc44fcf: create-spdx-*: Support multilibs via SPDX_MULTILIB_SSTATE_ARCHS
- f06fbe9b: cve-check: remove the TEXT format support
- f0b560e0: lib/package_manager/ipk: Do not hardcode payload compression algorithm
- f5bea876: python3-rfc3986-validator: remove recipe (moved to meta-python)
- f72d2642: classes-recipe: nospdx: Add class
- f7f4d9d5: package_rpm: remove support for DIRFILES
- fdcaf1cc: oeqa/postactions: Separate artefact collection from test result collection
- 93e3ae70: kernel.bbclass: remove unused CMDLINE_CONSOLE
- 6f0a78e0: bitbake.conf: Include cve-check-map earlier, before distro
- 0979646a: abi_version/package: Bump hashequiv version and package class version
- 14e487aa: python3: add dependency on -compression to -core
- 393ff343: glib/gobject-introspection: update 2.78.4 -> 2.80.0, 1.78.1 -> 1.80.0
- 3c1c56ec: native/nativesdk: Stop overriding unprefixed *FLAGS variables
- 431767f0: classes-recipe/multilib_script: Expand before splitting
- 0f2f18c7: python3-idna: enable ptest
- 35cb7bc6: runqemu: add sd card device
- 551fdabc: bitbake: fetch2/crate: add upstream latest version check function
- bd21b9e8: python3-cffi: enable ptest
- d4c0282f: python3-packaging: enable ptest

Here are the commits that did _NOT_ make it into the release note yet (not as important, again thanks Ross for making the list):

- 005c9350: weston-init: fix weston not starting when xwayland is enabled
- 01d17cd5: recipetool: create_npm: resolve licenses defined in package.json
- 1053035c: npm: accept unspecified versions in package.json
- 18b37cc5: bitbake: ui/knotty: respect NO_COLOR &amp; check for tty; rename print_hyperlink =&gt; format_hyperlink
- 4485677c: gcc-runtime: enabling "network" task specific flag
- 4b160cb6: utils.bbclass: Use objdump instead of readelf to compute SONAME
- 51192a79: gcc: Upgrade to GCC 14.2
- 524e6b65: bitbake: fetch2/npmsw: fix fetching git revisions not on master
- 58414305: bitbake: gcp.py: remove slow calls to gsutil stat
- 5a308474: bitbake: siggen: Batch unihash_exists checks
- 5aa7391d: gcc: remove g77/f77
- 632e3170: local.conf.sample: Fix hashequivalence server address
- 66158e79: gdb: Upgrade to 15.1 release
- 662cda7e: populate_sdk_ext.bclass: make sure OECORE_NATIVE_SYSROOT is exported.
- 6a0a2c46: bitbake: runqueue: Process unihashes in parallel at init
- 70a857b8: classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()
- 76421d57: bitbake: bitbake-hashclient: Add ping command
- 7a1e8c44: classes/pypi: don't expose PYPI_ARCHIVE_NAME
- 7c5d68f2: scripts/install-buildtools: Update to 5.0.3
- 8876fe95: llvm: Upgrade to 18.1.5
- ad2365a3: bitbake: ui/knotty: print log paths for failed tasks in summary
- ad6470a4: scripts/oe-setup-build: write a build environment initialization one-liner into the build directory
- c32490b1: volatile-binds: Do not create workdir if OverlayFS is disabled
- e5176979: linux-yocto/6.10: cfg: disable nfsd legacy client tracking
- ec86853a: bitbake: fetch2/npmsw: allow packages not declaring a registry version
- ef938f1b: gstreamer1.0-plugins-bad: rename onevpl-intel-gpu -> vpl-gpu-rt
- f6de2b03: bitbake: bitbake-layers: adapt force option to not use tinfoil
- fa894486: package.py: Fix static library processing

Antonin Godard (15):
ref-manual: add missing CVE_CHECK manifest variables
ref-manual: add new vex class
ref-manual: add new retain class and variables
ref-manual: add missing nospdx class
ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variable
ref-manual: drop siteconfig class
ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS
ref-manual: add missing image manifest variables
ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable
ref-manual: drop TCLIBCAPPEND variable
ref-manual: add missing OPKGBUILDCMD variable
ref-manual: add missing variable PRSERVER_UPSTREAM
ref-manual: merge patch-status-* to patch-status
ref-manual: add mission pep517-backend sanity check release-notes-5.1: update release note for styhead

Lee Chee Yang (1):
release-notes-5.1: update for several section

 .../migration-guides/migration-5.1.rst        |  63 +-
 .../migration-guides/release-notes-5.1.rst    | 983 +++++++++++++++++-
 documentation/ref-manual/classes.rst          |  70 +-
 documentation/ref-manual/variables.rst        | 118 ++-
 4 files changed, 1181 insertions(+), 53 deletions(-)

--
2.46.0

#1 lore raw

PATCH 1/16 ref-manual: add missing CVE_CHECK manifest variables

From: Antonin Godard <[email protected]>

Variables that can be used for toggling creation of manifest and specifying the path to the output in the deploy directory.

---
 documentation/ref-manual/variables.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)
documentation/ref-manual/variables.rst +12 -0
index 32c9e7407..0236c8c9c 100644
@@ -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
Signature · 1 line
2.46.0
#2 lore raw

Re: [docs] [PATCH 01/16] ref-manual: add missing CVE_CHECK manifest variables

Hi Antonin

Quoted 23 lines · Antonin Godard via lists.yoctoproject.org

From: Antonin Godard <[email protected]>

Variables that can be used for toggling creation of manifest and specifying the path to the output in the deploy directory.

---
  documentation/ref-manual/variables.rst | 12 ++++++++++++
  1 file changed, 12 insertions(+)
documentation/ref-manual/variables.rst +4 -0
index 32c9e7407..0236c8c9c 100644
@@ -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`

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 1695

Quoted 10 lines
documentation/ref-manual/variables.rst +8 -0
        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`.
+

I would use "JSON" instead of "json" in the above changes. IMHO that's a more explicit way to describe a format, and except for a few cases, "JSON" is more frequently used in the current docs. Cheers
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#3 lore raw

PATCH 2/16 ref-manual: add new vex class

In reply to [email protected]

From: Antonin Godard <[email protected]>

Add a brief description on the new vex.bbclass that is used to generate metadata needed by external tools to check for vulnerabilities.

---
 documentation/ref-manual/classes.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
documentation/ref-manual/classes.rst +25 -0
index 9520d0bf7..46d77d0e5 100644
@@ -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``
Signature · 1 line
2.46.0
#4 lore raw

PATCH 3/16 ref-manual: add new retain class and variables

In reply to [email protected]

From: Antonin Godard <[email protected]>

Document the new retain class with its configuration variables in the variable index.

---
 documentation/ref-manual/classes.rst   | 17 +++++++++++++
 documentation/ref-manual/variables.rst | 35 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
documentation/ref-manual/classes.rst +17 -0
index 46d77d0e5..9f6e42725 100644
@@ -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``
documentation/ref-manual/variables.rst +35 -0
index 0236c8c9c..1e37132ed 100644
@@ -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.
Signature · 1 line
2.46.0
#5 lore raw

PATCH 4/16 ref-manual: add missing nospdx class

In reply to [email protected]

From: Antonin Godard <[email protected]>

---
 documentation/ref-manual/classes.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
documentation/ref-manual/classes.rst +8 -0
index 9f6e42725..14aa0f3a3 100644
@@ -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``
Signature · 1 line
2.46.0
#6 lore raw

PATCH 5/16 ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variable

In reply to [email protected]

From: Antonin Godard <[email protected]>

---
 documentation/ref-manual/variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
index 1e37132ed..6af05c810 100644
@@ -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,
Signature · 1 line
2.46.0
#7 lore raw

PATCH 6/16 ref-manual: drop siteconfig class

In reply to [email protected]

From: Antonin Godard <[email protected]>

Removed as it was only used by ncurses and zlib and adding minimal added-value for a considerable amount of added runtime.

---
 documentation/ref-manual/classes.rst | 9 ---------
 1 file changed, 9 deletions(-)
documentation/ref-manual/classes.rst +0 -9
index 14aa0f3a3..121887d1f 100644
@@ -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``
Signature · 1 line
2.46.0
#8 lore raw

PATCH 7/16 ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS

In reply to [email protected]

From: Antonin Godard <[email protected]>

This variable lists space-separated paths on the target to retrieve onto the host, when inheriting testimage.

---
 documentation/ref-manual/variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
index 6af05c810..9eabc4a0d 100644
@@ -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.
Signature · 1 line
2.46.0
#9 lore raw

PATCH 8/16 ref-manual: add missing image manifest variables

In reply to [email protected]

From: Antonin Godard <[email protected]>

New variables that control the output of the image task manifests.

---
 documentation/ref-manual/variables.rst | 29 ++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
documentation/ref-manual/variables.rst +29 -0
index 9eabc4a0d..cad626317 100644
@@ -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
Signature · 1 line
2.46.0
#10 lore raw

Re: [docs] [PATCH 08/16] ref-manual: add missing image manifest variables

Hi Antonin

Just a quick nitpick!

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 4032

Quoted 7 lines · Antonin Godard via lists.yoctoproject.org

From: Antonin Godard <[email protected]>

New variables that control the output of the image task manifests.=

documentation/ref-manual/variables.rst +3 -0
+   :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

s/points/setting points/
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#11 lore raw

PATCH 9/16 ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable

In reply to [email protected]

From: Antonin Godard <[email protected]>

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.

---
 documentation/ref-manual/variables.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +7 -0
index cad626317..5744eeb9e 100644
@@ -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``
Signature · 1 line
2.46.0
#12 lore raw

PATCH 10/16 ref-manual: drop TCLIBCAPPEND variable

In reply to [email protected]

From: Antonin Godard <[email protected]>

No longer required as TMPDIR can be shared for multiple lib providers nowadays.

---
 documentation/ref-manual/variables.rst | 13 -------------
 1 file changed, 13 deletions(-)
documentation/ref-manual/variables.rst +0 -13
index 5744eeb9e..8907572e6 100644
@@ -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
Signature · 1 line
2.46.0
#13 lore raw

PATCH 11/16 ref-manual: add missing OPKGBUILDCMD variable

In reply to [email protected]

From: Antonin Godard <[email protected]>

---
 documentation/ref-manual/variables.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +7 -0
index 8907572e6..72781d93b 100644
@@ -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
Signature · 1 line
2.46.0
#14 lore raw

Re: [docs] [PATCH 11/16] ref-manual: add missing OPKGBUILDCMD variable

Quoted 12 lines · Antonin Godard via lists.yoctoproject.org

From: Antonin Godard <[email protected]>

---
  documentation/ref-manual/variables.rst | 7 +++++++
  1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 8907572e6..72781d93b 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5765

Quoted 5 lines
documentation/ref-manual/variables.rst +2 -0
@@ -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

s/package/packages/

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#15 lore raw

PATCH 12/16 ref-manual: add missing variable PRSERVER_UPSTREAM

In reply to [email protected]

From: Antonin Godard <[email protected]>

---
 documentation/ref-manual/variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
index 72781d93b..985fec5d6 100644
@@ -6878,6 +6878,11 @@ system and gives an overview of their function and contents.
       service <dev-manual/packages:working with a pr 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
Signature · 1 line
2.46.0
#16 lore raw

Re: [docs] [PATCH 12/16] ref-manual: add missing variable PRSERVER_UPSTREAM

Hi Antonin

Thanks for the update!

Quoted 12 lines · Antonin Godard via lists.yoctoproject.org

From: Antonin Godard <[email protected]>

---
  documentation/ref-manual/variables.rst | 5 +++++
  1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 72781d93b..985fec5d6 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6885

Quoted 8 lines
documentation/ref-manual/variables.rst +5 -0
@@ -6878,6 +6878,11 @@ system and gives an overview of their function and contents.
        service <dev-manual/packages:working with a pr 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.

Actually, the right variable should be PRSERV_UPSTREAM (instead of PRSERVER_UPSTREAM), as used in the rest of the BitBake code. I've submitted a patch last week to fix this in bin/bitbake-prserv, but it hasn't been merged yet.
https://lore.kernel.org/bitbake-devel/[email protected]/T/#u

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#17 lore raw

Re: [docs] [PATCH 12/16] ref-manual: add missing variable PRSERVER_UPSTREAM

Hi Michael,

Quoted 9 lines · Michael Opdenacker
Quoted 7 lines

+   :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.

Quoted 3 lines

Actually, the right variable should be PRSERV_UPSTREAM (instead of PRSERVER_UPSTREAM), as used in the rest of the BitBake code. I've submitted a patch last week to fix this in bin/bitbake-prserv, but it hasn't been merged yet.
https://lore.kernel.org/bitbake-devel/20241002150747.85513-1- [email protected]/T/#u

Thanks! I got tricked by grepping for PRSERVER_UPSTREAM actually. Will update in v2.

Cheers,
Antonin

#18 lore raw

PATCH 13/16 ref-manual: merge patch-status-* to patch-status

In reply to [email protected]

From: Antonin Godard <[email protected]>

These are not distinct anymore and check for any patches in any layer.

---
 documentation/ref-manual/classes.rst | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
documentation/ref-manual/classes.rst +2 -6
index 121887d1f..0fce37cfa 100644
@@ -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.
Signature · 1 line
2.46.0
#19 lore raw

Re: [docs] [PATCH 13/16] ref-manual: merge patch-status-* to patch-status

Hi Antonin

Quoted 15 lines · Antonin Godard via lists.yoctoproject.org

From: Antonin Godard <[email protected]>

These are not distinct anymore and check for any patches in any layer.

---
  documentation/ref-manual/classes.rst | 8 ++------
  1 file changed, 2 insertions(+), 6 deletions(-)
documentation/ref-manual/classes.rst +0 -0
index 121887d1f..0fce37cfa 100644
@@ -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

documentation/ref-manual/classes.rst The tests you can list with the :term:`WARN_QA` and · line 1465

Quoted 10 lines
documentation/ref-manual/classes.rst +2 -6
     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.

Not your fault here, but an opportunity to write:

Checks that the ``Upstream-Status`` value is specified... Cheers
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#20 lore raw

PATCH 14/16 ref-manual: add mission pep517-backend sanity check

In reply to [email protected]

From: Antonin Godard <[email protected]>

New sanity check to check for PEP517-backend compliance.

---
 documentation/ref-manual/classes.rst | 3 +++
 1 file changed, 3 insertions(+)
documentation/ref-manual/classes.rst +3 -0
index 0fce37cfa..f3874326d 100644
@@ -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
Signature · 1 line
2.46.0
#21 lore raw

PATCH 15/16 release-notes-5.1: update for several section

In reply to [email protected]

From: Lee Chee Yang <[email protected]>

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.

---
 .../migration-guides/release-notes-5.1.rst    | 306 +++++++++++++++++-
 1 file changed, 303 insertions(+), 3 deletions(-)
documentation/migration-guides/release-notes-5.1.rst +303 -3
index 074d277da..211f92553 100644
@@ -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 <https://fmt.dev>`__: an open-source formatting library for C++. (from meta-oe)
+
+   -  `xcb-util-errors <http://xcb.freedesktop.org/XcbUtil/>`__: 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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 1 line
2.46.0
#22 lore raw

Re: [docs] [PATCH 15/16] release-notes-5.1: update for several section

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 38

Quoted 6 lines · Antonin Godard via lists.yoctoproject.org
documentation/migration-guides/release-notes-5.1.rst +1 -0
index 074d277da..211f92553 100644
 
+   - runqemu: :term:`QB_DRIVE_TYPE` now support for sd card (/dev/mmcblk)

You didn't write it in the first place, but that's an opportunity to use ``/dev/mmcblk`` here.

Quoted 10 lines

-- wic Image Creator enhancements:
+- Rust improvements:

- SDK-related improvements:

documentation/migration-guides/release-notes-5.1.rst +2 -0
+   -  included ``nativesdk-python3-pip`` in buildtools.
+
  -  Testing:
 

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 56

Quoted 10 lines
documentation/migration-guides/release-notes-5.1.rst +4 -1
     -  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.

s/cve-check/``cve-check``/
as in other places in the docs.

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 65

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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.

Add ":" after ``oe-debuginfod``?

documentation/migration-guides/release-notes-5.1.rst

Quoted 2 lines
documentation/migration-guides/release-notes-5.1.rst +2 -0
+
+   -  ``resulttool`` support test report generation in JUnit XML format.

Same here after ``resulttool``.

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 76

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +7 -0
+
+
  -  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.

s/go/Go/  in the above lines.

documentation/migration-guides/release-notes-5.1.rst

Quoted 2 lines
documentation/migration-guides/release-notes-5.1.rst +2 -0
+
+   -  Fetcher for rust crate: added check for latest upstream version.

s/rust/Rust/

See the style guide for project names: https://git.yoctoproject.org/yocto-docs/tree/documentation/standards.md#n79
I know that the style is not very strictly enforced in release notes. This is not exactly like formal documentation.

It's up to you. It's not a big deal if you don't change these. The same applies to the following lines...

documentation/migration-guides/release-notes-5.1.rst

Quoted 2 lines
documentation/migration-guides/release-notes-5.1.rst +2 -0
+
+   -  Syncrpc now requires a minimum version of the websockets module depend on python version.

s/python/Python/?

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 89

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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.

s/bitbake/BitBake/?

Quoted 13 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 123

Quoted 10 lines
documentation/migration-guides/release-notes-5.1.rst +7 -0
@@ -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.

:ref:ref-classes-insane

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 132

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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.

s/sdk/SDK/

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 134

Quoted 2 lines
documentation/migration-guides/release-notes-5.1.rst +2 -0
+
+   -  New :ref:`nospdx` class that allows recipes to opt out of generating SPDX.

Are you sure this works? Looking at your earlier patch, shouldn't it be :ref:ref-classes-nospdx instead?

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 143

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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.

Same comment for the above three items.

That's all here ;)
Thanks
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com
#23 lore raw

Re: [docs] [PATCH 15/16] release-notes-5.1: update for several section

Hi Michael,

Thanks a lot for this review and the others, I'm currently editing a v3 that takes your remarks into account.

Quoted 7 lines · Michael Opdenacker

See the style guide for project names:
https://git.yoctoproject.org/yocto-docs/tree/documentation/standards.md#n79
I know that the style is not very strictly enforced in release notes. This is not exactly like formal documentation.

It's up to you. It's not a big deal if you don't change these. The same applies to the following lines...

Even if not enforced in the release note, I believe it's a good thing to take the habit of following the standards… I will probably write more docs elsewhere, so thanks for your reviews, they're really valuable :)

Quoted 5 lines
Quoted 1 line

+ - New :ref:nospdx class that allows recipes to opt out of generating SPDX.

Are you sure this works? Looking at your earlier patch, shouldn't it be :ref:ref-classes-nospdx instead?

Quoted 13 lines

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 143

Quoted 9 lines
documentation/migration-guides/release-notes-5.1.rst +9 -0
+
+   -  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.

Same comment for the above three items.
That's all here ;)

Actually, this is a bit misleading because I did in fact fix this in the next commit - otherwise no, it wouldn't work. This should've been part of the first one from Chee Lee Yang (amended by myself). Will do in v3.

Cheers,
Antonin

--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#24 lore raw

PATCH 16/16 release-notes-5.1: update release note for styhead

In reply to [email protected]

From: Antonin Godard <[email protected]>

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.

---
 .../migration-guides/migration-5.1.rst        |  63 +-
 .../migration-guides/release-notes-5.1.rst    | 829 ++++++++++++++++--
 2 files changed, 794 insertions(+), 98 deletions(-)
documentation/migration-guides/migration-5.1.rst +55 -8
index 298ff3e25..8a6e04e22 100644
@@ -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 <system-requirements-supported-distros>`.
 
 .. _migration-5.1-go-changes:
@@ -95,20 +102,35 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`.
 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``.
documentation/migration-guides/release-notes-5.1.rst +739 -90

928 lines not on this page · raw message

--
2.46.0

#25 lore raw

Re: [docs] [PATCH 16/16] release-notes-5.1: update release note for styhead

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 413

Quoted 10 lines · Antonin Godard via lists.yoctoproject.org

 Known Issues in 5.1
 ~~~~~~~~~~~~~~~~~~~

+-  Rust related issues:

documentation/migration-guides/release-notes-5.1.rst +6 -0
+
+   -  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.

In general these look really good, thanks.

I wanted to note that the above is now incorrect, rust is fully reproducible. There were points during development where it was not but those issues were resolved. These known issues can therefore be removed.

Cheers,

Richard

#26 lore raw

Re: [docs] [PATCH 16/16] release-notes-5.1: update release note for styhead

Quoted 10 lines

documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 413

Quoted 7 lines

+-  Rust related issues:

documentation/migration-guides/release-notes-5.1.rst +6 -0
+
+   -  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.

In general these look really good, thanks.

Quoted 4 lines

I wanted to note that the above is now incorrect, rust is fully reproducible. There were points during development where it was not but those issues were resolved. These known issues can therefore be removed.

Thank you. I must've misread the log or got the order wrong. Anyway I will send a v2 without this.

Cheers,
Antonin

#27 lore raw

Re: [docs] [PATCH 16/16] release-notes-5.1: update release note for styhead

Quoted 12 lines · Antonin Godard
Quoted 12 lines
Quoted 9 lines

+-  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.

In general these look really good, thanks.

Quoted 8 lines
Quoted 5 lines

I wanted to note that the above is now incorrect, rust is fully reproducible. There were points during development where it was not but
those issues were resolved. These known issues can therefore be removed.

Thank you. I must've misread the log or got the order wrong. Anyway I will send a v2 without this.

We changed a few times during development so I'm not surprised it was confusing! The end result:

https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/reproducible.py

is no rust restrictions (or anything else) in there.

Cheers,

Richard

#28 lore raw

Re: [docs] [PATCH 16/16] release-notes-5.1: update release note for styhead

In reply to [email protected]

Hi Antonin

Quoted 7 lines · Antonin Godard via lists.yoctoproject.org

The following recipes have been removed in this release:

+-  ``liba52``: superseded by ``ffmpeg``
+-  ``libomxil``: recipe removed as its only consumer, the gstreamer omx plugin,
documentation/migration-guides/migration-5.1.rst +3 -0
+    was removed and has not been developed for several years
+-  ``libnewt``: moved to meta-oe
+-  ``mpeg2dec``: inactive for 10 years and superseded by ``ffmpeg``

documentation/migration-guides/migration-5.1.rst Removed recipes · line 166

Quoted 10 lines
documentation/migration-guides/migration-5.1.rst +10 -0
+-  ``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.

s/ethernet/Ethernet/ (twice)

Quoted 47 lines
documentation/migration-guides/migration-5.1.rst +12 -5
+
+
  .. _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``.
documentation/migration-guides/release-notes-5.1.rst +2 -2
index 211f92553..62aa88f2e 100644
@@ -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.

documentation/migration-guides/release-notes-5.1.rst Release notes for 5.1 (styhead) · line 20

Quoted 10 lines
documentation/migration-guides/release-notes-5.1.rst +5 -3
+   -  :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

s/in/in the/

Again, style is not very important in this kind of file. Feel free to ignore these suggestions :) Cheers
Michael.

Signature · 3 lines
Michael Opdenacker
Root Commit
https://rootcommit.com