ansible-coreos-bootstrap
ansible-coreos-bootstrap copied to clipboard
Upgrade to latest pypy portable
As of coreOS 1800.4.0, this PR is in fact needed for python to work; This is due to libncurses being switched to version 6. See: https://bitbucket.org/pypy/pypy/issues/2856/provide-a-version-that-requires-libncurses https://github.com/kubernetes/contrib/issues/1675
@defunctzombie can you please take a look?
+1 on having this fixed
Using portable pypy causes errors on updating CA certiticates via update-ca-certificates
/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
/usr/bin/openssl: symbol lookup error: /usr/bin/openssl: undefined symbol: BIO_f_zlib
...
Some info why it works in that way can be found here https://github.com/squeaky-pl/portable-pypy#a-word-about-openssl
Worked for me with pypy2
PYPY_VERSION=v6.0.0
if [[ -e $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2 ]]; then
tar -xjf $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2
rm -rf $HOME/pypy2-$PYPY_VERSION-linux64.tar.bz2
else
wget -O - https://bitbucket.org/pypy/pypy/downloads/pypy2-${PYPY_VERSION}-linux64.tar.bz2 |tar -xjf -
fi
mv -n pypy2-$PYPY_VERSION-linux64 pypy