]> code.ossystems Code Review - openembedded-core.git/commit
oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Thu, 18 Feb 2021 21:14:03 +0000 (21:14 +0000)
committerSteve Sakoman <steve@sakoman.com>
Thu, 4 Mar 2021 14:19:50 +0000 (04:19 -1000)
commit7677ba25994ab6807519f3920c8cf6ad414ac415
treef53917634b7a65b070840324903a3b34f579d7da
parent00af6882a24ca69f9e8147546a220dc73e4d6087
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>
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 777fc24ab2c332954b56dac28cd9b3032808828c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/recipeutils.py