lib: package: Replace ":" in file names

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

(From OE-Core rev: b87eb329f20e40c1658460af7ff649aa099f0f36)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2024-05-23 12:26:55 -06:00
committed by Richard Purdie
parent 242be0888c
commit dd148a0a4e

View File

@@ -202,6 +202,7 @@ TRANSLATE = (
("[", "@openbrace@"),
("]", "@closebrace@"),
("_", "@underscore@"),
(":", "@colon@"),
)
def file_translate(file):