diff options
Diffstat (limited to 'recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch')
| -rw-r--r-- | recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch b/recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch new file mode 100644 index 00000000..dfbb00b1 --- /dev/null +++ b/recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From eb351ca63a86f53cfb18987284a1445d543dfe56 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 3 | Date: Mon, 29 Nov 2021 17:20:00 -0500 | ||
| 4 | Subject: [PATCH] build: use /usr/bin/env for python scripts | ||
| 5 | |||
| 6 | Without this, we break on hosts without /usr/bin/python | ||
| 7 | |||
| 8 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 9 | --- | ||
| 10 | tools/scripts/d2c.py | 2 +- | ||
| 11 | tools/scripts/memimg.py | 2 +- | ||
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/tools/scripts/d2c.py b/tools/scripts/d2c.py | ||
| 15 | index b46a7bc4..0a6bce08 100755 | ||
| 16 | --- a/tools/scripts/d2c.py | ||
| 17 | +++ b/tools/scripts/d2c.py | ||
| 18 | @@ -1,4 +1,4 @@ | ||
| 19 | -#!/usr/bin/python | ||
| 20 | +#!/usr/bin/env python3 | ||
| 21 | #/** | ||
| 22 | # Copyright (c) 2013 Anup Patel. | ||
| 23 | # All rights reserved. | ||
| 24 | diff --git a/tools/scripts/memimg.py b/tools/scripts/memimg.py | ||
| 25 | index 423c9c33..ba2f06cb 100755 | ||
| 26 | --- a/tools/scripts/memimg.py | ||
| 27 | +++ b/tools/scripts/memimg.py | ||
| 28 | @@ -1,4 +1,4 @@ | ||
| 29 | -#!/usr/bin/python | ||
| 30 | +#!/usr/bin/env python3 | ||
| 31 | #/** | ||
| 32 | # Copyright (c) 2011 Anup Patel. | ||
| 33 | # All rights reserved. | ||
| 34 | -- | ||
| 35 | 2.19.1 | ||
| 36 | |||
