From aea20fe8520d9cec8767bbada75c073fb5f3547e Mon Sep 17 00:00:00 2001 From: ShivanshGahlot Date: Wed, 22 Jan 2025 06:05:52 +0000 Subject: [PATCH 1/2] Changes for mysql-devel --- installer_scripts/install-yb-voyager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer_scripts/install-yb-voyager b/installer_scripts/install-yb-voyager index 0b1a86c97f..00fd834a7f 100755 --- a/installer_scripts/install-yb-voyager +++ b/installer_scripts/install-yb-voyager @@ -909,8 +909,8 @@ create_guardrail_scripts_dir() { centos_install_mysql_client() { version=$1 - # If version is greater than or equal to 8 then dont install from community repo - if [ "$version" -ge 8 ]; then + # If version is equal to 8 then dont install from community repo + if [ "$version" -eq 8 ]; then $YUM_INSTALL mysql-devel 1>&2 return fi From 4c089d273c32edc1fafc3046c5354bb2cfe0f9be Mon Sep 17 00:00:00 2001 From: ShivanshGahlot Date: Wed, 22 Jan 2025 06:20:21 +0000 Subject: [PATCH 2/2] Changes for mysql-devel --- installer_scripts/install-yb-voyager | 1 + 1 file changed, 1 insertion(+) diff --git a/installer_scripts/install-yb-voyager b/installer_scripts/install-yb-voyager index 00fd834a7f..34d2904fcc 100755 --- a/installer_scripts/install-yb-voyager +++ b/installer_scripts/install-yb-voyager @@ -919,6 +919,7 @@ centos_install_mysql_client() { sudo yum remove -y mysql84-community-release-el${version}-1 1>&2 sudo yum install -y mysql84-community-release-el${version}-1.noarch.rpm 1>&2 sudo yum install -y mysql-community-devel 1>&2 + rm -f mysql84-community-release-el${version}-1.noarch.rpm } centos_check_base_repo_enabled() {