Updates for styhead
v3 cover Updates for styhead
Changes in v2:
- Remove "Known Issues" section, it only contained rust being non-reproducible, which is actually not true anymore.
- Rename variable PRSERVER_UPSTREAM -> PRSERV_UPSTREAM.
Changes in v3:
- Fix a bunch of typos reported by Michael Opdenacker.
- Fix "ethernet" -> "Ethernet"
- Fix "json" -> "JSON"
- Fix "cve-check" -> "``cve-check``"
- Fix "Upstream-Status" -> "``Upstream-Status``"
- Fix "go" -> "Go"
- Fix "rust" -> "Rust"
- Fix "python" -> "Python"
- Fix "sdk" -> "SDK"
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 & check for tty; rename print_hyperlink => 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 (14):
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 PRSERV_UPSTREAM
ref-manual: merge patch-status-* to patch-status
ref-manual: add mission pep517-backend sanity check
Lee Chee Yang (2):
release-notes-5.1: update for several section release-notes-5.1: update release note for styhead
documentation/migration-guides/migration-5.1.rst | 63 +- .../migration-guides/release-notes-5.1.rst | 976 ++++++++++++++++++++- documentation/ref-manual/classes.rst | 70 +- documentation/ref-manual/variables.rst | 118 ++- 4 files changed, 1172 insertions(+), 55 deletions(-)
---
base-commit: 98e7f378bc5670d23a6c2bdfcd3b7af965f7c450
change-id: 20241009-release-note-5-1-6567f4725cd9
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>
PATCH v3 1/16 ref-manual: add missing CVE_CHECK manifest variables
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
@@ -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
PATCH v3 2/16 ref-manual: add new vex class
In reply to Antonin GodardAdd 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
@@ -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
PATCH v3 3/16 ref-manual: add new retain class and variables
In reply to Antonin GodardDocument 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
@@ -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
@@ -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
PATCH v3 4/16 ref-manual: add missing nospdx class
In reply to Antonin Godard--- documentation/ref-manual/classes.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
documentation/ref-manual/classes.rst +8 -0
@@ -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
PATCH v3 5/16 ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variable
In reply to Antonin Godard--- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
@@ -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
PATCH v3 6/16 ref-manual: drop siteconfig class
In reply to Antonin GodardRemoved 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
@@ -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
PATCH v3 7/16 ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS
In reply to Antonin GodardThis 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
@@ -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
PATCH v3 8/16 ref-manual: add missing image manifest variables
In reply to Antonin GodardNew 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
@@ -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` setting + 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
PATCH v3 9/16 ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable
In reply to Antonin GodardThis 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
@@ -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
PATCH v3 10/16 ref-manual: drop TCLIBCAPPEND variable
In reply to Antonin GodardNo 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
@@ -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
PATCH v3 11/16 ref-manual: add missing OPKGBUILDCMD variable
In reply to Antonin Godard--- documentation/ref-manual/variables.rst | 7 +++++++ 1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +7 -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 + packages 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
PATCH v3 12/16 ref-manual: add missing variable PRSERV_UPSTREAM
In reply to Antonin Godard--- documentation/ref-manual/variables.rst | 5 +++++ 1 file changed, 5 insertions(+)
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:`PRSERV_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
PATCH v3 13/16 ref-manual: merge patch-status-* to patch-status
In reply to Antonin GodardThese 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
@@ -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
PATCH v3 14/16 ref-manual: add mission pep517-backend sanity check
In reply to Antonin GodardNew 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
@@ -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
Re: [docs] [PATCH v3 14/16] ref-manual: add mission pep517-backend sanity check
Hi Antonin,
Quoted 12 lines · Antonin Godard via lists.yoctoproject.org
New sanity check to check for PEP517-backend compliance.
Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 3 +++ 1 file changed, 3 insertions(+)documentation/ref-manual/classes.rst +0
-0
documentation/ref-manual/classes.rst The tests you can list with the :term:`WARN_QA` and · line 1483
Quoted 6 lines
documentation/ref-manual/classes.rst +3
-0@@ -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. +
Not sure we follow this for each entry in that list, but this one is not in its proper location if we were to alphabetically order the list.
Cheers,
Quentin
Re: [docs] [PATCH v3 14/16] ref-manual: add mission pep517-backend sanity check
Quoted 10 lines · Quentin Schulz
Hi Antonin,
Quoted 7 lines · Antonin Godard via lists.yoctoproject.org
New sanity check to check for PEP517-backend compliance.
Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 3 +++ 1 file changed, 3 insertions(+)
Quoted 12 lines
documentation/ref-manual/classes.rst The tests you can list with the :term:`WARN_QA` and · line 1481
Quoted 9 lines
documentation/ref-manual/classes.rst +3
-0@@ -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. +Not sure we follow this for each entry in that list, but this one is not in its proper location if we were to alphabetically order the list.
Ha, you're right I got it wrong. Thanks, will fix.
Cheers,
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
PATCH v3 15/16 release-notes-5.1: update for several section
In reply to Antonin GodardFrom: 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 | 316 ++++++++++++++++++++- 1 file changed, 312 insertions(+), 4 deletions(-)
documentation/migration-guides/release-notes-5.1.rst +312 -4
@@ -10,30 +10,102 @@ New Features / Enhancements in 5.1 - New variables: + - :term:`CVE_CHECK_MANIFEST_JSON_SUFFIX`: suffix for the CVE JSON manifest file. + + - :term:`PRSERV_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 the + ``scripts/lib/devtool/upgrade.py`` upgrade() method. + + - :term:`UNPACKDIR`: allow change of the :ref:`ref-tasks-unpack` task + 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++ + (imported 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: ``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``. + - Included ``nativesdk-python3-pip`` in :term:`buildtools` by default. + + - 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. + + - Fetcher for Rust crates: added a check for latest upstream version. + + - ``syncrpc`` now requires a minimum version of the websockets module depend + on Python version. + + - Improve ``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 + + - Improve cloning speed with :term:`BB_GIT_SHALLOW` and + :term:`BB_GENERATE_MIRROR_TARBALLS`. + + - `BitBake` UI now includes log paths for failed task. + + - ``fetcher2``: support for wget and wget2. + + - ``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: - Fix ``_test_devtool_add_git_url`` test
@@ -52,6 +124,52 @@ 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. + + - 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. + + - 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:`ref-classes-vex` class generates the minimum information that is necessary + for VEX generation by an external CVE checking tool. + + - 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 ``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` and trigger + :ref:`ref-classes-insane` errors when :term:`S` or :term:`B` are equal to + :term:`WORKDIR`. + Known Issues in 5.1 ~~~~~~~~~~~~~~~~~~~
@@ -60,6 +178,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 +203,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
PATCH v3 16/16 release-notes-5.1: update release note for styhead
In reply to Antonin GodardFrom: Lee Chee Yang <[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.
--- documentation/migration-guides/migration-5.1.rst | 63 +- .../migration-guides/release-notes-5.1.rst | 696 ++++++++++++++++++++- 2 files changed, 718 insertions(+), 41 deletions(-)
documentation/migration-guides/migration-5.1.rst +55 -8
@@ -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 +663 -33
769 lines not on this page · raw message
Signature · 1 line
2.46.0
Re: [docs] [PATCH v3 16/16] release-notes-5.1: update release note for styhead
Hi Antonin, Lee Chee Yang,
Quoted 1 line · Antonin Godard via lists.yoctoproject.org
From: Lee Chee Yang <[email protected]>
[...]
documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 69
Quoted 5 lines
+- wic Image Creator changes:
documentation/migration-guides/release-notes-5.1.rst +4
-0+ + - Add the ``truncate`` utility in :term:`HOSTTOOLS`, needed by some wic + commands. +
I think we should add the package that installs truncate to the required host tools in documentation/poky.yaml.in?
https://pkgs.org/search/?q=truncate&on=files should help figuring out the required packages for each distro. I assume it may already been pulled in by other packages as a dependency, but better have it explicitly listed than relying on a dependency?
[...]
Quoted 1 line
+SPDX-related changes:
I think this is missing - to make this a list item?
Cheers,
Quentin
Re: [docs] [PATCH v3 16/16] release-notes-5.1: update release note for styhead
Hi Quentin,
Thanks for your reviews :)
Quoted 9 lines · Quentin Schulz
documentation/migration-guides/release-notes-5.1.rst New Features / Enhancements in 5.1 · line 69
Quoted 5 lines
+- wic Image Creator changes:
documentation/migration-guides/release-notes-5.1.rst +4
-0+ + - Add the ``truncate`` utility in :term:`HOSTTOOLS`, needed by some wic + commands. +I think we should add the package that installs
truncateto the required host tools in documentation/poky.yaml.in?
Quoted 4 lines
https://pkgs.org/search/?q=truncate&on=files should help figuring out the required packages for each distro. I assume it may already been pulled in by other packages as a dependency, but better have it explicitly listed than relying on a dependency?
I have checked for the supported distro and truncate is always part of coreutils, which should be shipped by default on these distro - maybe that's the reason it wasn't added to that list? This should not only apply for truncate but several programs part of HOSTTOOLS I think.
Doesn't hurt to add it to the list though.
Cheers,
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com