mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 20:46:13 +00:00
mariadb: change the group of /var/lib/mysql from 'nogroup' to 'mysql'.
The commit 8f637f9bbcdda1dc7a1998d243708c727aa6016f added mysql group, we should change the group of /var/lib/mysql from 'nogroup' to 'mysql' also. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
0e34dbbab2
commit
196f1050f1
@ -123,7 +123,7 @@ pkg_postinst_${PN}-server () {
|
||||
test -d /usr/bin || mkdir -p /usr/bin
|
||||
test -e /usr/bin/hostname || ln -s /bin/hostname /usr/bin/hostname
|
||||
mkdir /var/lib/mysql
|
||||
chown mysql.nogroup /var/lib/mysql
|
||||
chown mysql.mysql /var/lib/mysql
|
||||
|
||||
mysql_install_db --basedir=${prefix} --user=mysql
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user