mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0090-RHEL-8-use-platform-python.patch

5ce0c7
From cb6f386f75f210bdc97133a026e2fdb29a2fe28d Mon Sep 17 00:00:00 2001
46b2f6
From: Pino Toscano <ptoscano@redhat.com>
46b2f6
Date: Sun, 16 Dec 2018 16:42:46 +0100
46b2f6
Subject: [PATCH] RHEL 8: use platform-python
46b2f6
46b2f6
Use the stable platform-python provided in BaseOS, instead of relying on
46b2f6
some arbitrary version installed by the user.
46b2f6
---
46b2f6
 v2v/python_script.ml | 2 +-
46b2f6
 1 file changed, 1 insertion(+), 1 deletion(-)
46b2f6
46b2f6
diff --git a/v2v/python_script.ml b/v2v/python_script.ml
46b2f6
index 3159373a1..f2c00c40f 100644
46b2f6
--- a/v2v/python_script.ml
46b2f6
+++ b/v2v/python_script.ml
46b2f6
@@ -24,7 +24,7 @@ open Unix_utils
46b2f6
 
46b2f6
 open Common_gettext.Gettext
46b2f6
 
46b2f6
-let python = "python3"          (* Defined by PEP 394 *)
46b2f6
+let python = "/usr/libexec/platform-python"
46b2f6
 
46b2f6
 type script = {
46b2f6
   tmpdir : string;              (* Temporary directory. *)
46b2f6
-- 
5ce0c7
2.18.4
46b2f6