diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2023-05-28 12:41:06 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-30 18:19:58 -0700 |
commit | 788bae27ae1ac5a2d6b940877fff5459dbfdd263 (patch) | |
tree | 2c5734a39e85602d1a31b73b5940a105ad5090a8 | |
parent | b8839dee9dfc1a4dad45b6219709a323c9493500 (diff) | |
download | meta-clang-788bae27ae1ac5a2d6b940877fff5459dbfdd263.tar.gz |
bcc: updating the shebang of python scripts in tools to python3
the upstream changed the shebang of python scripts in tools folder[1],
this would cause do_install:append cannot conver all scripts.
[1] https://github.com/iovisor/bcc/commit/3f5e402bcadf44ce0250864db52673bf7317797b
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.26.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.26.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.26.0.bb index 9bd6b4f..ba773b6 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.26.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.26.0.bb | |||
@@ -55,6 +55,8 @@ EXTRA_OECMAKE = " \ | |||
55 | " | 55 | " |
56 | 56 | ||
57 | do_install:append() { | 57 | do_install:append() { |
58 | sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \ | ||
59 | -i $(find ${D}${datadir}/${PN} -type f) | ||
58 | sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ | 60 | sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ |
59 | -i $(find ${D}${datadir}/${PN} -type f) | 61 | -i $(find ${D}${datadir}/${PN} -type f) |
60 | } | 62 | } |