diff options
| author | Sakib Sajal <sakib.sajal@windriver.com> | 2023-06-26 18:01:34 -0400 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-01 08:37:25 -1000 |
| commit | 84dd3d0e6c90656f2a7105aabd303a62fa49eeba (patch) | |
| tree | c9d59dc62dc93e5baa21876675f8f0ebecf87549 | |
| parent | b8580d79d1a8a60832782bb3fe48e8a289a4c305 (diff) | |
| download | poky-84dd3d0e6c90656f2a7105aabd303a62fa49eeba.tar.gz | |
blktrace: ask for python3 specifically
python2 has been deprecated, use python3 instead
(From OE-Core rev: f20a12ead2d5890e88e7f4ce149a777de47edc48)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -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..e2305a1111 --- /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 6f4769e6e2c5cdc1262891470995e6dead937c7a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sakib Sajal <sakib.sajal@windriver.com> | ||
| 3 | Date: Mon, 26 Jun 2023 17:57:36 -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 bba5e04504..1c0856be7b 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" | 17 | SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master \ |
| 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 | ||
