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
This commit is contained in:
parent
add126c84d
commit
83cb67dde2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user