From: "Marcelo Gutiérrez" <kuyurix@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] mysql: add mysql user
Date: Tue, 4 Mar 2014 14:50:01 +0000 [thread overview]
Message-ID: <1393944603-3104-2-git-send-email-kuyurix@gmail.com> (raw)
In-Reply-To: <1393944603-3104-1-git-send-email-kuyurix@gmail.com>
Signed-off-by: Marcelo Guti?rrez <kuyurix@gmail.com>
---
package/mysql/mysql.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/mysql/mysql.mk b/package/mysql/mysql.mk
index eb3a70e..3b69bdc 100644
--- a/package/mysql/mysql.mk
+++ b/package/mysql/mysql.mk
@@ -79,6 +79,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 /bin/sh -
+endef
+
define MYSQL_ADD_FOLDER
$(INSTALL) -d $(TARGET_DIR)/var/mysql
endef
--
1.7.10.4
next prev parent reply other threads:[~2014-03-04 14:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 14:50 [Buildroot] [PATCH 1/4] mysql: fix missing directory Marcelo Gutiérrez
2014-03-04 14:50 ` Marcelo Gutiérrez [this message]
2014-07-21 22:10 ` [Buildroot] [PATCH 2/4] mysql: add mysql user Thomas Petazzoni
2014-03-04 14:50 ` [Buildroot] [PATCH 3/4] mysql: add mysql init script Marcelo Gutiérrez
2014-07-21 22:11 ` Thomas Petazzoni
2014-03-04 14:50 ` [Buildroot] [PATCH 4/4] mysql: host-mysql depends on host-zlib Marcelo Gutiérrez
2014-03-04 17:52 ` Thomas Petazzoni
2014-03-04 18:30 ` Marcelo Gutierrez
2014-03-04 20:03 ` Marcelo Gutierrez
2014-07-21 22:11 ` Thomas Petazzoni
2014-07-21 22:09 ` [Buildroot] [PATCH 1/4] mysql: fix missing directory Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393944603-3104-2-git-send-email-kuyurix@gmail.com \
--to=kuyurix@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox