mariadb: install mysqld-post to /usr/bin (where the systemd service expects it).

This commit is contained in:
Juan RP 2013-09-23 16:41:51 +02:00
parent 3f4195d684
commit dc5bc50e49
2 changed files with 3 additions and 3 deletions

View file

@ -3,6 +3,6 @@
while true; do
response=$(/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1) && break
echo "$response" | grep -q "mysqld is alive" && break
echo "$response" | grep -q "Access denied for user" && break
echo "$response" | grep -q "Access denied for user" && break
sleep 1
done

View file

@ -1,7 +1,7 @@
# Template file for 'mariadb'
pkgname=mariadb
version=5.5.33
revision=1
revision=2
build_style=cmake
configure_args="-DSYSCONFDIR=/etc/mysql -DMYSQL_DATADIR=/var/lib/mysql
-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock -DDEFAULT_CHARSET=utf8
@ -71,7 +71,7 @@ post_install() {
# systemd service.
vinstall ${FILESDIR}/mysqld.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/mysqld-post.sh 755 usr/lib/systemd/scripts mysqld-post
vinstall ${FILESDIR}/mysqld-post 755 usr/bin
vinstall ${FILESDIR}/mysqld.tmpfiles 644 usr/lib/tmpfiles.d mysqld.conf
}