]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lib: package: Replace ":" in file names
authorJoshua Watt <JPEWhacker@gmail.com>
Thu, 23 May 2024 18:26:55 +0000 (12:26 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Jun 2024 06:47:00 +0000 (07:47 +0100)
The purpose of this translation API is to make sure that the file name
can be used in a bitbake variable without adding special meaning,
therefore the ":" should also be replaced since it is the override
separator

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oe/package.py

index 0fe49c00d6d9e1f63edf291f3e081733f3dc1120..d1303f32bfd140f94c36578ad331cb896360c9d8 100644 (file)
@@ -202,6 +202,7 @@ TRANSLATE = (
     ("[", "@openbrace@"),
     ("]", "@closebrace@"),
     ("_", "@underscore@"),
+    (":", "@colon@"),
 )
 
 def file_translate(file):