Blame SOURCES/virt-manager-urlfetcher-Silence-xorisso-stderr-output.patch

daf011
From 900413f1fccc3a4f64f66066d851e3a03b821156 Mon Sep 17 00:00:00 2001
daf011
From: Cole Robinson <crobinso@redhat.com>
daf011
Date: Fri, 30 Jul 2021 10:45:07 -0400
daf011
Subject: [PATCH] urlfetcher: Silence xorisso stderr output
daf011
daf011
Signed-off-by: Cole Robinson <crobinso@redhat.com>
daf011
(cherry picked from commit 8754a59d9228caacf43bcb1af6ad307da7217b09)
daf011
daf011
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1973236
daf011
daf011
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
daf011
---
daf011
 virtinst/install/urlfetcher.py | 2 +-
daf011
 1 file changed, 1 insertion(+), 1 deletion(-)
daf011
daf011
diff --git a/virtinst/install/urlfetcher.py b/virtinst/install/urlfetcher.py
daf011
index 838a206a..67a68002 100644
daf011
--- a/virtinst/install/urlfetcher.py
daf011
+++ b/virtinst/install/urlfetcher.py
daf011
@@ -44,7 +44,7 @@ class _XorrisoReader():
daf011
         cmd = ["xorriso", "-osirrox", "on", "-indev", self._location,
daf011
                "-extract", url, tmp.name]
daf011
         log.debug("Extracting iso file: %s", cmd)
daf011
-        subprocess.check_output(cmd)
daf011
+        subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
daf011
         return open(tmp.name, "rb").read()
daf011
 
daf011
     def hasFile(self, url):
daf011
-- 
daf011
2.31.1
daf011