diff options
Diffstat (limited to 'extra/mysql/Pkgfile')
-rw-r--r-- | extra/mysql/Pkgfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/mysql/Pkgfile b/extra/mysql/Pkgfile index f1d940096..df14c58c2 100644 --- a/extra/mysql/Pkgfile +++ b/extra/mysql/Pkgfile @@ -8,7 +8,7 @@ source /etc/blfs-bootscripts name=mysql version=5.5.15 -release=1 +release=2 source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/$name-$version.tar.gz http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2) @@ -25,7 +25,7 @@ build () { -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONFDIR=/etc/mysql \ -DMYSQL_DATADIR=/srv/mysql \ - -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \ + -DMYSQL_UNIX_ADDR=/var/run/mysql/mysql.sock \ -DINSTALL_INFODIR=share/mysql/docs \ -DINSTALL_MANDIR=share/man \ -DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \ @@ -71,6 +71,7 @@ build () { rm -r $PKG/usr/docs install -d $PKG/srv/mysql cp -r $PKG/usr/data/* $PKG/srv/mysql/ + rm -r $PKG/usr/data chmod -R 700 $PKG/srv/mysql mkdir -p $PKG/etc |