]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Feb 2021 10:59:57 +0000 (10:59 +0000)
commit777fc24ab2c332954b56dac28cd9b3032808828c
treeaae56b6c18ff9754c1d50db3a6b67458aebb799a
parentfc7bd81cfe52c35fe26d146c1def8a7493bd2e25
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>
meta/lib/oe/recipeutils.py