mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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:
committed by
Richard Purdie
parent
242be0888c
commit
dd148a0a4e
@@ -202,6 +202,7 @@ TRANSLATE = (
|
|||||||
("[", "@openbrace@"),
|
("[", "@openbrace@"),
|
||||||
("]", "@closebrace@"),
|
("]", "@closebrace@"),
|
||||||
("_", "@underscore@"),
|
("_", "@underscore@"),
|
||||||
|
(":", "@colon@"),
|
||||||
)
|
)
|
||||||
|
|
||||||
def file_translate(file):
|
def file_translate(file):
|
||||||
|
|||||||
Reference in New Issue
Block a user