diff options
| author | Toby Gomersall <toby.gomersall@smartacoustics.co.uk> | 2020-03-13 16:00:29 +0000 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-08-11 23:47:26 -0700 |
| commit | bd4b6b8bb53cfce3a2d3729b7d465a3b81e51969 (patch) | |
| tree | 185bdb98758ec46935b867bb9a835b02208f2667 /meta-xilinx-bsp/classes | |
| parent | 1ed47f71ea8bc48c16b9924735298ffbb3febe3d (diff) | |
| download | meta-xilinx-bd4b6b8bb53cfce3a2d3729b7d465a3b81e51969.tar.gz | |
Modified image-wic-utils to strip whitespace from entries in IMAGE_BOOT_FILES.
Diffstat (limited to 'meta-xilinx-bsp/classes')
| -rw-r--r-- | meta-xilinx-bsp/classes/image-wic-utils.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/classes/image-wic-utils.bbclass b/meta-xilinx-bsp/classes/image-wic-utils.bbclass index 6f66d553..562f3263 100644 --- a/meta-xilinx-bsp/classes/image-wic-utils.bbclass +++ b/meta-xilinx-bsp/classes/image-wic-utils.bbclass | |||
| @@ -9,7 +9,7 @@ def boot_files_split_expand(d): | |||
| 9 | # IMAGE_BOOT_FILES has extra renaming info in the format '<source>;<target>' | 9 | # IMAGE_BOOT_FILES has extra renaming info in the format '<source>;<target>' |
| 10 | for f in (d.getVar("IMAGE_BOOT_FILES") or "").split(" "): | 10 | for f in (d.getVar("IMAGE_BOOT_FILES") or "").split(" "): |
| 11 | parts = f.split(";", 1) | 11 | parts = f.split(";", 1) |
| 12 | sources = [parts[0]] | 12 | sources = [parts[0].strip()] |
| 13 | if "*" in parts[0]: | 13 | if "*" in parts[0]: |
| 14 | # has glob part | 14 | # has glob part |
| 15 | import glob | 15 | import glob |
| @@ -21,7 +21,7 @@ def boot_files_split_expand(d): | |||
| 21 | # for all sources, yield an entry | 21 | # for all sources, yield an entry |
| 22 | for s in sources: | 22 | for s in sources: |
| 23 | if len(parts) == 2: | 23 | if len(parts) == 2: |
| 24 | yield s, parts[1] | 24 | yield s, parts[1].strip() |
| 25 | yield s, s | 25 | yield s, s |
| 26 | 26 | ||
| 27 | def boot_files_bitstream(d): | 27 | def boot_files_bitstream(d): |
