gitlab-ci: Enable building on CentOS7
[samba.git] / bootstrap / generated-dists / centos6 / bootstrap.sh
index 521d571d1f6978a87b646051a96b1b09fb6c7b89..203386bf4473cbe61e82330883ebd63e4b68c0ec 100755 (executable)
@@ -7,11 +7,11 @@
 
 set -xueo pipefail
 
-yum -y -q update
-yum -y -q install epel-release
-yum -y -q update
+yum update -y
+yum install -y epel-release
+yum update -y
 
-yum -y -q --verbose install \
+yum install -y \
     "@Development Tools" \
     acl \
     attr \
@@ -87,7 +87,8 @@ yum -y -q --verbose install \
     python3-crypto \
     python3-dns \
     python3-markdown \
-    python34-devel \
+    python36 \
+    python36-devel \
     quota-devel \
     readline-devel \
     redhat-lsb \
@@ -104,4 +105,8 @@ yum -y -q --verbose install \
     yum-utils \
     zlib-devel
 
-yum clean all
\ No newline at end of file
+yum clean all
+
+if [ ! -f /usr/bin/python3 ]; then
+    ln -sf /usr/bin/python3.6 /usr/bin/python3
+fi
\ No newline at end of file