mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-04 09:50:32 +00:00
jailhouse: finish conversion to python3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
+56
@@ -0,0 +1,56 @@
|
|||||||
|
From 24e58c75592a2ba09f3062c8a4722c0e29a9b558 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Denys Dmytriyenko <denys@ti.com>
|
||||||
|
Date: Wed, 1 Apr 2020 15:44:46 -0400
|
||||||
|
Subject: [PATCH] tools: update shebang in helper scripts for python3
|
||||||
|
|
||||||
|
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||||
|
---
|
||||||
|
tools/jailhouse-cell-linux | 2 +-
|
||||||
|
tools/jailhouse-cell-stats | 2 +-
|
||||||
|
tools/jailhouse-config-create | 2 +-
|
||||||
|
tools/jailhouse-hardware-check | 2 +-
|
||||||
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux
|
||||||
|
index 007a5c4..e106b9d 100755
|
||||||
|
--- a/tools/jailhouse-cell-linux
|
||||||
|
+++ b/tools/jailhouse-cell-linux
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# Jailhouse, a Linux-based partitioning hypervisor
|
||||||
|
#
|
||||||
|
diff --git a/tools/jailhouse-cell-stats b/tools/jailhouse-cell-stats
|
||||||
|
index 2f7e966..4c5289f 100755
|
||||||
|
--- a/tools/jailhouse-cell-stats
|
||||||
|
+++ b/tools/jailhouse-cell-stats
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# Jailhouse, a Linux-based partitioning hypervisor
|
||||||
|
#
|
||||||
|
diff --git a/tools/jailhouse-config-create b/tools/jailhouse-config-create
|
||||||
|
index 1e2df74..9382b05 100755
|
||||||
|
--- a/tools/jailhouse-config-create
|
||||||
|
+++ b/tools/jailhouse-config-create
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
#
|
||||||
|
# Jailhouse, a Linux-based partitioning hypervisor
|
||||||
|
#
|
||||||
|
diff --git a/tools/jailhouse-hardware-check b/tools/jailhouse-hardware-check
|
||||||
|
index 375816e..658ce6f 100755
|
||||||
|
--- a/tools/jailhouse-hardware-check
|
||||||
|
+++ b/tools/jailhouse-hardware-check
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# Jailhouse, a Linux-based partitioning hypervisor
|
||||||
|
#
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@ BRANCH = "ti-jailhouse-0.12"
|
|||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
|
git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
|
||||||
|
file://0001-tools-update-shebang-in-helper-scripts-for-python3.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
||||||
@@ -89,7 +90,7 @@ do_install() {
|
|||||||
# We want to install the python tools, but we do not want to use pip...
|
# We want to install the python tools, but we do not want to use pip...
|
||||||
# At least with v0.10, we can work around this with
|
# At least with v0.10, we can work around this with
|
||||||
# 'PIP=":" PYTHON_PIP_USEABLE=yes'
|
# 'PIP=":" PYTHON_PIP_USEABLE=yes'
|
||||||
oe_runmake PIP=: PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
|
oe_runmake PIP=: PYTHON=python3 PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
|
||||||
|
|
||||||
install -d ${D}${CELL_DIR}
|
install -d ${D}${CELL_DIR}
|
||||||
install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
|
install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
|
||||||
|
|||||||
Reference in New Issue
Block a user