diff options
author | gael.portay+rtone@gmail.com <gael.portay+rtone@gmail.com> | 2024-10-25 10:22:39 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2024-11-24 20:19:50 -0500 |
commit | dcb1a9142549b542fe8f7908d267e4338f20c65d (patch) | |
tree | c6eccf487655ac17c61a8f54da9ceaa6b6b0847e /dynamic-layers/meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb | |
parent | 8221b0e5caf63263b6f36987b1ffbb4ef29f3ecb (diff) | |
download | meta-security-dcb1a9142549b542fe8f7908d267e4338f20c65d.tar.gz |
sssd: fix path to python3 interpreter
The project uses /usr/bin/python as the path to the python3 interpreter
in the shebang of the python3 script /usr/sbin/sss_obfuscate[1].
OpenEmbedded uses /usr/bin/python3, and thus, it causes bitbake to raise
the QA issue attached below.
This fixes the path to the python3 interpreter by sed'ing the shebang at
do_install if the python3 is set in the PACKAGECONFIG.
Fixes:
NOTE: Executing Tasks
ERROR: sssd-2.9.2-r0 do_package_qa: QA Issue: /usr/sbin/sss_obfuscate contained in package sssd-python requires /usr/bin/python, but no providers found in RDEPENDS:sssd-python? [file-rdeps]
ERROR: sssd-2.9.2-r0 do_package_qa: Fatal QA errors were found, failing task.
[1]: https://github.com/SSSD/sssd/blob/2.5.2/src/tools/sss_obfuscate#L1
Signed-off-by: Gaƫl PORTAY <gael.portay+rtone@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'dynamic-layers/meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb')
0 files changed, 0 insertions, 0 deletions