diff options
| -rw-r--r-- | meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch | 35 | ||||
| -rw-r--r-- | meta/recipes-kernel/blktrace/blktrace_git.bb | 4 |
2 files changed, 38 insertions, 1 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch b/meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch new file mode 100644 index 0000000000..a3b8a98589 --- /dev/null +++ b/meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From b8d9618cbbec5a04cf6dede0a6ceda41021b92ae Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sakib Sajal <sakib.sajal@windriver.com> | ||
| 3 | Date: Mon, 26 Jun 2023 17:34:01 -0400 | ||
| 4 | Subject: [PATCH] bno_plot.py, btt_plot.py: Ask for python3 specifically | ||
| 5 | |||
| 6 | python2 is deprecated, use python3. | ||
| 7 | |||
| 8 | Upstream-Status: Denied [https://www.spinics.net/lists/linux-btrace/msg01364.html] | ||
| 9 | |||
| 10 | Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> | ||
| 11 | --- | ||
| 12 | btt/bno_plot.py | 2 +- | ||
| 13 | btt/btt_plot.py | 2 +- | ||
| 14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/btt/bno_plot.py b/btt/bno_plot.py | ||
| 17 | index 3aa4e19..d7d7159 100644 | ||
| 18 | --- a/btt/bno_plot.py | ||
| 19 | +++ b/btt/bno_plot.py | ||
| 20 | @@ -1,4 +1,4 @@ | ||
| 21 | -#! /usr/bin/env python | ||
| 22 | +#! /usr/bin/env python3 | ||
| 23 | # | ||
| 24 | # btt blkno plotting interface | ||
| 25 | # | ||
| 26 | diff --git a/btt/btt_plot.py b/btt/btt_plot.py | ||
| 27 | index 40bc71f..8620d31 100755 | ||
| 28 | --- a/btt/btt_plot.py | ||
| 29 | +++ b/btt/btt_plot.py | ||
| 30 | @@ -1,4 +1,4 @@ | ||
| 31 | -#! /usr/bin/env python | ||
| 32 | +#! /usr/bin/env python3 | ||
| 33 | # | ||
| 34 | # btt_plot.py: Generate matplotlib plots for BTT generate data files | ||
| 35 | # | ||
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb index d0eeba3208..288784236a 100644 --- a/meta/recipes-kernel/blktrace/blktrace_git.bb +++ b/meta/recipes-kernel/blktrace/blktrace_git.bb | |||
| @@ -14,7 +14,9 @@ SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb" | |||
| 14 | 14 | ||
| 15 | PV = "1.3.0+git${SRCPV}" | 15 | PV = "1.3.0+git${SRCPV}" |
| 16 | 16 | ||
| 17 | SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https" | 17 | SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \ |
| 18 | file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \ | ||
| 19 | " | ||
| 18 | 20 | ||
| 19 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| 20 | 22 | ||
