diff options
Diffstat (limited to 'meta/recipes-devtools/repo/repo/0001-python3-shebang.patch')
-rw-r--r-- | meta/recipes-devtools/repo/repo/0001-python3-shebang.patch | 26 |
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 @@ | |||
1 | From b8e84b202cd302a7c99288d3835dc9c63071f8f2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com> | ||
3 | Date: Tue, 14 Sep 2021 16:46:51 +0200 | ||
4 | Subject: [PATCH] python3 shebang | ||
5 | |||
6 | Yocto does not symlink from python to python3, thus change the shebang from | ||
7 | python to python3. | ||
8 | |||
9 | Upstream-Status: Inappropriate [configuration] | ||
10 | Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com> | ||
11 | --- | ||
12 | repo | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/repo b/repo | ||
16 | index 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 | -- | ||
26 | 2.33.0 | ||