Skip to contentSkip to conversation

bitbake-user-manual: update allowed characters in overrides

PATCH In review Michael Opdenacker 2 participants 2 messages Mar 7, 2022 – Mar 10, 2022 1 message not in the archive

lore
Share & tools
lore

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

#1 lore raw

PATCH 1/1 bitbake-user-manual: update allowed characters in overrides

---

An open question is whether digits and/or hashes are allowed at the begining of an override keyword. Will be happy to send a V2 to explicit this if needed.

 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +2 -2
index b90e5cf0..104dcb6c 100644
@@ -510,8 +510,8 @@ variable.
 
 .. note::
 
-   Overrides can only use lower-case characters. Additionally,
-   colons are not permitted in override names as they are used to
+   Overrides can only use lower-case characters, digits and dashes.
+   In particular, colons are not permitted in override names as they are used to
    separate overrides from each other and from the variable name.
 
 -  *Selecting a Variable:* The :term:`OVERRIDES` variable is a
Signature · 1 line
2.25.1
#2 lore raw

Hi Michael,

Quoted 4 lines · Michael Opdenacker via lists.openembedded.org

---

An open question is whether digits and/or hashes are

I assume the question is about dashes (same question for underscores BTW).

Quoted 11 lines

allowed at the begining of an override keyword. Will be happy to send a V2 to explicit this if needed.

  doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +0 -0
index b90e5cf0..104dcb6c 100644

doc/bitbake-user-manual/bitbake-user-manual-metadata.rst variable. · line 513

Quoted 6 lines
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +1 -2
@@ -510,8 +510,8 @@ variable.
 
  .. note::
 
-   Overrides can only use lower-case characters. Additionally,
-   colons are not permitted in override names as they are used to
+   Overrides can only use lower-case characters, digits and dashes.

and underscores too!

Cheers,
Quentin