aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2020-01-29 23:53:20 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2020-01-30 17:41:00 +0100
commit9b5c9c7fe443cac80f2d771aa8972e7cec1d447e (patch)
tree733fdfa902630ccdeb7c3f927adc70d8d4d4274f
parent97680b659a566e6de1a346674ea5b95b94d535e4 (diff)
downloadmeta-qcom-9b5c9c7fe443cac80f2d771aa8972e7cec1d447e.tar.gz
meta-qcom-9b5c9c7fe443cac80f2d771aa8972e7cec1d447e.tar.bz2
meta-qcom-9b5c9c7fe443cac80f2d771aa8972e7cec1d447e.zip
skales_git: apply patches to python scripts
Its unclear how to merge patches to this codeaurora git tree. So for now we apply the patches from the recipe to use python3. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
-rw-r--r--recipes-devtools/skales/files/0002-mkbootimg-use-python3.patch23
-rw-r--r--recipes-devtools/skales/skales_git.bb4
2 files changed, 26 insertions, 1 deletions
diff --git a/recipes-devtools/skales/files/0002-mkbootimg-use-python3.patch b/recipes-devtools/skales/files/0002-mkbootimg-use-python3.patch
new file mode 100644
index 0000000..2abac7d
--- /dev/null
+++ b/recipes-devtools/skales/files/0002-mkbootimg-use-python3.patch
@@ -0,0 +1,23 @@
+From aadbb5dd64abc2efbb5548d1d0b168d476875157 Mon Sep 17 00:00:00 2001
+From: Peter Griffin <peter.griffin@linaro.org>
+Date: Wed, 29 Jan 2020 22:55:41 +0100
+Subject: [PATCH 2/2] mkbootimg: use python3
+
+Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
+---
+ mkbootimg | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mkbootimg b/mkbootimg
+index c0e7dcb..adfc54b 100755
+--- a/mkbootimg
++++ b/mkbootimg
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ #
+--
+2.7.4
+
diff --git a/recipes-devtools/skales/skales_git.bb b/recipes-devtools/skales/skales_git.bb
index b57ac78..f3ec4fd 100644
--- a/recipes-devtools/skales/skales_git.bb
+++ b/recipes-devtools/skales/skales_git.bb
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://mkbootimg;beginline=3;endline=29;md5=114b84083e657f38
SRCREV = "6eac9e943de53c4aaaede3697e9226a47686fe25"
PV = "1.5.0+git${SRCPV}"
-SRC_URI = "git://codeaurora.org/quic/kernel/skales"
+SRC_URI = "git://codeaurora.org/quic/kernel/skales \
+ file://0002-mkbootimg-use-python3.patch \
+ "
S = "${WORKDIR}/git"