diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-19 17:58:57 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-21 21:35:08 +0200 |
commit | 8f637f9bbcdda1dc7a1998d243708c727aa6016f (patch) | |
tree | 7c165d9d5be8159d3823916f6af325eb5cd4c4aa /meta-oe/recipes-support/mysql | |
parent | b2b80a1ee81a191c1a95ad5055c9492657b7f32c (diff) | |
download | meta-openembedded-8f637f9bbcdda1dc7a1998d243708c727aa6016f.tar.gz |
mariadb: refer ubuntu/redhat to add mysql group
In ubuntu/redhat, we have:
...
ps -eo user,group,cmd | grep "mysql"
mysql mysql /usr/sbin/mysqld
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql')
-rw-r--r-- | meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | 4 |
1 files changed, 2 insertions, 2 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 e6eae7873..8a738336f 100644 --- a/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc +++ b/meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | |||
@@ -25,8 +25,8 @@ INITSCRIPT_NAME = "mysqld" | |||
25 | INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ." | 25 | INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ." |
26 | 26 | ||
27 | USERADD_PACKAGES = "${PN}-server" | 27 | USERADD_PACKAGES = "${PN}-server" |
28 | USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup --shell /bin/false mysql" | 28 | USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql" |
29 | 29 | GROUPADD_PARAM_${PN}-server = "--system mysql" | |
30 | 30 | ||
31 | EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'" | 31 | EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'" |
32 | 32 | ||