bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [bigtop] branch master updated: BIGTOP-3169. Enable local repo is not working on yum systems (#472)
Date Tue, 19 Feb 2019 04:47:38 GMT
This is an automated email from the ASF dual-hosted git repository.

evansye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new cc5a3b5  BIGTOP-3169. Enable local repo is not working on yum systems (#472)
cc5a3b5 is described below

commit cc5a3b589a185248f6c997fa75a47ca30748d634
Author: Evans Ye <evansye@apache.org>
AuthorDate: Tue Feb 19 12:47:34 2019 +0800

    BIGTOP-3169. Enable local repo is not working on yum systems (#472)
---
 provisioner/utils/setup-env-centos.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/provisioner/utils/setup-env-centos.sh b/provisioner/utils/setup-env-centos.sh
index 48bb2f6..2e4916c 100755
--- a/provisioner/utils/setup-env-centos.sh
+++ b/provisioner/utils/setup-env-centos.sh
@@ -38,6 +38,8 @@ if [ $enable_local_repo == "true" ]; then
     yum -y install yum-utils
     sudo echo "gpgcheck=0" >> /etc/yum.conf
     sudo yum-config-manager --add-repo file:///bigtop-home/output
+    sudo echo "gpgcheck=0" >> /etc/yum.repos.d/bigtop-home_output.repo
+    sudo echo "priority=10" >> /etc/yum.repos.d/bigtop-home_output.repo
 else
     echo "local yum = $enable_local_repo ; NOT Enabling local yum.  Packages will be pulled
from remote..."
 fi


Mime
View raw message