diff options
author | Loïc Hoguin <[email protected]> | 2018-05-22 11:44:29 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-22 11:44:29 +0200 |
commit | efe325665a5162144bbbbcd75c7c25451c3cbac4 (patch) | |
tree | d0f89d6ab98ac3a1092e9edf42c2538dce641d86 /ci.d/openssl | |
parent | d4ed1acf01eec12d199118af8116397e688af622 (diff) | |
download | ci-efe325665a5162144bbbbcd75c7c25451c3cbac4.tar.gz ci-efe325665a5162144bbbbcd75c7c25451c3cbac4.tar.bz2 ci-efe325665a5162144bbbbcd75c7c25451c3cbac4.zip |
Create user buildkite-agent for generic BuildKite installs
Diffstat (limited to 'ci.d/openssl')
-rw-r--r-- | ci.d/openssl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ci.d/openssl b/ci.d/openssl index 139c595..2d61491 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 /root/openssl-1.0 - lxc_do ln -s /usr/include/openssl-1.0 /root/openssl-1.0/include - lxc_do ln -s /usr/lib/openssl-1.0 /root/openssl-1.0/lib - echo "lxc.environment = KERL_CONFIGURE_OPTIONS=--with-ssl=/root/openssl-1.0" \ + 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" \ >> /home/lxc/$NAME/config } @@ -15,7 +15,7 @@ openssl_fix_10() { # # Setup OpenSSL 1.0 also in Buildkite. openssl_fix_10_buildkite() { - BUILDKITE_PATH=/root/.buildkite-agent + BUILDKITE_PATH=/home/buildkite-agent/.buildkite-agent <$( cd "$( dirname "$0" )" && pwd )/priv/buildkite-environment-hook-openssl-fix-10 \ lxc_do bash -c "cat > $BUILDKITE_PATH/hooks/environment" lxc_do chmod +x $BUILDKITE_PATH/hooks/environment |