Compare commits

..

11 Commits

Author SHA1 Message Date
b221637863 Import from AlmaLinux stable repository 2024-05-31 18:10:28 +00:00
e580dca8a3 import UBI subscription-manager-1.28.42-1.el8 2024-05-22 14:39:53 +00:00
eabdullin
869cb90578 import UBI subscription-manager-1.28.40-1.el8_9 2023-11-14 19:52:17 +00:00
eabdullin
721503844c import UBI subscription-manager-1.28.36-3.el8_8 2023-08-22 21:56:16 +00:00
CentOS Sources
39885e042d import subscription-manager-1.28.36-2.el8 2023-05-17 03:12:46 +00:00
CentOS Sources
4f13fa4edc import subscription-manager-1.28.32-1.el8 2022-11-08 15:17:17 +00:00
CentOS Sources
8d2944ebf5 import subscription-manager-1.28.29-3.el8 2022-05-10 11:54:57 +00:00
CentOS Sources
a8f8e40dc3 import subscription-manager-1.28.21-5.el8_5 2022-03-24 14:05:37 +00:00
CentOS Sources
03650f13ef import subscription-manager-1.28.21-3.el8 2021-11-17 10:53:22 +00:00
CentOS Sources
a3bd1b1bf6 import subscription-manager-1.28.13-4.el8_4 2021-10-06 12:47:55 +00:00
CentOS Sources
9149f79ecf import subscription-manager-1.28.13-3.el8_4 2021-09-10 04:58:15 +00:00
6 changed files with 791 additions and 157 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/subscription-manager-1.28.13.tar.gz
SOURCES/subscription-manager-cockpit-1.28.13.tar.gz
SOURCES/subscription-manager-1.28.42.tar.gz

View File

@ -1,2 +0,0 @@
5db5807dec6579b0fcbd2a9b1e693a23ff23b02c SOURCES/subscription-manager-1.28.13.tar.gz
76bd7e5b39c67c76c1b52e8d20ee84497b0a7707 SOURCES/subscription-manager-cockpit-1.28.13.tar.gz

View File

@ -0,0 +1,32 @@
diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in
--- subscription-manager-1.28.29/etc-conf/subscription-manager-cockpit.desktop.in 2022-04-13 18:01:03.000000000 +0300
+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-cockpit.desktop.in 2022-05-10 19:54:57.000000000 +0300
@@ -1,5 +1,5 @@
[Desktop Entry]
-_Name=Red Hat Subscription Manager
+_Name=Subscription Manager
Icon=subscription-manager
Type=Application
TryExec=/usr/libexec/cockpit-desktop
diff -aruN subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in
--- subscription-manager-1.28.29/etc-conf/subscription-manager-gui.desktop.in 2022-04-13 18:01:03.000000000 +0300
+++ subscription-manager-1.28.29.alma/etc-conf/subscription-manager-gui.desktop.in 2022-05-10 19:55:18.000000000 +0300
@@ -1,5 +1,5 @@
[Desktop Entry]
-_Name=Red Hat Subscription Manager
+_Name=Subscription Manager
Icon=subscription-manager
Exec=subscription-manager-gui
Terminal=false
diff -aruN subscription-manager-1.28.29/src/subscription_manager/repolib.py subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py
--- subscription-manager-1.28.29/src/subscription_manager/repolib.py 2022-04-13 18:01:03.000000000 +0300
+++ subscription-manager-1.28.29.alma/src/subscription_manager/repolib.py 2022-05-10 20:01:44.000000000 +0300
@@ -87,7 +87,7 @@
@staticmethod
def warning_message(enabled_yum_plugins):
message = _('The yum/dnf plugins: %s were automatically enabled for the benefit of '
- 'Red Hat Subscription Management. If not desired, use '
+ 'Subscription Management. If not desired, use '
'"subscription-manager config --rhsm.auto_enable_yum_plugins=0" to '
'block this behavior.') % ', '.join(enabled_yum_plugins)
return message

View File

@ -0,0 +1,16 @@
diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py
--- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py 2020-07-28 11:06:10.000000000 -0500
+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py 2020-08-05 16:48:00.911709258 -0500
@@ -368,11 +368,7 @@ class RepoFileBase(object):
Try to create new repo file.
:return: None
"""
- self.create_dir_path()
- if self.path_exists(self.path) or not self.manage_repos:
- return
- with open(self.path, 'w') as f:
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content):
return content

View File

@ -0,0 +1,20 @@
diff --git a/etc-conf/syspurpose/valid_fields.json b/etc-conf/syspurpose/valid_fields.json
index 1ac7ea0e..305ec4b9 100644
--- a/etc-conf/syspurpose/valid_fields.json
+++ b/etc-conf/syspurpose/valid_fields.json
@@ -1,12 +1,10 @@
{
"role": [
- "Red Hat Enterprise Linux Server",
- "Red Hat Enterprise Linux Workstation",
- "Red Hat Enterprise Linux Compute Node"
+ "AlmaLinux Server",
+ "AlmaLinux Workstation",
+ "AlmaLinux Compute Node"
],
"service_level_agreement": [
- "Premium",
- "Standard",
"Self-Support"
],
"usage": [

File diff suppressed because it is too large Load Diff