Skip to contentSkip to conversation

Release notes changes

PATCH In review [email protected] 4 participants 22 messages Nov 1, 2023 – Nov 2, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover Release notes changes

From: Ross Burton <[email protected]>

Hi Michael,

Here's a series of patches to add more to the release notes. I'm 99% sure you'll want to reword or add more formatting to most of them, and you probably have more local changes, so I sent them as independent changes which will be easier to rebase.

Feel free to rewrite/squash/edit as needed!

Cheers,
Ross

Ross Burton (14):
add debian 12
edgerouter removed
QEMU_USE_SLIRP removed
remove non-notable change
mention llvm17
mention cdn
add kernel notes
obsolete SERIAL_CONSOLES_CHECK
sdpx is poky, not global default
testing notes
utility notes
bitbake notes
packaging changes
git recipes reword

 .../migration-guides/migration-4.3.rst        | 17 +++---
 .../migration-guides/release-notes-4.3.rst    | 59 ++++++++++++++++---
 2 files changed, 60 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/14 add debian 12

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/migration-4.3.rst | 1 +
 1 file changed, 1 insertion(+)
documentation/migration-guides/migration-4.3.rst +1 -0
index 7647246a0..599940005 100644
@@ -56,6 +56,7 @@ This release supports running BitBake on new GNU/Linux distributions:
 
 -  Ubuntu 22.10
 -  Fedora 38
+-  Debian 12
 -  CentOS Stream 8
 -  AlmaLinux 8.8
 -  AlmaLinux 9.2
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/14 edgerouter removed

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/migration-4.3.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/migration-guides/migration-4.3.rst +7 -0
index 599940005..40150d888 100644
@@ -69,6 +69,13 @@ On the other hand, some earlier distributions are no longer supported:
 
 See :ref:`all supported distributions <system-requirements-supported-distros>`.
 
+.. _migration-4.3-removed-machines:
+
+Removed machines
+~~~~~~~~~~~~~~~~
+
+The ``edgerouter`` BSP in ``meta-yocto-bsp`` has been removed.
+
 .. _migration-4.3-go-changes:
 
 Go language changes
Signature · 1 line
2.34.1
#3 lore raw

PATCH 3/14 QEMU_USE_SLIRP removed

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/migration-4.3.rst | 1 +
 1 file changed, 1 insertion(+)
documentation/migration-guides/migration-4.3.rst +1 -0
index 40150d888..60aea2521 100644
@@ -129,6 +129,7 @@ The following variables have been removed:
 -  ``AUTHOR``
 -  ``PERLARCH``
 -  ``PERLVERSION``
+-  ``QEMU_USE_SLIRP``
 
 .. _migration-4.3-removed-recipes:
 
Signature · 1 line
2.34.1
#4 lore raw

PATCH 4/14 remove non-notable change

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/migration-4.3.rst | 8 --------
 1 file changed, 8 deletions(-)
documentation/migration-guides/migration-4.3.rst +0 -8
index 60aea2521..278697545 100644
@@ -165,14 +165,6 @@ QEMU changes
    This change was made to avoid exceeding two serial ports, which interferes
    with automated testing.
 
-.. _migration-4.3-qa-changes:
-
-QA check changes
-~~~~~~~~~~~~~~~~
-
--  The fetcher in ``lib/bb/tests/fetch.py`` now uses the ``https`` protocol
-   instead of ``git``, whenever possible.
-
 .. _migration-4.3-misc-changes:
 
 Miscellaneous changes
Signature · 1 line
2.34.1
#5 lore raw

PATCH 5/14 mention llvm17

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/migration-guides/release-notes-4.3.rst +1 -1
index 35d9981e0..6249154d7 100644
@@ -6,7 +6,7 @@ Release notes for 4.3 (nandbield)
 New Features / Enhancements in 4.3
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
--  Linux kernel 6.5 and 6.1, gcc 13, glibc 2.38 and other recipe upgrades
+-  Linux kernel 6.5 and 6.1, gcc 13, glibc 2.38, LLVM 17, and other recipe upgrades
 
 -  New variables:
 
Signature · 1 line
2.34.1
#6 lore raw

PATCH 6/14 mention cdn

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 2 ++
 1 file changed, 2 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +2 -0
index 6249154d7..f2bc42f53 100644
@@ -8,6 +8,8 @@ New Features / Enhancements in 4.3
 
 -  Linux kernel 6.5 and 6.1, gcc 13, glibc 2.38, LLVM 17, and other recipe upgrades
 
+-  The autobuilder's shared-state artefacts are now available over a CDN.
+
 -  New variables:
 
    -  :term:`CVE_CHECK_STATUSMAP`, :term:`CVE_STATUS`, :term:`CVE_STATUS_GROUPS`,
Signature · 1 line
2.34.1
#7 lore raw

Re: [docs] [PATCH 06/14] mention cdn

Quoted 11 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/migration-guides/release-notes-4.3.rst | 2 ++
  1 file changed, 2 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +0 -0
index 6249154d7..f2bc42f53 100644

documentation/migration-guides/release-notes-4.3.rst New Features / Enhancements in 4.3 · line 11

Quoted 4 lines
documentation/migration-guides/release-notes-4.3.rst +1 -0
@@ -8,6 +8,8 @@ New Features / Enhancements in 4.3
 
  -  Linux kernel 6.5 and 6.1, gcc 13, glibc 2.38, LLVM 17, and other recipe upgrades
 
+-  The autobuilder's shared-state artefacts are now available over a CDN.

I actually added a link to jsDelivr, which deserves recognition for their free service to Open Source projects. See for yourself in "master-next".

Thanks
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#8 lore raw

PATCH 7/14 add kernel notes

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +8 -0
index f2bc42f53..40a923f36 100644
@@ -65,6 +65,14 @@ New Features / Enhancements in 4.3
 
 -  Kernel-related enhancements:
 
+   - The default kernel is the current stable (6.5), and there is also support
+     for the latest long-term release (6.1).
+  
+   - The list of fixed kernel CVEs is updated regularly using data from ``linuxkernelcves.com.``
+
+   - A ``showconfig`` task was added to the :ref:`ref-classes-cml1` class, to
+     easily examine the final generated ``.config`` file.
+  
 -  New core recipes:
 
    -  ``musl-legacy-error``: glibc ``error()`` API implementation still needed
Signature · 1 line
2.34.1
#9 lore raw

PATCH 8/14 obsolete SERIAL_CONSOLES_CHECK

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/migration-guides/release-notes-4.3.rst +1 -1
index 40a923f36..aab63f65f 100644
@@ -89,7 +89,7 @@ New Features / Enhancements in 4.3
 
    -  `ttyrun <https://github.com/ibm-s390-linux/s390-tools>`__, starts
       ``getty`` programs only when a terminal exists, preventing respawns
-      through the ``init`` program.
+      through the ``init`` program. This obsoletes ``SERIAL_CONSOLES_CHECK``.
 
 -  New classes:
 
Signature · 1 line
2.34.1
#10 lore raw

Re: [docs] [PATCH 08/14] obsolete SERIAL_CONSOLES_CHECK

Quoted 11 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/migration-guides/release-notes-4.3.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/migration-guides/release-notes-4.3.rst +0 -0
index 40a923f36..aab63f65f 100644

documentation/migration-guides/release-notes-4.3.rst New Features / Enhancements in 4.3 · line 92

Quoted 5 lines
documentation/migration-guides/release-notes-4.3.rst +1 -1
@@ -89,7 +89,7 @@ New Features / Enhancements in 4.3
 
     -  `ttyrun <https://github.com/ibm-s390-linux/s390-tools>`__, starts
        ``getty`` programs only when a terminal exists, preventing respawns
-      through the ``init`` program.
+      through the ``init`` program. This obsoletes ``SERIAL_CONSOLES_CHECK``.

Good. I also mentioned this in the migration notes (see on master-next). Thanks!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#11 lore raw

PATCH 9/14 sdpx is poky, not global default

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
documentation/migration-guides/release-notes-4.3.rst +2 -4
index aab63f65f..8b3e4f089 100644
@@ -115,6 +115,8 @@ New Features / Enhancements in 4.3
 
 -  Distribution-related enhancements:
 
+   -  The ``poky`` distribution enables the generation of :term:`SPDX` manifests.
+
    -  The ``poky-altcfg`` distribution enables the ``usrmerge``
       :ref:`distro feature <ref-manual/features:Distro Features>`.
 
@@ -147,10 +149,6 @@ New Features / Enhancements in 4.3
 
 -  Packaging changes:
 
--  :term:`SPDX` improvements:
-
-   -  :term:`SPDX` manifests are now generated by default.
-
 -  Security improvements:
 
    -  Most repositories now include a :yocto_git:`SECURITY.md
Signature · 1 line
2.34.1
#13 lore raw

Re: [docs] [PATCH 09/14] sdpx is poky, not global default

Quoted 1 line · Robert P. J. Day
   "sdpx"?

Ouch. I actually fixed that without realizing, by capitalizing the word :D Thanks for the review
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#14 lore raw

PATCH 10/14 testing notes

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +10 -0
index 8b3e4f089..aedafd673 100644
@@ -135,6 +135,16 @@ New Features / Enhancements in 4.3
       <qa-check-unimplemented-ptest>` infrastructure to detect package sources
       with unit tests but no implemented ptests in the recipe.
 
+   - A new task to perform recipe-wide QA checks was added, ``do_recipe_qa``.
+   - New build-time checks for set ``SUMMARY``, ``HOMEPAGE``, and
+     ``RECIPE_MAINTAINER`` fields was added, and enabled for the core recipes.
+   - The ``parselogs`` runtime test was rewritten.  Notably it now doesn't use
+     regular expressions, which may mean custom patterns need updating.
+   - A self-test to validate that the SPDX manifests generated by image builds
+     are valid was added.
+   - The ``QEMU_USE_SLIRP`` variable has been replaced by adding ``slirp`` to
+     ``TEST_RUNQEMUPARAMS``.
+
 -  Utility script changes:
 
    -  New ``scripts/patchtest`` utility to check patches to the
Signature · 1 line
2.34.1
#15 lore raw

PATCH 11/14 utility notes

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 4 ++++
 1 file changed, 4 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +4 -0
index aedafd673..7cea241ec 100644
@@ -152,6 +152,10 @@ New Features / Enhancements in 4.3
       :ref:`contributor-guide/submit-changes:validating patches with patchtest`
       for details.
 
+   - ``bblock`` was added, allowing the user to lock/unlock specific recipes
+     from being built. This makes it possibly to work on the ``python3`` recipe
+     without causing ``python3-native`` to rebuild.
+
 -  BitBake improvements:
 
    -  The BitBake Cooker log now contains notes when the caches are
Signature · 1 line
2.34.1
#16 lore raw

PATCH 12/14 bitbake notes

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +7 -0
index 7cea241ec..757592751 100644
@@ -158,9 +158,16 @@ New Features / Enhancements in 4.3
 
 -  BitBake improvements:
 
+   -  A fetcher for the Google Cloud Platform (``gs://``) was added.
+
    -  The BitBake Cooker log now contains notes when the caches are
       invalidated which is useful for memory resident bitbake debugging.
 
+   -  BitBake no longer watches files with inotify for changes, as under load
+      this can lead to races causing build instability.
+
+   -  Toaster's dependencies were upgraded to current releases, specifically to Django 4.2.
+
 -  Packaging changes:
 
 -  Security improvements:
Signature · 1 line
2.34.1
#17 lore raw

Re: [docs] [PATCH 12/14] bitbake notes

Hi Ross,

Quoted 2 lines · Ross Burton via lists.yoctoproject.org

From: Ross Burton <[email protected]>

Missing SoB :)

Cheers,
Quentin

Quoted 36 lines
---
  documentation/migration-guides/release-notes-4.3.rst | 7 +++++++
  1 file changed, 7 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +7 -1
index 7cea241ec..757592751 100644
@@ -158,9 +158,16 @@ New Features / Enhancements in 4.3
 
  -  BitBake improvements:
 
+   -  A fetcher for the Google Cloud Platform (``gs://``) was added.
+
     -  The BitBake Cooker log now contains notes when the caches are
        invalidated which is useful for memory resident bitbake debugging.
 
+   -  BitBake no longer watches files with inotify for changes, as under load
+      this can lead to races causing build instability.
+
+   -  Toaster's dependencies were upgraded to current releases, specifically to Django 4.2.
+
  -  Packaging changes:
 
  -  Security improvements:
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#4558): https://lists.yoctoproject.org/g/docs/message/4558
Mute This Topic: https://lists.yoctoproject.org/mt/102324713/6293953
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#18 lore raw

PATCH 13/14 packaging changes

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 .../migration-guides/release-notes-4.3.rst        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
documentation/migration-guides/release-notes-4.3.rst +15 -0
index 757592751..10c5e50a4 100644
@@ -170,6 +170,21 @@ New Features / Enhancements in 4.3
 
 -  Packaging changes:
 
+   -  ``FILES`` now accepts ``**``, which matches zero or more subdirectories.
+  
+   -  The X server packagroup now defaults to using the ``modesetting`` X
+      driver, which obsoletes the ``fbdev`` driver.
+  
+   -  If a recipe uses ``LICENSE_FLAGS`` and the licenses are not accepted, it
+      can set a custom message with ``LICENSE_FLAGS_DETAILS`` to be displayed to
+      the users.
+
+   -  Recipes that fetch specific revisions no longer need to explictly add
+      ``SRCPV`` to ``PV`` as BitBake will now automatically add the revision
+      infomation to ``PKGV`` if needed.
+
+   -  The default ``PR`` values in many recipes have been removed.
+  
 -  Security improvements:
 
    -  Most repositories now include a :yocto_git:`SECURITY.md
Signature · 1 line
2.34.1
#19 lore raw

PATCH 14/14 git recipes reword

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 documentation/migration-guides/release-notes-4.3.rst | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
documentation/migration-guides/release-notes-4.3.rst +2 -3
index 10c5e50a4..b6c6c4a95 100644
@@ -209,9 +209,8 @@ New Features / Enhancements in 4.3
 
 -  Miscellaneous changes:
 
-   -  Git based recipes in OE-Core which used the git protocol have been
-      changed to use https where possibile. https is now believed to be
-      faster and more reliable.
+   -  Git based recipes in OE-Core which used the git protocol have been changed
+      to use https where possible, as it is typically faster and more reliable.
 
    -  The ``os-release`` recipe added a ``CPE_NAME`` to the fields provided, with the
       default being populated from :term:`DISTRO`.
Signature · 1 line
2.34.1
#20 lore raw
In reply to [email protected]

Hi Ross

Quoted 10 lines · Ross Burton

From: Ross Burton <[email protected]>

Hi Michael,

Here's a series of patches to add more to the release notes. I'm 99% sure you'll want to reword or add more formatting to most of them, and you probably have more local changes, so I sent them as independent changes which will be easier to rebase.

Feel free to rewrite/squash/edit as needed!

Sure, will do (starting right now).
In particular, I will add the missing "Signed-off-by" line. It's not the first time you forget ;-)

Many thanks!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#22 lore raw
Quoted 12 lines · Michael Opdenacker via lists.yoctoproject.org

Hi Ross

Quoted 9 lines · Ross Burton

From: Ross Burton <[email protected]>

Hi Michael,

Here's a series of patches to add more to the release notes. I'm 99% sure you'll want to reword or add more formatting to most of them, and you probably have more local changes, so I sent them as independent changes which will be easier to rebase.

Quoted 5 lines
Quoted 1 line

Feel free to rewrite/squash/edit as needed!

Sure, will do (starting right now).
In particular, I will add the missing "Signed-off-by" line. It's not the first time you forget ;-)

Done. I added all the SoB lines to each commit.
The commits are now available in master-next.
Many thanks again!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com