aboutsummaryrefslogtreecommitdiffstats
path: root/ci.d/openssl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-18 00:27:06 +0200
committerLoïc Hoguin <[email protected]>2018-04-18 11:06:34 +0200
commite5311de35216cc541978c10a8f2cf8204acc7b94 (patch)
tree2346f74a488585a77fd1680cc1c827ee549bb9e0 /ci.d/openssl
downloadci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.gz
ci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.bz2
ci-e5311de35216cc541978c10a8f2cf8204acc7b94.zip
Initial commit
Sets up LXC containers for CI for Alpine, Arch Linux, CentOS, Debian and Ubuntu. Currently only tested against Cowlib, it's likely that more packages need to be installed for the other projects.
Diffstat (limited to 'ci.d/openssl')
-rw-r--r--ci.d/openssl12
1 files changed, 12 insertions, 0 deletions
diff --git a/ci.d/openssl b/ci.d/openssl
new file mode 100644
index 0000000..0165cc1
--- /dev/null
+++ b/ci.d/openssl
@@ -0,0 +1,12 @@
+#!/usr/bin/env sh
+
+# openssl_fix_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" \
+ >> /home/lxc/$NAME/config
+}