[Buildroot] [PATCH v3 1/2] package/mysql: add MYSQL_SOCKET variable
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Sep 11 20:54:49 UTC 2016
Hello,
On Sun, 11 Sep 2016 22:25:08 +0200, Floris Bos wrote:
> On 09/11/2016 09:32 PM, Thomas Petazzoni wrote:
> > Hello,
> >
> > On Fri, 9 Sep 2016 18:10:47 +0200, Floris Bos wrote:
> >> Add MYSQL_SOCKET variable with MySQL socket location
> >>
> >> v3: fix systemd missing user
> >> v2: move socket to /run/mysql/mysql.sock
> >> chmod 755 /run/mysql to allow users access to it
> > This patch lacks your Signed-off-by line.
> >
> > Also, this patch defines the MYSQL_SOCKET variable, which in PATCH 2/2
> > gets used in the PHP package. Sharing variables between packages
> > doesn't work in all situations, so we usually refrain from doing so.
> > Maybe we should document in the manual which cases work and which cases
> > don't work. Cc'ing Arnout, who knows quite a bit about this topic :)
>
> Ah, didn't know.
> Thought that always all package .mk files were included, and that
> variable expansion was deferred until actual use when created with the =
> operator (as opposed to := )
>
> Anyway, if you prefer to do without variable, and have the value
> hardcoded at both places, that's fine with me as well.
Just discussed this with Yann, and this particular usage is OK, so
patches are good.
Can you resend with:
1. Your Signed-off-by line added.
2. The changelog below the "---" sign (which itself should be after
the Signed-off-by line). See
https://patchwork.ozlabs.org/patch/668485/ for a good example.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list