]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Use the appropriate package name for mysql/mariadb
authorDan Mick <dan.mick@redhat.com>
Sat, 30 Apr 2016 00:23:03 +0000 (17:23 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 6 May 2016 17:16:43 +0000 (10:16 -0700)
Community package download isn't necessary; RHEL ships
mariadb and its -devel package

Signed-off-by: Dan Mick <dan.mick@redhat.com>
bootstrap

index 393f99d57a8f03d0e5bba891019b4ecc9b452952..553291afd2347e66837e6fa867b109e896ccab53 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -36,20 +36,7 @@ Linux)
         fi
         ;;
     RedHatEnterpriseWorkstation|RedHatEnterpriseServer)
-        if ! rpm -q mysql-community-devel ; then
-             cat << EOM
-             Please install mysql-community devel package before running bootstrap
-             Reference document: http://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html
-             mysql Yum repo's exist in following location
-             http://dev.mysql.com/downloads/repo/yum/
-             and the Repo can be installed using (note below example is for v5.7)
-             yum localinstall http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
-             yum update metadata
-             yum install mysql-community-devel"
-EOM
-           exit 1
-        fi
-        for package in python-pip python-virtualenv libev-devel libvirt-devel libffi-devel; do
+        for package in python-pip python-virtualenv mariadb-devel libev-devel libvirt-devel libffi-devel; do
            if [ "$(rpm -q $package)" == "package $package is not installed" ]; then
                missing="${missing:+$missing }$package"
            fi