diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2023-06-13 02:49:31 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-06-15 08:31:05 -0400 |
commit | 26b9ab59fcad04975377a403dafe05aa8acf3a0e (patch) | |
tree | f470f43626d0f76d0d9e9109b9c8584d8d57ca41 /meta-python/recipes-devtools/python/python3-django/CVE-2023-31047.patch | |
parent | 61c1fd069317780bdba68a48f8992b8d6f60646d (diff) | |
download | meta-openembedded-26b9ab59fcad04975377a403dafe05aa8acf3a0e.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: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django/CVE-2023-31047.patch')
0 files changed, 0 insertions, 0 deletions