On Debian 11 systems /usr/bin/python will no longer exist due to the
deprecation of Python 2. According to [1] the unversioned python
packages must not be used as build dependencies, dependencies,
recommendations or suggestions. So moving to the versioned python3 seems
the only remaining option.

[1] 
https://www.debian.org/doc/packaging-manuals/python-policy/#unversioned-python-commands

Signed-off-by: Florian Bezdeka <[email protected]>
---
 scripts/arm64-parsedump.py     | 2 +-
 tools/jailhouse-cell-linux     | 2 +-
 tools/jailhouse-cell-stats     | 2 +-
 tools/jailhouse-config-check   | 2 +-
 tools/jailhouse-config-create  | 2 +-
 tools/jailhouse-hardware-check | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/arm64-parsedump.py b/scripts/arm64-parsedump.py
index 9519eb5e..c695706f 100755
--- a/scripts/arm64-parsedump.py
+++ b/scripts/arm64-parsedump.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Jailhouse, a Linux-based partitioning hypervisor
 #
diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux
index 4178d4e0..6d1743f3 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 2f7e9661..4c5289fb 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-check b/tools/jailhouse-config-check
index 5294967e..62db24c3 100755
--- a/tools/jailhouse-config-check
+++ b/tools/jailhouse-config-check
@@ -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 3005c2e7..2095f4e2 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 f9b2cf58..7a41b48e 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.31.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20210615152550.356561-3-florian.bezdeka%40siemens.com.

Reply via email to