diff options
-rw-r--r-- | meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch | 35 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.22.bb | 3 |
2 files changed, 37 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch new file mode 100644 index 0000000000..54cd096e4f --- /dev/null +++ b/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 436163ab845c263312cf3d4717a43727cf5f0747 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matteo Croce <mcroce@microsoft.com> | ||
3 | Date: Wed, 15 Sep 2021 17:54:01 +0200 | ||
4 | Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3 | ||
5 | |||
6 | Upstream-Status: inappropriate [OE specific] | ||
7 | |||
8 | --- | ||
9 | ostra/ostra-cg | 2 +- | ||
10 | ostra/python/ostra.py | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/ostra/ostra-cg b/ostra/ostra-cg | ||
14 | index 52c902e..8142e67 100755 | ||
15 | --- a/ostra/ostra-cg | ||
16 | +++ b/ostra/ostra-cg | ||
17 | @@ -1,4 +1,4 @@ | ||
18 | -#!/usr/bin/python3 | ||
19 | +#!/usr/bin/env python3 | ||
20 | # ostra-cg - generate callgraphs from encoded trace | ||
21 | # | ||
22 | # Arnaldo Carvalho de Melo <acme@redhat.com> | ||
23 | diff --git a/ostra/python/ostra.py b/ostra/python/ostra.py | ||
24 | index 86fe079..9bb5ad1 100755 | ||
25 | --- a/ostra/python/ostra.py | ||
26 | +++ b/ostra/python/ostra.py | ||
27 | @@ -1,4 +1,4 @@ | ||
28 | -#!/usr/bin/python3 | ||
29 | +#!/usr/bin/env python3 | ||
30 | # | ||
31 | # Copyright (C) 2005, 2006, 2007 Arnaldo Carvalho de Melo | ||
32 | # | ||
33 | -- | ||
34 | 2.31.1 | ||
35 | |||
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb index db7d88cdf6..bdf9598e97 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb | |||
@@ -9,7 +9,8 @@ COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux" | |||
9 | 9 | ||
10 | SRCREV = "f02af2553ea58ae1186226af0d0ec835a248358f" | 10 | SRCREV = "f02af2553ea58ae1186226af0d0ec835a248358f" |
11 | SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git \ | 11 | SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git \ |
12 | file://0001-CMakeList.txt-make-python-optional.patch" | 12 | file://0001-CMakeList.txt-make-python-optional.patch \ |
13 | file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch" | ||
13 | 14 | ||
14 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
15 | 16 | ||