netgod / rpms / anaconda

Forked from rpms/anaconda 2 years ago
Clone
fb0a1b
From b1772cf9f055b0ad2ad253f9f54f64627aa8ba6f Mon Sep 17 00:00:00 2001
161635
From: Jiri Konecny <jkonecny@redhat.com>
161635
Date: Mon, 26 Apr 2021 18:41:43 +0200
fb0a1b
Subject: [PATCH 4/4] Add base repo name for CentOS Stream after repository
161635
 renaming
161635
161635
CentOS Stream renamed the repository to make everything consistent. For that we
161635
have to keep old repository name for RHEL but also we need the new one for
161635
CentOS Stream.
161635
161635
Resolves: rhbz#1946347
161635
---
161635
 pyanaconda/core/constants.py | 3 ++-
161635
 1 file changed, 2 insertions(+), 1 deletion(-)
161635
161635
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
161635
index a0099451bd..9c56068e9e 100644
161635
--- a/pyanaconda/core/constants.py
161635
+++ b/pyanaconda/core/constants.py
161635
@@ -60,7 +60,8 @@ BASE_REPO_NAME = "anaconda"
161635
 DEFAULT_REPOS = [productName.split('-')[0].lower(),
161635
                  "fedora-modular-server",
161635
                  "rawhide",
161635
-                 "BaseOS"]
161635
+                 "BaseOS",  # Used by RHEL
161635
+                 "baseos"]  # Used by CentOS Stream
161635
 
161635
 # Get list of repo names which should be used as updates repos
161635
 DEFAULT_UPDATE_REPOS = ["updates",
161635
-- 
161635
2.30.2
161635