From 0197337272b3e0701bc5a5db3dbc58585a7e57b6 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Mon, 11 Aug 2014 18:03:05 +0200 Subject: [PATCH] force pymysqldb installation --- customize | 5 +++++ packages | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/customize b/customize index ef42dcf..92f6f33 100755 --- a/customize +++ b/customize @@ -48,6 +48,11 @@ for CONF_RM in ${HTTP_CONF_RM}; do rm -f /opt/local/etc/httpd/${CONF_RM} done +# Create ugly mysql-client symlink and install py27-mysqldb +echo "* Create ugly mysql-client symlink and install py27-mysqldb" +ln -sv /opt/local/lib/libperconaserverclient.so.18 /opt/local/lib/libmysqlclient.so.18 +pkg_add -f http://pkgsrc.smartos.skylime.net/packages/SmartOS/2014Q2/x86_64/All/py27-mysqldb-1.2.5.tgz + # Remove unused mysql stuff from base echo "* Remove unused mysql stuff from base" rm -r /var/mysql/* diff --git a/packages b/packages index 714e381..d1b093b 100644 --- a/packages +++ b/packages @@ -34,8 +34,6 @@ phpmyadmin py27-gunicorn py27-pip py27-passlib -py27-pymysql py27-OpenSSL py27-SSLCrypto py27-expat -py27-mysqldb