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

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