mariadb: install mysqld-post to /usr/bin (where the systemd service expects it).
This commit is contained in:
parent
3f4195d684
commit
dc5bc50e49
|
@ -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
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue