lttng-ust: fixed python interpret path
PATCH 1/1 lttng-ust: fixed python interpret path
From: Chong Lu <[email protected]>
Changed python interpreter path to avoid syntax errors caused by older version.
Signed-off-by Chong Lu <[email protected]>
--- ...002-lttng-ust-fixed-python-interpret-path.patch | 28 ++++++++++++++++++++ meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-kernel/lttng/lttng-ust/0002-lttng-ust-fixed-python-interpret-path.patch
meta/recipes-kernel/lttng/lttng-ust/0002-lttng-ust-fixed-python-interpret-path.patch new file +28 -0
@@ -0,0 +1,28 @@ +From d91876870f7cda8f9bf757c73d1c287e78d4d7e0 Mon Sep 17 00:00:00 2001 +From: Lu Chong <[email protected]> +Date: Mon, 2 Dec 2013 03:18:13 -0500 +Subject: [PATCH 2/2] lttng-ust: fixed python interpret path + +Upstream-Status: Pending + +Changed python interpreter path to avoid syntax errors caused by +older version. + +Signed-off-by: Chong Lu <[email protected]> +--- + tools/lttng-gen-tp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp +index 0f6f0b5..dca2e28 100755 +--- a/tools/lttng-gen-tp ++++ b/tools/lttng-gen-tp +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # + # Copyright (c) 2012 Yannick Brosseau <[email protected]> + # +-- +1.8.2.1 +
meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb +1 -0
@@ -24,6 +24,7 @@ PE = "2" SRC_URI = "git://git.lttng.org/lttng-ust.git \ file://0001-lttng-ust-several-fixes.patch \ + file://0002-lttng-ust-fixed-python-interpret-path.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.5
Quoted 5 lines · On 12/02/2013 02:07 AM, [email protected] wrote:
From: Chong Lu <[email protected]>
Changed python interpreter path to avoid syntax errors caused by older version.
Quoted 7 lines
Signed-off-by Chong Lu <[email protected]>--- ...002-lttng-ust-fixed-python-interpret-path.patch | 28 ++++++++++++++++++++ meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb | 1 + 2 files changed, 29 insertions(+)create mode 100644
meta/recipes-kernel/lttng/lttng-ust/0002-lttng-ust-fixed-python-interpret-path.patch
This is not applying cleanly, please ensure you are rebased against master, as the lttng-ust recipe has been updated.
Sau!
Quoted 47 lines
meta/recipes-kernel/lttng/lttng-ust/0002-lttng-ust-fixed-python-interpret-path.patch new file +28
-0@@ -0,0 +1,28 @@ +From d91876870f7cda8f9bf757c73d1c287e78d4d7e0 Mon Sep 17 00:00:00 2001 +From: Lu Chong <[email protected]> +Date: Mon, 2 Dec 2013 03:18:13 -0500 +Subject: [PATCH 2/2] lttng-ust: fixed python interpret path + +Upstream-Status: Pending + +Changed python interpreter path to avoid syntax errors caused by +older version. + +Signed-off-by: Chong Lu <[email protected]> +--- + tools/lttng-gen-tp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp +index 0f6f0b5..dca2e28 100755 +--- a/tools/lttng-gen-tp ++++ b/tools/lttng-gen-tp +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # + # Copyright (c) 2012 Yannick Brosseau <[email protected]> + # +-- +1.8.2.1 +meta/recipes-kernel/lttng/lttng-ust_2.3.0.bb +1
-0@@ -24,6 +24,7 @@ PE = "2" SRC_URI = "git://git.lttng.org/lttng-ust.git \ file://0001-lttng-ust-several-fixes.patch \ + file://0002-lttng-ust-fixed-python-interpret-path.patch \ " S = "${WORKDIR}/git"