From 796f7c69458a07a36e1869169d87ef4f91519493 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 8 Nov 2022 12:28:24 +0300 Subject: [PATCH] Update almalinux branding patch --- SOURCES/sos-almalinux-branding.patch | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/SOURCES/sos-almalinux-branding.patch b/SOURCES/sos-almalinux-branding.patch index 8101777..5b4c001 100644 --- a/SOURCES/sos-almalinux-branding.patch +++ b/SOURCES/sos-almalinux-branding.patch @@ -1,10 +1,10 @@ -diff -Naur sos-4.1/sos/policies/distros/redhat.py sos-4.1.alma/sos/policies/distros/redhat.py ---- sos-4.1/sos/policies/distros/redhat.py 2021-02-25 21:46:49.000000000 +0300 -+++ sos-4.1.alma/sos/policies/distros/redhat.py 2021-10-09 22:26:17.000000000 +0300 -@@ -365,6 +365,15 @@ +diff -aruN sos-4.3/sos/policies/distros/redhat.py sos-4.3.alma/sos/policies/distros/redhat.py +--- sos-4.3/sos/policies/distros/redhat.py 2022-02-15 07:20:20.000000000 +0300 ++++ sos-4.3.alma/sos/policies/distros/redhat.py 2022-10-10 11:40:12.000000000 +0300 +@@ -434,6 +434,14 @@ + vendor = "CentOS" vendor_urls = [('Community Website', 'https://www.centos.org/')] - +class AlmaLinuxPolicy(RHELPolicy): + distro = "AlmaLinux" + vendor = "AlmaLinux OS Foundation" @@ -13,14 +13,13 @@ 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/') + ] + -+ + class RedHatAtomicPolicy(RHELPolicy): distro = "Red Hat Atomic Host" - msg = _("""\ -@@ -493,6 +502,15 @@ +@@ -591,6 +599,14 @@ + vendor = "CentOS" vendor_urls = [('Community Website', 'https://www.centos.org/')] - +class AlmaLinuxAtomicPolicy(RedHatAtomicPolicy): + distro = "AlmaLinux Atomic Host" + vendor = "AlmaLinux OS Foundation" @@ -29,7 +28,6 @@ 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/') + ] + -+ - class FedoraPolicy(RedHatPolicy): - distro = "Fedora" + class FedoraPolicy(RedHatPolicy): + """