[oe] [meta-oe][PATCH] mariadb: change the group of /var/lib/mysql from 'nogroup' to 'mysql'.

Hongxu Jia hongxu.jia at windriver.com
Fri Aug 22 01:25:01 UTC 2014


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 at windriver.com>
---
 meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc b/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc
index 8a73833..06c7aba 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc
@@ -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
 
-- 
1.9.1




More information about the Openembedded-devel mailing list