wok-next rev 16640
mysql: /var/run may be a symlink...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 12 13:32:42 2014 +0000 (2014-05-12) |
parents | d19188e483fc |
children | f9c110fcc112 |
files | mysql/receipt |
line diff
1.1 --- a/mysql/receipt Mon May 12 12:54:00 2014 +0000 1.2 +++ b/mysql/receipt Mon May 12 13:32:42 2014 +0000 1.3 @@ -69,8 +69,7 @@ 1.4 $fs/usr/lib/mysql/plugin \ 1.5 $fs/etc/mysql \ 1.6 $fs/etc/mysql.d \ 1.7 - $fs/var/lib/mysql \ 1.8 - $fs/var/run/mysqld 1.9 + $fs/var/lib/mysql 1.10 1.11 cp -a $install/usr/bin $fs/usr 1.12 cp -a $install/usr/lib/mysql/plugin/*.so* $fs/usr/lib/mysql/plugin 1.13 @@ -116,6 +115,7 @@ 1.14 status 1.15 fi 1.16 #chroot $1/ /bin/chown ${user}.${group} $(cat $1/$INSTALLED/$PACKAGE/files.list) 1.17 + mkdir -p $1/var/run/mysqld 2> /dev/null 1.18 chroot "$1/" /bin/chown -R ${user}.${group} /var/lib/mysql /var/run/mysqld 1.19 chroot "$1/" mysql_install_db --user=${user} --basedir=/usr 1.20 cat <<EOF