migration-guides: release-notes-4.2: add doc improvement highlights
PATCH 1/4 migration-guides: release-notes-4.2: add doc improvement highlights
From: Michael Opdenacker <[email protected]>
--- documentation/dev-manual/new-recipe.rst | 2 ++ .../migration-guides/release-notes-4.2.rst | 18 ++++++++++++++++++ .../ref-manual/system-requirements.rst | 2 ++ 3 files changed, 22 insertions(+)
documentation/dev-manual/new-recipe.rst +2 -0
@@ -1289,6 +1289,8 @@ as described in the ":ref:`dev-manual/licenses:tracking license changes`" section in the Yocto Project Overview and Concepts Manual. You can quickly create Autotool-based recipes in a manner similar to the previous example. +.. _ref-building-meson-package: + Building a Meson Package ------------------------
documentation/migration-guides/release-notes-4.2.rst +18 -0
@@ -271,6 +271,24 @@ New Features / Enhancements in 4.2 - ``xinetd``: move ``xconv.pl`` script to separate package - ``perf``: enable debug/source packaging +- Prominent documentation updates: + + - Substantially expanded the ":doc:`/dev-manual/vulnerabilities`" section. + - Added a new ":doc:`/dev-manual/sbom`" section about SPDX SBoM generation. + - Expanded ":ref:`init-manager`" documentation. + - New section about :ref:`ref-long-term-support-releases`. + - System Requirements: details about :ref:`system-requirements-minimum-ram`. + - Details about :ref:`ref-building-meson-package` and the + :ref:`ref-classes-meson` class. + - Documentation about how to write recipes for Rust programs. See the + :ref:`ref-classes-cargo` class. + - Documentation about how to write recipes for Go programs. See the + :ref:`ref-classes-go` class. + - Variable index: added references to variables only documented in the + BitBake manual. All variables should be easy to access through the Yocto + Manual variable index. + - Expanded the description of the :term:`BB_NUMBER_THREADS` variable. + - Miscellaneous changes: - Supporting 64 bit dates on 32 bit platforms: several packages have been
documentation/ref-manual/system-requirements.rst +2 -0
@@ -40,6 +40,8 @@ to run multiple builds and to cache build artifacts, improving build efficiency. If you have a shortage of disk space, see the ":doc:`/dev-manual/disk-space`" section of the Development Tasks Manual. +.. _system-requirements-minimum-ram: + Minimum System RAM ==================
Signature · 1 line
2.34.1
PATCH 2/4 release-notes-4.2: update known issues and Repositories/Downloads
From: Michael Opdenacker <[email protected]>
From: Lee Chee Yang <[email protected]>
--- .../migration-guides/release-notes-4.2.rst | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+)
documentation/migration-guides/release-notes-4.2.rst +61 -0
@@ -334,6 +334,8 @@ New Features / Enhancements in 4.2 Known Issues in 4.2 ~~~~~~~~~~~~~~~~~~~ +- N/A + Recipe License changes in 4.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -921,3 +923,62 @@ Thanks to the following people who contributed to this release: - Zoltan Boszormenyi - 张忠山 + +Repositories / Downloads for Yocto-4.2 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +poky + +- Repository Location: :yocto_git:`/poky` +- Branch: :yocto_git:`mickledore </poky/log/?h=mickledore>` +- Tag: :yocto_git:`yocto-4.2 </poky/log/?h=yocto-4.2>` +- Git Revision: :yocto_git:`21790e71d55f417f27cd51fae9dd47549758d4a0 </poky/commit/?id=21790e71d55f417f27cd51fae9dd47549758d4a0>` +- Release Artefact: poky-21790e71d55f417f27cd51fae9dd47549758d4a0 +- sha: 38606076765d912deec84e523403709ef1249122197e61454ae08818e60f83c2 +- Download Locations: + http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/poky-21790e71d55f417f27cd51fae9dd47549758d4a0.tar.bz2 + http://mirrors.kernel.org/yocto/yocto/yocto-4.2/poky-21790e71d55f417f27cd51fae9dd47549758d4a0.tar.bz2 + +openembedded-core + +- Repository Location: :oe_git:`/openembedded-core` +- Branch: :oe_git:`mickledore </openembedded-core/log/?h=mickledore>` +- Tag: :oe_git:`yocto-4.2 </openembedded-core/log/?h=yocto-4.2>` +- Git Revision: :oe_git:`c57d1a561db563ed2f521bbac5fc12d4ac8e11a7 </openembedded-core/commit/?id=c57d1a561db563ed2f521bbac5fc12d4ac8e11a7>` +- Release Artefact: oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7 +- sha: e8cdd870492017be7e7b74b8c2fb73ae6771b2d2125b2aa1f0e65d0689f96af8 +- Download Locations: + http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7.tar.bz2 + http://mirrors.kernel.org/yocto/yocto/yocto-4.2/oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7.tar.bz2 + +meta-mingw + +- Repository Location: :yocto_git:`/meta-mingw` +- Branch: :yocto_git:`mickledore </meta-mingw/log/?h=mickledore>` +- Tag: :yocto_git:`yocto-4.2 </meta-mingw/log/?h=yocto-4.2>` +- Git Revision: :yocto_git:`250617ffa524c082b848487359b9d045703d59c2 </meta-mingw/commit/?id=250617ffa524c082b848487359b9d045703d59c2>` +- Release Artefact: meta-mingw-250617ffa524c082b848487359b9d045703d59c2 +- sha: 873a97dfd5ed6fb26e1f6a2ddc2c0c9d7a7b3c7f5018588e912294618775c323 +- Download Locations: + http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/meta-mingw-250617ffa524c082b848487359b9d045703d59c2.tar.bz2 + http://mirrors.kernel.org/yocto/yocto/yocto-4.2/meta-mingw-250617ffa524c082b848487359b9d045703d59c2.tar.bz2 + +bitbake + +- Repository Location: :oe_git:`/bitbake` +- Branch: :oe_git:`2.4 </bitbake/log/?h=2.4>` +- Tag: :oe_git:`yocto-4.2 </bitbake/log/?h=yocto-4.2>` +- Git Revision: :oe_git:`d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c </bitbake/commit/?id=d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c>` +- Release Artefact: bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c +- sha: 5edcb97cb545011226b778355bb840ebcc790552d4a885a0d83178153697ba7a +- Download Locations: + http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2 + http://mirrors.kernel.org/yocto/yocto/yocto-4.2/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2 + +yocto-docs + +- Repository Location: :yocto_git:`/yocto-docs` +- Branch: :yocto_git:`mickledore </yocto-docs/log/?h=mickledore>` +- Tag: :yocto_git:`yocto-4.2 </yocto-docs/log/?h=yocto-4.2>` +- Git Revision: :yocto_git:`4d6807e34adf5d92d9b6e5852736443a867c78fa </yocto-docs/commit/?id=4d6807e34adf5d92d9b6e5852736443a867c78fa>` +
Signature · 1 line
2.34.1
PATCH 3/4 ref-manual: classes: kernel: remove incorrect sentence opening
In reply to [email protected]From: Michael Opdenacker <[email protected]>
From: Luca Ceresoli <[email protected]>
"This means that" implies that this sentence is a consequence of the previous, but this is not the case, the two sentences being quite unrelated to each other.
--- documentation/ref-manual/classes.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
documentation/ref-manual/classes.rst +5 -5
@@ -1532,11 +1532,11 @@ code to build all kernel trees. All needed headers are staged into the :term:`STAGING_KERNEL_DIR` directory to allow out-of-tree module builds using the :ref:`ref-classes-module` class. -This means that each built kernel module is packaged separately and -inter-module dependencies are created by parsing the ``modinfo`` output. -If all modules are required, then installing the ``kernel-modules`` -package installs all packages with modules and various other kernel -packages such as ``kernel-vmlinux``. +Each built kernel module is packaged separately and inter-module +dependencies are created by parsing the ``modinfo`` output. If all modules +are required, then installing the ``kernel-modules`` package installs all +packages with modules and various other kernel packages such as +``kernel-vmlinux``. The :ref:`ref-classes-kernel` class contains logic that allows you to embed an initial RAM filesystem (:term:`Initramfs`) image when you build the kernel image. For
Signature · 1 line
2.34.1
PATCH 4/4 ref-manual: classes: kernel: document automatic defconfig usage
In reply to [email protected]From: Michael Opdenacker <[email protected]>
From: Luca Ceresoli <[email protected]>
Since a very long time the kernel bbclass uses a defconfig file from SRC_URI automatically. Document this feature.
--- documentation/ref-manual/classes.rst | 7 +++++++ 1 file changed, 7 insertions(+)
documentation/ref-manual/classes.rst +7 -0
@@ -1532,6 +1532,13 @@ code to build all kernel trees. All needed headers are staged into the :term:`STAGING_KERNEL_DIR` directory to allow out-of-tree module builds using the :ref:`ref-classes-module` class. +If a file named ``defconfig`` is listed in :term:`SRC_URI`, then by default +:ref:`ref-tasks-configure` copies it as ``.config`` in the build directory, +so it is automatically used as the kernel configuration for the build. This +copy is not performed in case ``.config`` already exists there: this allows +recipes to produce a configuration by other means in +``do_configure:prepend``. + Each built kernel module is packaged separately and inter-module dependencies are created by parsing the ``modinfo`` output. If all modules are required, then installing the ``kernel-modules`` package installs all
Signature · 1 line
2.34.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [docs] [PATCH 4/4] ref-manual: classes: kernel: document automatic defconfig usage
Quoted 4 lines · Michael Opdenacker via lists.yoctoproject.org
From: Michael Opdenacker <[email protected]>
From: Luca Ceresoli <[email protected]>
Quoted 8 lines
Since a very long time the kernel bbclass uses a defconfig file from
SRC_URIautomatically. Document this feature.Signed-off-by Luca Ceresoli <[email protected]>Reviewed-by Michael Opdenacker <[email protected]>--- documentation/ref-manual/classes.rst | 7 +++++++ 1 file changed, 7 insertions(+)
These last two changes are for Mickledore too (I've just fixed their title). Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com