From 41eff6b8ea139cb02f1a0b57d67bc08e411f5848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 May 2018 11:50:01 +0200 Subject: Put the OpenSSL 1.0 fix in /usr/openssl-1.0 --- ci.d/openssl | 8 ++++---- priv/buildkite-environment-hook-openssl-fix-10 | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci.d/openssl b/ci.d/openssl index 2d61491..9648ebd 100644 --- a/ci.d/openssl +++ b/ci.d/openssl @@ -4,10 +4,10 @@ # # Setup OpenSSL 1.0 for older Erlang versions. openssl_fix_10() { - lxc_do mkdir /home/buildkite-agent/openssl-1.0 - lxc_do ln -s /usr/include/openssl-1.0 /home/buildkite-agent/openssl-1.0/include - lxc_do ln -s /usr/lib/openssl-1.0 /home/buildkite-agent/openssl-1.0/lib - echo "lxc.environment = KERL_CONFIGURE_OPTIONS=--with-ssl=/home/buildkite-agent/openssl-1.0" \ + lxc_do mkdir /usr/openssl-1.0 + lxc_do ln -s /usr/include/openssl-1.0 /usr/openssl-1.0/include + lxc_do ln -s /usr/lib/openssl-1.0 /usr/openssl-1.0/lib + echo "lxc.environment = KERL_CONFIGURE_OPTIONS=--with-ssl=/usr/openssl-1.0" \ >> /home/lxc/$NAME/config } diff --git a/priv/buildkite-environment-hook-openssl-fix-10 b/priv/buildkite-environment-hook-openssl-fix-10 index 1a68e24..4805283 100644 --- a/priv/buildkite-environment-hook-openssl-fix-10 +++ b/priv/buildkite-environment-hook-openssl-fix-10 @@ -2,4 +2,4 @@ set -e -export KERL_CONFIGURE_OPTIONS=--with-ssl=/home/buildkite-agent/openssl-1.0 +export KERL_CONFIGURE_OPTIONS=--with-ssl=/usr/openssl-1.0 -- cgit v1.2.3