Skip to contentSkip to conversation

Clarify that _ and not : is used for suffixing the variable name.

PATCH In review Simon A. Eugster 2 participants 6 messages Sep 20, 2024 – Dec 4, 2024

lore
Share & tools
lore
#0 lore raw

cover Clarify that _ and not : is used for suffixing the variable name.

Simon A. Eugster (1):
bitbake: doc: suffix for BBFILE_PRIORITY

 .../bitbake-user-manual-ref-variables.rst                   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/1 bitbake: doc: suffix for BBFILE_PRIORITY

---
 .../bitbake-user-manual-ref-variables.rst                   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +5 -1
index 899e584f91..c203531f51 100644
@@ -766,6 +766,10 @@ overview of their function and contents.
    :term:`BBFILE_PRIORITY`
       Assigns the priority for recipe files in each layer.
 
+      This variable is used in the ``conf/layer.conf`` file and must be
+      suffixed with a `_` followed by the name of the specific layer (e.g.
+      ``BBFILE_PRIORITY_emenlow``). Colon as separator is not supported.
+
       This variable is useful in situations where the same recipe appears
       in more than one layer. Setting this variable allows you to
       prioritize a layer against other layers that contain the same recipe
@@ -780,7 +784,7 @@ overview of their function and contents.
       higher precedence. For example, the value 6 has a higher precedence
       than the value 5. If not specified, the :term:`BBFILE_PRIORITY` variable
       is set based on layer dependencies (see the :term:`LAYERDEPENDS` variable
-      for more information. The default priority, if unspecified for a
+      for more information). The default priority, if unspecified for a
       layer with no dependencies, is the lowest defined priority + 1 (or 1
       if no priorities are defined).
 
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#2 lore raw

Re: [docs] [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY

Hi Simon,

Quoted 2 lines · Simon A. Eugster via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Please try to always have some commit log to explain what's going on in the commit. It is useful if one does git log without -p/--patch or if additional "metadata"/context to the code is important. E.g. here, you could have said that you were confused by the use of the underscore instead of the colon so you are now making this explicit.

I don't think it's warranted to send a v2 just for that, just think about it for your next contribution!

Quoted 1 line

Thanks!
Quentin

#3 lore raw

Re: [docs] [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY

Hi Quentin,

thanks for the feedback. Will do that for the next patch!

Simon

Quoted 24 lines · Quentin Schulz

Hi Simon,

Quoted 1 line · Simon A. Eugster via lists.yoctoproject.org

[You don't often get email from simon.eu=

[email protected]. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]

Quoted 1 line

Please try to always have some commit log to explain what's going on in the commit. It is useful if one does git log without -p/--patch or if additional "metadata"/context to the code is important. E.g. here, you could have said that you were confused by the use of the underscore instead of the colon so you are now making this explicit.

I don't think it's warranted to send a v2 just for that, just think about it for your next contribution!

Quoted 1 line

Thanks!
Quentin

#5 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY

Re-adding the docs mailing list.

Quoted 13 lines · Simon A. Eugster via lists.openembedded.org

You don't often get email from [email protected]. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
PS: Is this patch going to be merged?

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