Update patch for new version

This commit is contained in:
eabdullin 2022-11-15 11:55:36 +03:00
parent a0dae7a5ee
commit 6b084485c9

View File

@ -1,7 +1,7 @@
diff -Naur sos-4.1/sos/policies/distros/redhat.py sos-4.1.alma/sos/policies/distros/redhat.py diff -aruN sos-4.3/sos/policies/distros/redhat.py sos-4.3.alma/sos/policies/distros/redhat.py
--- sos-4.1/sos/policies/distros/redhat.py 2021-02-25 21:46:49.000000000 +0300 --- sos-4.3/sos/policies/distros/redhat.py 2022-02-15 07:20:20.000000000 +0300
+++ sos-4.1.alma/sos/policies/distros/redhat.py 2021-10-09 22:26:17.000000000 +0300 +++ sos-4.3.alma/sos/policies/distros/redhat.py 2022-10-24 10:54:24.000000000 +0300
@@ -365,6 +365,15 @@ @@ -435,6 +435,16 @@
vendor_urls = [('Community Website', 'https://www.centos.org/')] vendor_urls = [('Community Website', 'https://www.centos.org/')]
@ -13,11 +13,12 @@ diff -Naur sos-4.1/sos/policies/distros/redhat.py sos-4.1.alma/sos/policies/dist
+ ('Commercial Support', 'https://tuxcare.com/linux-support-services/') + ('Commercial Support', 'https://tuxcare.com/linux-support-services/')
+ ] + ]
+ +
+
+ +
class RedHatAtomicPolicy(RHELPolicy): class RedHatAtomicPolicy(RHELPolicy):
distro = "Red Hat Atomic Host" distro = "Red Hat Atomic Host"
msg = _("""\ msg = _("""\
@@ -493,6 +502,15 @@ @@ -592,6 +602,15 @@
vendor_urls = [('Community Website', 'https://www.centos.org/')] vendor_urls = [('Community Website', 'https://www.centos.org/')]
@ -31,5 +32,5 @@ diff -Naur sos-4.1/sos/policies/distros/redhat.py sos-4.1.alma/sos/policies/dist
+ +
+ +
class FedoraPolicy(RedHatPolicy): class FedoraPolicy(RedHatPolicy):
"""
distro = "Fedora" The policy for Fedora based systems, regardless of spin/edition. This