[Buildroot] [PATCH 1/2] package/mysql: add MYSQL_SOCKET variable

Yann E. MORIN yann.morin.1998 at free.fr
Thu Sep 8 14:44:21 UTC 2016


Floris, All,

On 2016-09-08 16:33 +0200, Floris Bos spake thusly:
> Add MYSQL_SOCKET variable with default socket location for other
> packages to use.
> 
> Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
> ---
>  package/mysql/mysql.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/mysql/mysql.mk b/package/mysql/mysql.mk
> index 534bd97..a9e48ad 100644
> --- a/package/mysql/mysql.mk
> +++ b/package/mysql/mysql.mk
> @@ -14,6 +14,9 @@ MYSQL_AUTORECONF = YES
>  MYSQL_LICENSE = GPLv2
>  MYSQL_LICENSE_FILES = README COPYING
>  
> +# Variable with default socket location for other buildroot packages to use
> +MYSQL_SOCKET = /tmp/mysql.sock

Should we also use that location in the sysv startup script and systemd
unit?

If that is the default of mysql, is there a way to force it during
configure? I'm a bit uneasy to rely on magic values, in case a future
version changes this default location...

Regards,
Yann E. MORIN.

>  MYSQL_CONF_ENV = \
>  	ac_cv_sys_restartable_syscalls=yes \
>  	ac_cv_path_PS=/bin/ps \
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list