summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-12-01 17:41:28 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-12-01 23:02:57 -0500
commit3fa2da05eb9631aaca3d4a02fdcad4aaa2229a6b (patch)
tree4fed3f14ee68936f01fc7a6dff2394f34128b8e4 /recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch
parent84b3a96ce0b648e7b1747b89b96062eb42391b8f (diff)
downloadmeta-virtualization-3fa2da05eb9631aaca3d4a02fdcad4aaa2229a6b.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.patch36
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 @@
1From eb351ca63a86f53cfb18987284a1445d543dfe56 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Mon, 29 Nov 2021 17:20:00 -0500
4Subject: [PATCH] build: use /usr/bin/env for python scripts
5
6Without this, we break on hosts without /usr/bin/python
7
8Signed-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
14diff --git a/tools/scripts/d2c.py b/tools/scripts/d2c.py
15index 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.
24diff --git a/tools/scripts/memimg.py b/tools/scripts/memimg.py
25index 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--
352.19.1
36