Compare commits

...

No commits in common. "c8" and "a8-beta" have entirely different histories.
c8 ... a8-beta

2 changed files with 41 additions and 2 deletions

31
SOURCES/322.patch Normal file
View File

@ -0,0 +1,31 @@
From d6affa0209c727e0cd60b0700351f3f7c78c375e Mon Sep 17 00:00:00 2001
From: Pino Toscano <ptoscano@redhat.com>
Date: Mon, 1 Nov 2021 15:06:04 +0100
Subject: [PATCH] osinfo: use the OS kernel-url-argument if available
Each OS may specify which kernel argument is needed to specify the
installation source; use it as primary source, falling back to the
current logic. This should help supporting new OSes OOTB.
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
---
virtinst/osdict.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index 1273b934b..3e9cf6dd7 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -593,6 +593,12 @@ def get_kernel_url_arg(self):
Kernel argument name the distro's installer uses to reference
a network source, possibly bypassing some installer prompts
"""
+ # Let's ask the OS for its kernel argument for the source
+ if hasattr(self._os, "get_kernel_url_argument"):
+ osarg = self._os.get_kernel_url_argument()
+ if osarg is not None:
+ return osarg
+
# SUSE distros
if self.distro in ["caasp", "sle", "sled", "sles", "opensuse"]:
return "install"

View File

@ -8,7 +8,7 @@
Name: virt-manager
Version: 3.2.0
Release: 4%{?dist}%{?extra_release}
Release: 4%{?dist}%{?extra_release}.alma
%global verrel %{version}-%{release}
Summary: Desktop tool for managing virtual machines via libvirt
@ -30,6 +30,12 @@ Patch9: virt-manager-cli-add-ioapic.driver-to-features.patch
Patch10: virt-manager-console-fix-error-with-old-pygobject.patch
# AlmaLinux support patch
Patch1000: 322.patch
Requires: virt-manager-common = %{verrel}
Requires: python3-gobject
Requires: gtk3
@ -197,9 +203,11 @@ done
%changelog
* Wed Sep 28 2022 Eduard Abdullin <eabdullin@almalinux.org> - 3.2.0-4.alma.plus
- Add AlmaLinux support
* Thu Mar 10 2022 Jonathon Jongsma <jjongsma@redhat.com> - 3.2.0-4
- console: fix error with old pygobject (rhbz#2026987)
* Fri Jan 21 2022 Jonathon Jongsma <jjongsma@redhat.com> - 3.2.0-3
- cli: add 'ioapic.driver' to --features (rhbz#2037202)