Skip to contentSkip to conversation

Add Miscellaneous changes and QEMU changes

PATCH Superseded [email protected] 2 participants 8 messages Apr 5, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add Miscellaneous changes and QEMU changes

From: Joao Marcos Costa <[email protected]>

Hello,

The first patch, concerning the removed variables, should have been sent in the first series, but I overlooked that. Regarding the others, they address the remaining sections and, unless I'm mistaken, the migration doc is complete.

Best regards,

Joao Marcos Costa (6):
migration-guides: list removed variables
migration: add QEMU changes
migration: add Miscellaneous changes
migration: end sentences with a dot
migration: add a second space after the items
migration: replace dashes by colons

 .../migration-guides/migration-5.0.rst        | 22 +++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/6 migration-guides: list removed variables

From: Joao Marcos Costa <[email protected]>

Fill the 'Removed variables' section for the upcoming release 5.0

---
 documentation/migration-guides/migration-5.0.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
documentation/migration-guides/migration-5.0.rst +8 -0
index 902cc11bf..ab6b191cf 100644
@@ -89,6 +89,14 @@ Removed variables
 
 The following variables have been removed:
 
+-  ``DEPLOY_DIR_TAR``
+-  ``PYTHON_PN`` - Python 2 has been removed, leaving Python 3 as the sole
+   major version. Therefore, an abstraction to differentiate both versions is
+   no longer needed.
+-  ``oldincludedir``
+-  ``USE_L10N`` - previously deprecated, and now removed
+-  ``CVE_SOCKET_TIMEOUT``
+
 .. _migration-5.0-removed-recipes:
 
 Removed recipes
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/6 migration: add QEMU changes

In reply to [email protected]

From: Joao Marcos Costa <[email protected]>

---
 documentation/migration-guides/migration-5.0.rst | 4 ++++
 1 file changed, 4 insertions(+)
documentation/migration-guides/migration-5.0.rst +4 -0
index ab6b191cf..72af77083 100644
@@ -121,6 +121,10 @@ No classes have been removed in this release.
 QEMU changes
 ~~~~~~~~~~~~
 
+In ``tune-core2``, the cpu models ``n270`` and ``core2duo`` are no longer
+passed to QEMU, since its documentation recommends not using them with ``-cpu``
+option. Therefore, from now on, ``Nehalem`` model is used instead.
+
 .. _migration-5.0-misc-changes:
 
 Miscellaneous changes
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/6 migration: add Miscellaneous changes

In reply to [email protected]

From: Joao Marcos Costa <[email protected]>

---
 documentation/migration-guides/migration-5.0.rst | 2 ++
 1 file changed, 2 insertions(+)
documentation/migration-guides/migration-5.0.rst +2 -0
index 72af77083..157a95733 100644
@@ -130,3 +130,5 @@ option. Therefore, from now on, ``Nehalem`` model is used instead.
 Miscellaneous changes
 ~~~~~~~~~~~~~~~~~~~~~
 
+-  ``bitbake-whatchanged`` script was removed.
+-  ``ccache`` no longer supports FORTRAN.
Signature · 1 line
2.43.0
#4 lore raw

PATCH 4/6 migration: end sentences with a dot

In reply to [email protected]

From: Joao Marcos Costa <[email protected]>

It seems coherent with the previous release notes.

---
 documentation/migration-guides/migration-5.0.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
documentation/migration-guides/migration-5.0.rst +5 -5
index 157a95733..b03b7ec8c 100644
@@ -89,13 +89,13 @@ Removed variables
 
 The following variables have been removed:
 
--  ``DEPLOY_DIR_TAR``
+-  ``DEPLOY_DIR_TAR``.
 -  ``PYTHON_PN`` - Python 2 has been removed, leaving Python 3 as the sole
    major version. Therefore, an abstraction to differentiate both versions is
    no longer needed.
--  ``oldincludedir``
--  ``USE_L10N`` - previously deprecated, and now removed
--  ``CVE_SOCKET_TIMEOUT``
+-  ``oldincludedir``.
+-  ``USE_L10N`` - previously deprecated, and now removed.
+-  ``CVE_SOCKET_TIMEOUT``.
 
 .. _migration-5.0-removed-recipes:
 
@@ -106,7 +106,7 @@ The following recipes have been removed in this release:
 
 - ``libcroco``: deprecated and archived by the Gnome Project.
 - ``linux-yocto``: version 6.1 (version 6.6 provided instead).
-- ``zvariant``: fails to build with newer Rust
+- ``zvariant``: fails to build with newer Rust.
 - ``systemtap-uprobes``: obsolete.
 
 .. _migration-5.0-removed-classes:
Signature · 1 line
2.43.0
#5 lore raw

PATCH 5/6 migration: add a second space after the items

In reply to [email protected]

From: Joao Marcos Costa <[email protected]>

One space was missing between the dash and the backward tick.

---
 documentation/migration-guides/migration-5.0.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/migration-guides/migration-5.0.rst +4 -4
index b03b7ec8c..301b7a3d2 100644
@@ -104,10 +104,10 @@ Removed recipes
 
 The following recipes have been removed in this release:
 
-- ``libcroco``: deprecated and archived by the Gnome Project.
-- ``linux-yocto``: version 6.1 (version 6.6 provided instead).
-- ``zvariant``: fails to build with newer Rust.
-- ``systemtap-uprobes``: obsolete.
+-  ``libcroco``: deprecated and archived by the Gnome Project.
+-  ``linux-yocto``: version 6.1 (version 6.6 provided instead).
+-  ``zvariant``: fails to build with newer Rust.
+-  ``systemtap-uprobes``: obsolete.
 
 .. _migration-5.0-removed-classes:
 
Signature · 1 line
2.43.0
#6 lore raw

PATCH 6/6 migration: replace dashes by colons

In reply to [email protected]

From: Joao Marcos Costa <[email protected]>

---
 documentation/migration-guides/migration-5.0.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/migration-guides/migration-5.0.rst +2 -2
index 301b7a3d2..888a1c60d 100644
@@ -90,11 +90,11 @@ Removed variables
 The following variables have been removed:
 
 -  ``DEPLOY_DIR_TAR``.
--  ``PYTHON_PN`` - Python 2 has been removed, leaving Python 3 as the sole
+-  ``PYTHON_PN``: Python 2 has been removed, leaving Python 3 as the sole
    major version. Therefore, an abstraction to differentiate both versions is
    no longer needed.
 -  ``oldincludedir``.
--  ``USE_L10N`` - previously deprecated, and now removed.
+-  ``USE_L10N``: previously deprecated, and now removed.
 -  ``CVE_SOCKET_TIMEOUT``.
 
 .. _migration-5.0-removed-recipes:
Signature · 1 line
2.43.0
#7 lore raw

Re: [PATCH v1 6/6] migration: replace dashes by colons

Hi João,

Quoted 15 lines · On 4/5/24 at 16:34, [email protected] wrote:

From: Joao Marcos Costa <[email protected]>

---
  documentation/migration-guides/migration-5.0.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
documentation/migration-guides/migration-5.0.rst +0 -0
index 301b7a3d2..888a1c60d 100644
@@ -90,11 +90,11 @@ Removed variables
  The following variables have been removed:
 
  -  ``DEPLOY_DIR_TAR``.

documentation/migration-guides/migration-5.0.rst Removed variables · line 100

Quoted 10 lines
documentation/migration-guides/migration-5.0.rst +2 -2
--  ``PYTHON_PN`` - Python 2 has been removed, leaving Python 3 as the sole
+-  ``PYTHON_PN``: Python 2 has been removed, leaving Python 3 as the sole
     major version. Therefore, an abstraction to differentiate both versions is
     no longer needed.
  -  ``oldincludedir``.
--  ``USE_L10N`` - previously deprecated, and now removed.
+-  ``USE_L10N``: previously deprecated, and now removed.
  -  ``CVE_SOCKET_TIMEOUT``.
 
  .. _migration-5.0-removed-recipes:

Thanks, but don't show us your fixes to your own code. In the git history, we want only "clean" commits whenever possible.

You should squash 4/6 and 6/6 into 1/6.

Actually, your commits could all be grouped into a single one, as they touch the same file. It's better not to have too many commits.

Except for 5/6, I'll take care of squashing it into the commit it fixes. So, rebase your changes against master-next in a few minutes.

Thanks
Michael.

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