diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-11-29 17:21:36 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-11-29 17:21:36 -0500 |
commit | 9a7aa013db5a13a82e9aa38ff0b1692ef4bf5478 (patch) | |
tree | 2afaaf374edf2e764415f51f156b871c8e6ef998 /recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch | |
parent | da0f1599ce3e001c809a2ddb9d0a1c75491dda94 (diff) | |
download | meta-virtualization-9a7aa013db5a13a82e9aa38ff0b1692ef4bf5478.tar.gz |
xvisor: uprev to latest master and fix python reference
Bumping to the latest xvisor tip.
We drop one patch that is now part of the upstream, and we
add another to remove /usr/bin/python from scripts called
during build, since it breaks the build on hosts without
/usr/bin/python.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
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 | |||