Fix handling of PowerTools repo on CentOS 8. (#10344)
They appear to have changed DNF to be case-sensitive for repo naming, and the repo name that is expected is all lower case.
Austin S. Hemmelgarn committed
Dec 9, 2020 at 07:08 UTC
6d0f5a672f87605e5bf45da53fdd10c9d196e1be
2 files changed
+2
-2
packaging/installer/install-required-packages.sh
+1
-1
@@ -1550,7 +1550,7 @@ validate_tree_centos() {
1550
echo >&2 " > Checking for PowerTools ..."
1551
if ! run yum ${sudo} repolist | grep PowerTools; then
1552
if prompt "PowerTools not found, shall I install it?"; then
1553
- run ${sudo} yum ${opts} config-manager --set-enabled PowerTools
1553
+ run ${sudo} yum ${opts} config-manager --set-enabled powertools
1554
fi
1555
fi
1556
packaging/installer/methods/manual.md
+1
-1
@@ -164,7 +164,7 @@ And install the minimum required dependencies:
164
yum install -y 'dnf-command(config-manager)'
165
166
# Enable PowerTools
167
-yum config-manager --set-enabled PowerTools
167
+yum config-manager --set-enabled powertools
168
169
# Enable EPEL
170
yum install -y epel-release