diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-22 09:25:01 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-27 12:48:45 +0200 |
| commit | 196f1050f1c883f5f09763b1797336a9f9300db4 (patch) | |
| tree | 67563f251057d9b65a30ba3d0b38ff397b1c48ec | |
| parent | 0e34dbbab2a3458bc2c3f139bcbfd45dd21f1770 (diff) | |
| download | meta-openembedded-196f1050f1c883f5f09763b1797336a9f9300db4.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 8a738336f1..06c7ababd3 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 () { | |||
| 123 | test -d /usr/bin || mkdir -p /usr/bin | 123 | test -d /usr/bin || mkdir -p /usr/bin |
| 124 | test -e /usr/bin/hostname || ln -s /bin/hostname /usr/bin/hostname | 124 | test -e /usr/bin/hostname || ln -s /bin/hostname /usr/bin/hostname |
| 125 | mkdir /var/lib/mysql | 125 | mkdir /var/lib/mysql |
| 126 | chown mysql.nogroup /var/lib/mysql | 126 | chown mysql.mysql /var/lib/mysql |
| 127 | 127 | ||
| 128 | mysql_install_db --basedir=${prefix} --user=mysql | 128 | mysql_install_db --basedir=${prefix} --user=mysql |
| 129 | 129 | ||
