aboutsummaryrefslogtreecommitdiff
path: root/package/mysql
diff options
context:
space:
mode:
authorGravatar Marcelo GutiƩrrez(UTN/FRH) <kuyurix@gmail.com>2014-03-04 14:50:01 +0000
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-21 23:52:27 +0200
commit83cb67dde2daa1b51e84bb2473f5bda77282842b (patch)
tree45652a42fac5ab90fc9c40b81fd1d724e53702ce /package/mysql
parentadd126c84d06aa9fa60056c49c1d8b0a6c74ac4b (diff)
downloadbuildroot-83cb67dde2daa1b51e84bb2473f5bda77282842b.tar.gz
buildroot-83cb67dde2daa1b51e84bb2473f5bda77282842b.tar.bz2
mysql: add mysql user
[Thomas: do not define a password nor a shell, add a description for the user.] Signed-off-by: Marcelo GutiƩrrez <kuyurix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> merge user def
Diffstat (limited to 'package/mysql')
-rw-r--r--package/mysql/mysql.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mysql/mysql.mk b/package/mysql/mysql.mk
index 21435f5a7c..44dcb7e14f 100644
--- a/package/mysql/mysql.mk
+++ b/package/mysql/mysql.mk
@@ -89,6 +89,10 @@ define HOST_MYSQL_INSTALL_CMDS
$(INSTALL) -m 0755 $(@D)/sql/gen_lex_hash $(HOST_DIR)/usr/bin/
endef
+define MYSQL_USERS
+ mysql -1 nogroup -1 * /var/mysql - - MySQL daemon
+endef
+
define MYSQL_ADD_FOLDER
$(INSTALL) -d $(TARGET_DIR)/var/mysql
endef