From: Marcelo GutiƩrrez(UTN/FRH) Date: Tue, 4 Mar 2014 14:50:01 +0000 (+0000) Subject: mysql: add mysql user X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83cb67dde2daa1b51e84bb2473f5bda77282842b;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni merge user def --- 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