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 10:11:05 -0700 |
| commit | ed88f93cbbbbec6327637e269e456861dfde51a5 (patch) | |
| tree | 6f259df451bae405195d303dbf720d57aca52c90 /dynamic-layers | |
| parent | 384e8d169a2c408e2cef03ea2deb88fb82058011 (diff) | |
| download | meta-clang-ed88f93cbbbbec6327637e269e456861dfde51a5.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>
Diffstat (limited to 'dynamic-layers')
| -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 | } |
