48 lines
2.2 KiB
Diff
48 lines
2.2 KiB
Diff
diff -aruN subscription-manager-1.29.37/etc-conf/syspurpose/valid_fields.json subscription-manager-1.29.37.alma/etc-conf/syspurpose/valid_fields.json
|
|
--- subscription-manager-1.29.37/etc-conf/syspurpose/valid_fields.json 2023-08-23 07:18:22
|
|
+++ subscription-manager-1.29.37.alma/etc-conf/syspurpose/valid_fields.json 2023-10-09 23:38:40
|
|
@@ -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": [
|
|
diff -aruN subscription-manager-1.29.37/src/subscription_manager/repofile.py subscription-manager-1.29.37.alma/src/subscription_manager/repofile.py
|
|
--- subscription-manager-1.29.37/src/subscription_manager/repofile.py 2023-08-23 07:18:22
|
|
+++ subscription-manager-1.29.37.alma/src/subscription_manager/repofile.py 2023-10-09 23:38:48
|
|
@@ -375,11 +375,7 @@
|
|
"""
|
|
Try to create new repo file.
|
|
"""
|
|
- 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: str) -> str:
|
|
return content
|
|
diff -aruN subscription-manager-1.29.37/src/subscription_manager/repolib.py subscription-manager-1.29.37.alma/src/subscription_manager/repolib.py
|
|
--- subscription-manager-1.29.37/src/subscription_manager/repolib.py 2023-08-23 07:18:22
|
|
+++ subscription-manager-1.29.37.alma/src/subscription_manager/repolib.py 2023-10-09 23:38:57
|
|
@@ -92,7 +92,7 @@
|
|
def warning_message(enabled_yum_plugins: List[str]) -> str:
|
|
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)
|