diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2019-01-04 09:37:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 09:37:07 +0100 |
commit | 0f4f90afc161206436679675ecf8d04b8ad896e6 (patch) | |
tree | 0ebdd98ec5f2308a8e07050ca1d0ec8af5806605 /docker | |
parent | d663c2ca20c91b1b36bf5b45fa3b0a6173049bff (diff) | |
parent | e8b63cef4bb9f0d6bafcf9f7bc4072434b7ceeb6 (diff) |
Merge pull request #8006 from vespa-engine/aressem/redirect-removed-centos-source-folder
Installing build dependencies via yum-builddep is broken due to remov…
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/build/build-vespa-internal.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/build/build-vespa-internal.sh b/docker/build/build-vespa-internal.sh index 7f448f087c5..7e88aa77fdf 100755 --- a/docker/build/build-vespa-internal.sh +++ b/docker/build/build-vespa-internal.sh @@ -16,6 +16,11 @@ cd /vespa yum -y install epel-release yum -y install centos-release-scl + +# CentOS messed up the source repo. The source repos are marked as enabled=0, but +# the yum-builddep below does not respect this setting. Hack around it for now. +sed -i 's,http://vault.centos.org/centos/7/sclo/Source/rh/,http://vault.centos.org/centos/7/sclo/Source/sclo/,g' /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo + yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-7/group_vespa-vespa-epel-7.repo yum-builddep -y ~/rpmbuild/SPECS/vespa-${VESPA_VERSION}.spec |