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
5c1e6579
Verified
Commit
5c1e6579
authored
1 year ago
by
Louis Abel
Browse files
Options
Downloads
Patches
Plain Diff
fix patch
parent
95ac3eab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROCKY/_supporting/0001-subscription-manager-rocky-remove-redhat-refs.patch
+10
-10
10 additions, 10 deletions
.../0001-subscription-manager-rocky-remove-redhat-refs.patch
with
10 additions
and
10 deletions
ROCKY/_supporting/0001-subscription-manager-rocky-remove-redhat-refs.patch
+
10
−
10
View file @
5c1e6579
From
1879be0ccb8220a21f07b293602f2a4c637c641f
Mon Sep 17 00:00:00 2001
From
be32e6f788b6fc5ae82454ccec3381c6d948d0c1
Mon Sep 17 00:00:00 2001
From: Louis Abel <label@rockylinux.org>
Date:
Tue
,
1
Nov 202
2
1
0
:4
1:47
-0700
Date:
Sun
,
5
Nov 202
3
1
6
:4
9:36
-0700
Subject: [PATCH] patch up subscription manager
---
...
...
@@ -21,12 +21,12 @@ index 9050582..2392f67 100644
# When following option is set to 1, then all repositories defined outside redhat.repo will be disabled
# every time subscription-manager plugin is triggered by dnf or yum
diff --git a/src/subscription_manager/repofile.py b/src/subscription_manager/repofile.py
index
650d963..8bda5f7
100644
index
cc98803..78c7ce2
100644
--- a/src/subscription_manager/repofile.py
+++ b/src/subscription_manager/repofile.py
@@ -370,11 +370,7 @@
class RepoFileBase(object):
@@ -375,11 +375,7 @@
class RepoFileBase:
"""
Try to create new repo file.
:return: None
"""
- self.create_dir_path()
- if self.path_exists(self.path) or not self.manage_repos:
...
...
@@ -35,14 +35,14 @@ index 650d963..8bda5f7 100644
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content
)
:
def fix_content(self, content
: str) -> str
:
return content
diff --git a/src/subscription_manager/repolib.py b/src/subscription_manager/repolib.py
index
dc649ea..fb1d
c0d 100644
index
4e7c016..f5
c0d
13
100644
--- a/src/subscription_manager/repolib.py
+++ b/src/subscription_manager/repolib.py
@@ -
83
,7 +
83
,7 @@
class YumPluginManager
(object)
:
def warning_message(enabled_yum_plugins
)
:
@@ -
92
,7 +
92
,7 @@
class YumPluginManager:
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 "
...
...
@@ -51,5 +51,5 @@ index dc649ea..fb1dc0d 100644
"block this behavior."
) % ", ".join(enabled_yum_plugins)
--
2.
37.3
2.
41.0
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