From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] mariadb: bump version to 10.2.16
Date: Wed, 18 Jul 2018 15:40:43 +0200 [thread overview]
Message-ID: <20180718154043.1140bb82@windsurf> (raw)
In-Reply-To: <20180718132846.3176-1-bluemrp9@gmail.com>
Hello,
Thanks for this update. A few comments/questions below.
On Wed, 18 Jul 2018 06:28:46 -0700, Ryan Coe wrote:
> @@ -67,7 +67,7 @@ MARIADB_CONF_OPTS += \
> -DMYSQL_DATADIR=/var/lib/mysql \
> -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET)
>
> -HOST_MARIADB_CONF_OPTS += -DWITH_SSL=bundled
> +HOST_MARIADB_CONF_OPTS += -DWITH_SSL=OFF
This change should be explained in the commit log. Is it really related
to the bump ?
>
> # Some helpers must be compiled for host in order to crosscompile mariadb for
> # the target. They are then included by import_executables.cmake which is
> @@ -104,13 +104,13 @@ define MARIADB_INSTALL_INIT_SYSTEMD
> endef
> endif
>
> +# We don't need mysql_config on the target as it's only useful in staging
> +# We also don't need the test suite on the target
> define MARIADB_POST_INSTALL
> mkdir -p $(TARGET_DIR)/var/lib/mysql
> $(INSTALL) -D -m 644 $(TARGET_DIR)/usr/share/mysql/my-small.cnf \
> $(TARGET_DIR)/etc/mysql/my.cnf
> - # We don't need this on the target as it's only useful in staging
> $(RM) $(TARGET_DIR)/usr/bin/mysql_config
> - # Remove test suite
> $(RM) -r $(TARGET_DIR)/usr/share/mysql/test
> endef
This whole changed should be explained in the commit log, and be part
of a separate patch, because it has nothing to do with the bump.
>
> diff --git a/package/mysql/Config.in b/package/mysql/Config.in
> index 278dc73e57..140c2314d4 100644
> --- a/package/mysql/Config.in
> +++ b/package/mysql/Config.in
> @@ -17,6 +17,7 @@ choice
> config BR2_PACKAGE_MARIADB
> bool "mariadb"
> depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
> + depends on !BR2_STATIC_LIBS #dlopen
This should also be explained in the commit log. In addition, when you
add such a dependency, a Config.in comment should be added:
comment "mariadb needs a toolchain w/ dynamic library"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS
Thanks!
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2018-07-18 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-18 13:28 [Buildroot] [PATCH 1/1] mariadb: bump version to 10.2.16 Ryan Coe
2018-07-18 13:40 ` Thomas Petazzoni [this message]
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=20180718154043.1140bb82@windsurf \
--to=thomas.petazzoni@bootlin.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