virt-manager-3.2.0-7.el9
- urlfetcher: Silence xorisso stderr output (rhbz#1973236) Related: rhbz#1973236
This commit is contained in:
parent
f176a2f8ba
commit
5a068a54d1
31
virt-manager-urlfetcher-Silence-xorisso-stderr-output.patch
Normal file
31
virt-manager-urlfetcher-Silence-xorisso-stderr-output.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 900413f1fccc3a4f64f66066d851e3a03b821156 Mon Sep 17 00:00:00 2001
|
||||
From: Cole Robinson <crobinso@redhat.com>
|
||||
Date: Fri, 30 Jul 2021 10:45:07 -0400
|
||||
Subject: [PATCH] urlfetcher: Silence xorisso stderr output
|
||||
|
||||
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
||||
(cherry picked from commit 8754a59d9228caacf43bcb1af6ad307da7217b09)
|
||||
|
||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1973236
|
||||
|
||||
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
|
||||
---
|
||||
virtinst/install/urlfetcher.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/virtinst/install/urlfetcher.py b/virtinst/install/urlfetcher.py
|
||||
index 838a206a..67a68002 100644
|
||||
--- a/virtinst/install/urlfetcher.py
|
||||
+++ b/virtinst/install/urlfetcher.py
|
||||
@@ -44,7 +44,7 @@ class _XorrisoReader():
|
||||
cmd = ["xorriso", "-osirrox", "on", "-indev", self._location,
|
||||
"-extract", url, tmp.name]
|
||||
log.debug("Extracting iso file: %s", cmd)
|
||||
- subprocess.check_output(cmd)
|
||||
+ subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
|
||||
return open(tmp.name, "rb").read()
|
||||
|
||||
def hasFile(self, url):
|
||||
--
|
||||
2.31.1
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
Name: virt-manager
|
||||
Version: 3.2.0
|
||||
Release: 6%{?dist}%{?extra_release}
|
||||
Release: 7%{?dist}%{?extra_release}
|
||||
%global verrel %{version}-%{release}
|
||||
|
||||
Summary: Desktop tool for managing virtual machines via libvirt
|
||||
@ -23,6 +23,7 @@ Patch2: virt-manager-installer-Prefer-xorrisofs-over-genisoimage-mkisofs.patch
|
||||
Patch3: virt-manager-urlfetcher-Factor-out-ISOReader-class.patch
|
||||
Patch4: virt-manager-urlfetcher-Add-xorriso-ISOReader-implementation.patch
|
||||
Patch5: virt-manager-urlfetcher-Delete-the-isoinfo-ISOReader.patch
|
||||
Patch6: virt-manager-urlfetcher-Silence-xorisso-stderr-output.patch
|
||||
|
||||
|
||||
Requires: virt-manager-common = %{verrel}
|
||||
@ -180,6 +181,9 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 30 2021 Jonathon Jongsma <jjongsma@redhat.com> - 3.2.0-7
|
||||
- urlfetcher: Silence xorisso stderr output (rhbz#1973236)
|
||||
|
||||
* Fri Jul 23 2021 Jonathon Jongsma <jjongsma@redhat.com> - 3.2.0-6
|
||||
- installer: Prefer xorrisofs over genisoimage/mkisofs (rhbz#1973236)
|
||||
- urlfetcher: Factor out ISOReader class (rhbz#1973236)
|
||||
|
Loading…
Reference in New Issue
Block a user