From 83cb67dde2daa1b51e84bb2473f5bda77282842b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcelo=20Guti=C3=A9rrez=28UTN/FRH=29?= Date: Tue, 4 Mar 2014 14:50:01 +0000 Subject: [PATCH] mysql: add mysql user MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [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 --- package/mysql/mysql.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2