diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2023-06-13 02:49:31 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-06-14 09:41:35 -0700 |
commit | 3c9494fb772bcb7dc66ed10685d41b82a58377c7 (patch) | |
tree | 9b357f0a8cfde67056021d2286a1453c62cd08b0 /meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch | |
parent | c6581c7179d64cc49221be7284c974d0235d9c9a (diff) | |
download | meta-openembedded-3c9494fb772bcb7dc66ed10685d41b82a58377c7.tar.gz |
redis: use the files path correctly
Recipes are not expected to set FILESPATH directly, they are
expected to use FILESEXTRAPATH.
I can see the seting of FILESPATH in this recipe only wants to
find redis-7 specific patches and files. This could be easily achieved by
using redis-7.0.11/ directory to hold all those files.
Using FILESPATH in this way removes the possibility of overriding
some files (e.g., the redis service file) from other layers via
FILESEXTRAPATH:prepend, which is kind of a common practice and is
actually working for basically all other recipes.
This is because we have:
meta/classes-global/base.bbclass:FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
And FILESEXTRAPATH is handled in base_set_filespath.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch')
0 files changed, 0 insertions, 0 deletions