Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
subscription-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
patch
subscription-manager
Commits
abe227e8
Verified
Commit
abe227e8
authored
3 years ago
by
Louis Abel
Browse files
Options
Downloads
Patches
Plain Diff
Remove some red hat debranding found
parent
ce255533
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROCKY/_supporting/subscription-manager-rocky-remove-redhat.repo.patch
+27
-5
27 additions, 5 deletions
...rting/subscription-manager-rocky-remove-redhat.repo.patch
with
27 additions
and
5 deletions
ROCKY/_supporting/subscription-manager-rocky-remove-redhat.repo.patch
+
27
−
5
View file @
abe227e8
diff -Naur subscription-manager-1.27.18-old/src/subscription_manager/repofile.py subscription-manager-1.27.18/src/subscription_manager/repofile.py
--- subscription-manager-1.27.18-old/src/subscription_manager/repofile.py 2021-02-03 08:42:02.000000000 -0700
+++ subscription-manager-1.27.18/src/subscription_manager/repofile.py 2021-04-28 00:00:40.244031713 -0700
@@ -368,11 +368,7 @@
diff -Naurp subscription-manager-1.29.21-orig/etc-conf/subscription-manager-cockpit.desktop.in subscription-manager-1.29.21/etc-conf/subscription-manager-cockpit.desktop.in
--- subscription-manager-1.29.21-orig/etc-conf/subscription-manager-cockpit.desktop.in 2021-11-11 13:38:40.000000000 -0700
+++ subscription-manager-1.29.21/etc-conf/subscription-manager-cockpit.desktop.in 2022-01-26 23:11:04.865611666 -0700
@@ -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 -Naurp subscription-manager-1.29.21-orig/src/subscription_manager/repofile.py subscription-manager-1.29.21/src/subscription_manager/repofile.py
--- subscription-manager-1.29.21-orig/src/subscription_manager/repofile.py 2021-11-11 13:38:40.000000000 -0700
+++ subscription-manager-1.29.21/src/subscription_manager/repofile.py 2022-01-26 23:18:52.446378094 -0700
@@ -369,11 +369,7 @@
class RepoFileBase(object):
Try to create new repo file.
:return: None
"""
...
...
@@ -11,6 +21,18 @@ diff -Naur subscription-manager-1.27.18-old/src/subscription_manager/repofile.py
- with open(self.path, 'w') as f:
- f.write(self.REPOFILE_HEADER)
+ return
def fix_content(self, content):
return content
diff -Naurp subscription-manager-1.29.21-orig/src/subscription_manager/repolib.py subscription-manager-1.29.21/src/subscription_manager/repolib.py
--- subscription-manager-1.29.21-orig/src/subscription_manager/repolib.py 2021-11-11 13:38:40.000000000 -0700
+++ subscription-manager-1.29.21/src/subscription_manager/repolib.py 2022-01-26 23:36:07.955143671 -0700
@@ -83,7 +83,7 @@
class YumPluginManager(object):
@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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment