Tweak crb script. Fix for RHEL rhui repos (#2308671)

Signed-off-by: Troy Dawson <tdawson@redhat.com>
epel8 imports/epel8/epel-release-8-21.el8
Troy Dawson 3 months ago
parent 70132bddbd
commit 69cdc80723

4
crb

@ -27,7 +27,7 @@ usage() {
# Show the status # Show the status
show_status()( show_status()(
# Determine if a version of CRB is enabled # Determine if a version of CRB is enabled
crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt | awk '{print $1}') crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
if [ "${crb_repo}" == "" ] ; then if [ "${crb_repo}" == "" ] ; then
echo "CRB repo is disabled" echo "CRB repo is disabled"
else else
@ -39,7 +39,7 @@ show_status()(
enable_disable_repo(){ enable_disable_repo(){
command="$1" command="$1"
# Determine which repo we need to change # Determine which repo we need to change
crb_repo=$(dnf repolist --all | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt | awk '{print $1}') crb_repo=$(dnf repolist --all | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
# Determine if we are on RHEL or not, then do the correct steps # Determine if we are on RHEL or not, then do the correct steps
source /etc/os-release source /etc/os-release

@ -1,6 +1,6 @@
Name: epel-release Name: epel-release
Version: 8 Version: 8
Release: 20%{dist} Release: 21%{dist}
Summary: Extra Packages for Enterprise Linux repository configuration Summary: Extra Packages for Enterprise Linux repository configuration
License: GPLv2 License: GPLv2
@ -84,6 +84,9 @@ fi
%changelog %changelog
* Fri Aug 30 2024 Troy Dawson <tdawson@redhat.com> - 8-21
- Tweak crb script. Fix for RHEL rhui repos (#2308671)
* Thu Jun 27 2024 Carl George <carlwgeorge@fedoraproject.org> - 8-20 * Thu Jun 27 2024 Carl George <carlwgeorge@fedoraproject.org> - 8-20
- Obsolete epel-next-release subpackage for EPEL 8 Next retirement - Obsolete epel-next-release subpackage for EPEL 8 Next retirement

Loading…
Cancel
Save