* [PATCH] ref-manual: document KERNEL_LOCALVERSION
@ 2023-10-27 9:29 michael.opdenacker
2023-10-27 11:27 ` [docs] " Daniel Ammann
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: michael.opdenacker @ 2023-10-27 9:29 UTC (permalink / raw)
To: docs; +Cc: Michael Opdenacker, Bruce Ashfield
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
---
documentation/ref-manual/variables.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 03234d3f78..771eb91af6 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -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>`,
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-10-27 9:29 [PATCH] ref-manual: document KERNEL_LOCALVERSION michael.opdenacker
@ 2023-10-27 11:27 ` Daniel Ammann
2023-10-27 15:09 ` Michael Opdenacker
2023-11-02 9:55 ` Ulrich Ölmann
[not found] ` <1793C5EB6ECDE964.11290@lists.yoctoproject.org>
2 siblings, 1 reply; 8+ messages in thread
From: Daniel Ammann @ 2023-10-27 11:27 UTC (permalink / raw)
To: michael.opdenacker, docs
Hi Michael
Comment inline.
Kind regards
Daniel
On 10/27/23 11:29, Michael Opdenacker via lists.yoctoproject.org wrote:
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>
> Introduced by
> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
> documentation/ref-manual/variables.rst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index 03234d3f78..771eb91af6 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -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
> + 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: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [daniel.ammann@bytesatwork.ch]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-10-27 11:27 ` [docs] " Daniel Ammann
@ 2023-10-27 15:09 ` Michael Opdenacker
0 siblings, 0 replies; 8+ messages in thread
From: Michael Opdenacker @ 2023-10-27 15:09 UTC (permalink / raw)
To: Daniel Ammann; +Cc: docs
Hi Daniel,
Thanks for the review!
On 27.10.23 at 13:27, Daniel Ammann wrote:
> Hi Michael
>
> Comment inline.
>
> Kind regards
>
> Daniel
>
>
> On 10/27/23 11:29, Michael Opdenacker via lists.yoctoproject.org wrote:
>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>
>> Introduced by
>> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>>
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
>> ---
>> documentation/ref-manual/variables.rst | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/documentation/ref-manual/variables.rst
>> b/documentation/ref-manual/variables.rst
>> index 03234d3f78..771eb91af6 100644
>> --- a/documentation/ref-manual/variables.rst
>> +++ b/documentation/ref-manual/variables.rst
>> @@ -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.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-10-27 9:29 [PATCH] ref-manual: document KERNEL_LOCALVERSION michael.opdenacker
2023-10-27 11:27 ` [docs] " Daniel Ammann
@ 2023-11-02 9:55 ` Ulrich Ölmann
2023-11-02 14:52 ` Robert P. J. Day
[not found] ` <1793C5EB6ECDE964.11290@lists.yoctoproject.org>
2 siblings, 1 reply; 8+ messages in thread
From: Ulrich Ölmann @ 2023-11-02 9:55 UTC (permalink / raw)
To: michael.opdenacker
Cc: Bruce Ashfield, Michael Opdenacker via lists.yoctoproject.org,
docs
Hi Michael,
just a small typo, otherwise a good description.
On Fri, Oct 27 2023 at 11:29 +0200, "Michael Opdenacker via lists.yoctoproject.org" <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>
> Introduced by
> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
> documentation/ref-manual/variables.rst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index 03234d3f78..771eb91af6 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -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
> + 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>`,
--
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 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
[not found] ` <1793C5EB6ECDE964.11290@lists.yoctoproject.org>
@ 2023-11-02 10:01 ` Ulrich Ölmann
2023-11-02 13:33 ` Michael Opdenacker
0 siblings, 1 reply; 8+ messages in thread
From: Ulrich Ölmann @ 2023-11-02 10:01 UTC (permalink / raw)
To: Ulrich Ölmann
Cc: michael.opdenacker, Bruce Ashfield,
Michael Opdenacker via lists.yoctoproject.org, docs
On Thu, Nov 02 2023 at 10:55 +0100, Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
> Hi Michael,
>
> just a small typo, otherwise a good description.
>
> On Fri, Oct 27 2023 at 11:29 +0200, "Michael Opdenacker via lists.yoctoproject.org" <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>
>> Introduced by
>> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
>> ---
>> documentation/ref-manual/variables.rst | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
>> index 03234d3f78..771eb91af6 100644
>> --- a/documentation/ref-manual/variables.rst
>> +++ b/documentation/ref-manual/variables.rst
>> @@ -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/
Urgs, it's better to read the whole thread before replying - this has
already been addressed before. Sorry for the noise!
Best regards
Ulrich
> Thanks and best regards
> Ulrich
>
>
>> + 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>`,
--
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 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-11-02 10:01 ` Ulrich Ölmann
@ 2023-11-02 13:33 ` Michael Opdenacker
0 siblings, 0 replies; 8+ messages in thread
From: Michael Opdenacker @ 2023-11-02 13:33 UTC (permalink / raw)
To: Ulrich Ölmann
Cc: Bruce Ashfield, Michael Opdenacker via lists.yoctoproject.org,
docs
On 02.11.23 at 11:01, Ulrich Ölmann wrote:
> On Thu, Nov 02 2023 at 10:55 +0100, Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
>> Hi Michael,
>>
>> just a small typo, otherwise a good description.
>>
>> On Fri, Oct 27 2023 at 11:29 +0200, "Michael Opdenacker via lists.yoctoproject.org" <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
>>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>>
>>> Introduced by
>>> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>>>
>>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
>>> ---
>>> documentation/ref-manual/variables.rst | 10 ++++++++++
>>> 1 file changed, 10 insertions(+)
>>>
>>> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
>>> index 03234d3f78..771eb91af6 100644
>>> --- a/documentation/ref-manual/variables.rst
>>> +++ b/documentation/ref-manual/variables.rst
>>> @@ -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/
> 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.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-11-02 9:55 ` Ulrich Ölmann
@ 2023-11-02 14:52 ` Robert P. J. Day
2023-11-02 15:17 ` Michael Opdenacker
0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2023-11-02 14:52 UTC (permalink / raw)
To: Ulrich Ölmann
Cc: michael.opdenacker, Bruce Ashfield,
Michael Opdenacker via lists.yoctoproject.org, docs
[-- Attachment #1: Type: text/plain, Size: 1384 bytes --]
On Thu, 2 Nov 2023, Ulrich Ölmann wrote:
> Hi Michael,
>
> just a small typo, otherwise a good description.
>
> On Fri, Oct 27 2023 at 11:29 +0200, "Michael Opdenacker via lists.yoctoproject.org" <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
> > From: Michael Opdenacker <michael.opdenacker@bootlin.com>
> >
> > Introduced by
> > https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
> >
> > Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> > CC: Bruce Ashfield <bruce.ashfield@gmail.com>
> > ---
> > documentation/ref-manual/variables.rst | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> >
> > diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> > index 03234d3f78..771eb91af6 100644
> > --- a/documentation/ref-manual/variables.rst
> > +++ b/documentation/ref-manual/variables.rst
> > @@ -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/
i don't like that variation either ... why not just "allows
appending". or, better yet, "supports appending"?
rday
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [docs] [PATCH] ref-manual: document KERNEL_LOCALVERSION
2023-11-02 14:52 ` Robert P. J. Day
@ 2023-11-02 15:17 ` Michael Opdenacker
0 siblings, 0 replies; 8+ messages in thread
From: Michael Opdenacker @ 2023-11-02 15:17 UTC (permalink / raw)
To: Robert P. J. Day, Ulrich Ölmann; +Cc: Bruce Ashfield, docs
On 02.11.23 at 15:52, Robert P. J. Day wrote:
> On Thu, 2 Nov 2023, Ulrich Ölmann wrote:
>
>> Hi Michael,
>>
>> just a small typo, otherwise a good description.
>>
>> On Fri, Oct 27 2023 at 11:29 +0200, "Michael Opdenacker via lists.yoctoproject.org" <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
>>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>>
>>> Introduced by
>>> https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
>>>
>>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>> CC: Bruce Ashfield <bruce.ashfield@gmail.com>
>>> ---
>>> documentation/ref-manual/variables.rst | 10 ++++++++++
>>> 1 file changed, 10 insertions(+)
>>>
>>> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
>>> index 03234d3f78..771eb91af6 100644
>>> --- a/documentation/ref-manual/variables.rst
>>> +++ b/documentation/ref-manual/variables.rst
>>> @@ -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/
> 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.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-11-02 15:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27 9:29 [PATCH] ref-manual: document KERNEL_LOCALVERSION michael.opdenacker
2023-10-27 11:27 ` [docs] " Daniel Ammann
2023-10-27 15:09 ` Michael Opdenacker
2023-11-02 9:55 ` Ulrich Ölmann
2023-11-02 14:52 ` Robert P. J. Day
2023-11-02 15:17 ` Michael Opdenacker
[not found] ` <1793C5EB6ECDE964.11290@lists.yoctoproject.org>
2023-11-02 10:01 ` Ulrich Ölmann
2023-11-02 13:33 ` Michael Opdenacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox