diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2024-05-23 12:26:55 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-03 07:47:04 +0100 |
| commit | dd148a0a4e649e958dd0676bf5559e608a3ddf87 (patch) | |
| tree | 382d2d7f8b5c650429f2aba9e5763ea634ec3436 | |
| parent | 242be0888c80df082c7f19f2bce6afaaac095d7d (diff) | |
| download | poky-dd148a0a4e649e958dd0676bf5559e608a3ddf87.tar.gz | |
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>
| -rw-r--r-- | meta/lib/oe/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 0fe49c00d6..d1303f32bf 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
| @@ -202,6 +202,7 @@ TRANSLATE = ( | |||
| 202 | ("[", "@openbrace@"), | 202 | ("[", "@openbrace@"), |
| 203 | ("]", "@closebrace@"), | 203 | ("]", "@closebrace@"), |
| 204 | ("_", "@underscore@"), | 204 | ("_", "@underscore@"), |
| 205 | (":", "@colon@"), | ||
| 205 | ) | 206 | ) |
| 206 | 207 | ||
| 207 | def file_translate(file): | 208 | def file_translate(file): |
