mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
blktrace: ask for python3 specifically
python2 has been deprecated, use python3 instead. (From OE-Core rev: cb550f59a0fb6b41cec2d1bd8a18f788e9ea7de6) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
746bf5431b
commit
0df57c2c73
@@ -0,0 +1,35 @@
|
||||
From 6f4769e6e2c5cdc1262891470995e6dead937c7a Mon Sep 17 00:00:00 2001
|
||||
From: Sakib Sajal <sakib.sajal@windriver.com>
|
||||
Date: Mon, 26 Jun 2023 17:57:36 -0400
|
||||
Subject: [PATCH] bno_plot.py, btt_plot.py: Ask for python3 specifically
|
||||
|
||||
python2 is deprecated, use python3.
|
||||
|
||||
Upstream-Status: Denied [https://www.spinics.net/lists/linux-btrace/msg01364.html]
|
||||
|
||||
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
|
||||
---
|
||||
btt/bno_plot.py | 2 +-
|
||||
btt/btt_plot.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/btt/bno_plot.py b/btt/bno_plot.py
|
||||
index 3aa4e19..d7d7159 100644
|
||||
--- a/btt/bno_plot.py
|
||||
+++ b/btt/bno_plot.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /usr/bin/env python3
|
||||
#
|
||||
# btt blkno plotting interface
|
||||
#
|
||||
diff --git a/btt/btt_plot.py b/btt/btt_plot.py
|
||||
index 40bc71f..8620d31 100755
|
||||
--- a/btt/btt_plot.py
|
||||
+++ b/btt/btt_plot.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /usr/bin/env python3
|
||||
#
|
||||
# btt_plot.py: Generate matplotlib plots for BTT generate data files
|
||||
#
|
||||
@@ -14,7 +14,9 @@ SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
|
||||
|
||||
PV = "1.3.0+git"
|
||||
|
||||
SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https"
|
||||
SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \
|
||||
file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user