mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
`devtool` uses `copy_recipe_files` for the upgrade operation when creating the new, workspace recipe. Before handling the copy operations, the function checks the entry in `SRC_URI` against `FILE` while in turn uses absolute paths. When BBLAYERS contains entries that are not normalised, this check will fail resulting in having the recipe in the workspace without the initial patches. Signef-off-by: Robert Drab <robert.drab@huawei.com> (From OE-Core rev: 777fc24ab2c332954b56dac28cd9b3032808828c) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c640057eda
commit
cbb794f9dd
@@ -409,7 +409,7 @@ def copy_recipe_files(d, tgt_dir, whole_dir=False, download=True, all_variants=F
|
||||
fetch.download()
|
||||
for pth in fetch.localpaths():
|
||||
if pth not in localpaths:
|
||||
localpaths.append(pth)
|
||||
localpaths.append(os.path.abspath(pth))
|
||||
uri_values.append(srcuri)
|
||||
|
||||
fetch_urls(d)
|
||||
|
||||
Reference in New Issue
Block a user