[Buildroot] [PATCH v3 1/2] package/mysql: add MYSQL_SOCKET variable
Floris Bos
bos at je-eigen-domein.nl
Sun Sep 11 20:25:08 UTC 2016
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.
Yours sincerely,
Floris Bos
More information about the buildroot
mailing list