Skip to contentSkip to conversation

ref-manual: document KERNEL_LOCALVERSION

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: document KERNEL_LOCALVERSION

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
 documentation/ref-manual/variables.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +10 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version
+      of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION``
+      kernel configuration parameter.
+
+      Using this variable is only useful when you are using a kernel recipe
+      inheriting the :ref:`ref-classes-kernel` class, and which doesn't
+      already set a local version. Therefore, setting this variable has no
+      impact on ``linux-yocto`` kernels.
+
    :term:`EXTERNAL_TOOLCHAIN`
       When you intend to use an
       :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`,
Signature · 1 line
2.34.1
#1 lore raw

Hi Michael

Comment inline.

Kind regards

Daniel

Quoted 16 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
  documentation/ref-manual/variables.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644

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

Quoted 5 lines
documentation/ref-manual/variables.rst +2 -0
@@ -2485,6 +2485,16 @@ 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:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

allows to append

Quoted 22 lines
documentation/ref-manual/variables.rst +8 -1
+      of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION``
+      kernel configuration parameter.
+
+      Using this variable is only useful when you are using a kernel recipe
+      inheriting the :ref:`ref-classes-kernel` class, and which doesn't
+      already set a local version. Therefore, setting this variable has no
+      impact on ``linux-yocto`` kernels.
+
     :term:`EXTERNAL_TOOLCHAIN`
        When you intend to use an
        :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`,
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

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

#2 lore raw

Hi Daniel,

Thanks for the review!

Quoted 22 lines · Daniel Ammann

Hi Michael

Comment inline.

Kind regards

Daniel

Quoted 12 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
  documentation/ref-manual/variables.rst | 10 ++++++++++

  1 file changed, 10 insertions(+)
Quoted 12 lines
Quoted 10 lines
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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:KERNEL_LOCALVERSION
+      This variable allows to appends a string to the version

allows to append

Oops, good catch. Fixed in master-next.
Thanks again,
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
In reply to [email protected]

Hi Michael,

just a small typo, otherwise a good description.

Quoted 16 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
 documentation/ref-manual/variables.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644

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

Quoted 5 lines
documentation/ref-manual/variables.rst +2 -0
@@ -2485,6 +2485,16 @@ 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:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

s/appends/append/

Thanks and best regards
Ulrich

Quoted 11 lines
documentation/ref-manual/variables.rst +8 -0
+      of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION``
+      kernel configuration parameter.
+
+      Using this variable is only useful when you are using a kernel recipe
+      inheriting the :ref:`ref-classes-kernel` class, and which doesn't
+      already set a local version. Therefore, setting this variable has no
+      impact on ``linux-yocto`` kernels.
+
    :term:`EXTERNAL_TOOLCHAIN`
       When you intend to use an
       :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`,
Signature · 4 lines
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#7 lore raw
In reply to a message not in the archive
Quoted 24 lines · Ulrich Ölmann

Hi Michael,

just a small typo, otherwise a good description.

Quoted 19 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
 documentation/ref-manual/variables.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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.
 
Quoted 4 lines

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

Quoted 2 lines
documentation/ref-manual/variables.rst +2 -0
+   :term:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

s/appends/append/

Urgs, it's better to read the whole thread before replying - this has already been addressed before. Sorry for the noise!

Best regards
Ulrich

Quoted 15 lines

Thanks and best regards
Ulrich

Quoted 11 lines
documentation/ref-manual/variables.rst +8 -0
+      of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION``
+      kernel configuration parameter.
+
+      Using this variable is only useful when you are using a kernel recipe
+      inheriting the :ref:`ref-classes-kernel` class, and which doesn't
+      already set a local version. Therefore, setting this variable has no
+      impact on ``linux-yocto`` kernels.
+
    :term:`EXTERNAL_TOOLCHAIN`
       When you intend to use an
       :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`,
Signature · 4 lines
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#8 lore raw
Quoted 25 lines · Ulrich Ölmann
Quoted 24 lines · Ulrich Ölmann

Hi Michael,

just a small typo, otherwise a good description.

Quoted 19 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
  documentation/ref-manual/variables.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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.
 
Quoted 5 lines
Quoted 3 lines

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

Quoted 2 lines
documentation/ref-manual/variables.rst +2 -0
+   :term:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

s/appends/append/

Urgs, it's better to read the whole thread before replying - this has already been addressed before. Sorry for the noise!

No problem, I sometimes do this too.
Thanks for the review anyway!
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw
In reply to Ulrich Ölmann
Quoted 24 lines · Ulrich Ölmann

Hi Michael,

just a small typo, otherwise a good description.

Quoted 19 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
 documentation/ref-manual/variables.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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.
 
Quoted 4 lines

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

Quoted 2 lines
documentation/ref-manual/variables.rst +2 -0
+   :term:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

s/appends/append/

i don't like that variation either ... why not just "allows
appending". or, better yet, "supports appending"?

rday

#5 lore raw
Quoted 26 lines · Robert P. J. Day
Quoted 24 lines · Ulrich Ölmann

Hi Michael,

just a small typo, otherwise a good description.

Quoted 19 lines · Michael Opdenacker via lists.yoctoproject.org

From: Michael Opdenacker <[email protected]>

Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0

---
  documentation/ref-manual/variables.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 03234d3f78..771eb91af6 100644
@@ -2485,6 +2485,16 @@ 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.
 
Quoted 5 lines
Quoted 3 lines

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

Quoted 2 lines
documentation/ref-manual/variables.rst +2 -0
+   :term:`KERNEL_LOCALVERSION`
+      This variable allows to appends a string to the version

s/appends/append/

i don't like that variation either ... why not just "allows
appending". or, better yet, "supports appending"?

Oops, too late, as the commit already made it into "master".
Maybe you could send a wider patch replacing instances of "allows to" by something you think sounds better.

Thanks!
Michael.

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