mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0079-RHEL-8-use-python3-as-nbdkit-plugin.patch

6b9fda
From 30a1bab00d15a5502b16c018a7bbba26ff983c81 Mon Sep 17 00:00:00 2001
d0ea73
From: Pino Toscano <ptoscano@redhat.com>
d0ea73
Date: Sun, 16 Dec 2018 16:32:46 +0100
d0ea73
Subject: [PATCH] RHEL 8: use "python3" as nbdkit plugin
d0ea73
d0ea73
RHEL uses "python3" as name for the nbdkit Python plugin.
d0ea73
---
d0ea73
 v2v/output_rhv_upload.ml | 2 +-
d0ea73
 1 file changed, 1 insertion(+), 1 deletion(-)
d0ea73
d0ea73
diff --git a/v2v/output_rhv_upload.ml b/v2v/output_rhv_upload.ml
d0ea73
index 59911f32c..1c102dc24 100644
d0ea73
--- a/v2v/output_rhv_upload.ml
d0ea73
+++ b/v2v/output_rhv_upload.ml
d0ea73
@@ -79,7 +79,7 @@ let parse_output_options options =
d0ea73
   { rhv_cafile; rhv_cluster; rhv_direct; rhv_verifypeer }
d0ea73
 
d0ea73
 let python3 = "python3" (* Defined by PEP 394 *)
d0ea73
-let nbdkit_python_plugin = "python"
d0ea73
+let nbdkit_python_plugin = "python3"
d0ea73
 let pidfile_timeout = 30
d0ea73
 let finalization_timeout = 5*60
d0ea73
 
d0ea73
-- 
6b9fda
2.21.0
d0ea73