diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2023-07-12 14:00:48 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-07-12 22:09:38 -0700 |
commit | 090177211b2682d5ae3361e37d0d7f49667aa47a (patch) | |
tree | a37cd0e2ee80770072fd0b40fc6958ad081b9867 /dynamic-layers/openembedded-layer | |
parent | 6c835e5c4a7e6cfaf44d3714e6bd2e7b196a8378 (diff) | |
download | meta-clang-090177211b2682d5ae3361e37d0d7f49667aa47a.tar.gz |
bcc: fix some of python script with wrong shebang
examples/tracing/nflatency.py has already upgraded the shebang to python3 on upstream,
so when we apply the do_install:append function, the shebang of nflatency.py become
/usr/bin/env python33
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb index 530b468..105995d 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb | |||
@@ -58,7 +58,7 @@ EXTRA_OECMAKE = " \ | |||
58 | do_install:append() { | 58 | do_install:append() { |
59 | sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \ | 59 | sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \ |
60 | -i $(find ${D}${datadir}/${PN} -type f) | 60 | -i $(find ${D}${datadir}/${PN} -type f) |
61 | sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ | 61 | sed -e 's@#!/usr/bin/python.*@#!/usr/bin/env python3@g' \ |
62 | -i $(find ${D}${datadir}/${PN} -type f) | 62 | -i $(find ${D}${datadir}/${PN} -type f) |
63 | } | 63 | } |
64 | 64 | ||