summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/repo/repo/0001-python3-shebang.patch')
-rw-r--r--meta/recipes-devtools/repo/repo/0001-python3-shebang.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
new file mode 100644
index 0000000000..d3888c8bb2
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo/0001-python3-shebang.patch
@@ -0,0 +1,26 @@
1From b8e84b202cd302a7c99288d3835dc9c63071f8f2 Mon Sep 17 00:00:00 2001
2From: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
3Date: Tue, 14 Sep 2021 16:46:51 +0200
4Subject: [PATCH] python3 shebang
5
6Yocto does not symlink from python to python3, thus change the shebang from
7python to python3.
8
9Upstream-Status: Inappropriate [configuration]
10Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
11---
12 repo | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/repo b/repo
16index b13e34c..205e0e5 100755
17--- a/repo
18+++ b/repo
19@@ -1,4 +1,4 @@
20-#!/usr/bin/env python
21+#!/usr/bin/env python3
22 # -*- coding:utf-8 -*-
23 #
24 # Copyright (C) 2008 The Android Open Source Project
25--
262.33.0