diff options
author | He Zhe <zhe.he@windriver.com> | 2020-02-22 11:37:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-22 23:57:27 +0000 |
commit | 3a1a18ba9d28adb5562eabe9ec354f6d93154f5c (patch) | |
tree | 758afa77b8193484bff97f87c7028dea0d4ac75d /meta/recipes-kernel/make-mod-scripts | |
parent | 28333a851ffee3f5865ec97a8d098022efaf5147 (diff) | |
download | poky-3a1a18ba9d28adb5562eabe9ec354f6d93154f5c.tar.gz |
perf: Correct the substitution of python shebangs
To make the native python3 always used,
- Use sed one-liner instead
- Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the
following warning.
File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata'
This issue is first reported by Joel Stanley <joel@jms.id.au>
The sed one-liner is credited to Anuj Mittal <anuj.mittal@intel.com>
(From OE-Core rev: 3f93173130a94310255389cfc62c67102a4fb21b)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/make-mod-scripts')
0 files changed, 0 insertions, 0 deletions