From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] integrating MariaDB Galera Cluster into BR
Date: Tue, 05 May 2015 23:18:51 +0200 [thread overview]
Message-ID: <554933BB.80404@mind.be> (raw)
In-Reply-To: <55489BE5.6070402@green-communications.fr>
On 05/05/15 12:31, Sylvain Raybaud wrote:
> On 24/04/2015 19:54, Yann E. MORIN wrote:
>> On 2015-04-24 16:49 +0200, Sylvain Raybaud spake thusly:
>
>>> a) Create a meta-package, for example "mysql compatible DB", the
>>> selection of which would let the user choose between MariaDB
>>> Galera Cluster or MySQL?
>>>
>>> b) Integrate MariaDB Galera Cluster into MySQL package and let
>>> the user choose which implementation he wants?
>>>
>>> c) Make these packages mutually exclusive using "depends on !"?
>
>> I would say either b) or c). Which one depends on how MariaDB
>> Galera is seen with respect to MySQL:
>
>> 1- is it a completely different implementation that is 100%
>> compatible?
>
>> 2- is it a fork that is 100% compatible?
>
>> 3- is it a fork that is not 100% compatible?
>
>> For 1 or 2, I'd say go with b), otherwise go for c).
>
> MariaDB is supposed to be a "drop-in replacement for MySQL" so I
> suppose I should go for b).
> https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/
> lists some differences but it seems that everything you can do with
> MySQL you can do with MariaDB.
>
> Does option b) allow dependencies specific to MariaDB?
It's very easy to add something like this to mysql.mk:
ifeq ($(BR2_PACKAGE_MYSQL_MARIADB),y)
MYSQL_DEPENDENCIES += foo
else
MYSQL_DEPENDENCIES += bar
endif
And so on for all other things that are different between the two builds. Even
if they were completely different, you could put a big ifeq around the entire
.mk file.
You'll have more trouble with the patches. The only solution for those is to
move them to a version-specific directory, so 5.1/ for the mysql version and
10.0.17 for MariaDB.
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150505/2d023c98/attachment.asc>
prev parent reply other threads:[~2015-05-05 21:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 14:49 [Buildroot] integrating MariaDB Galera Cluster into BR Sylvain Raybaud
2015-04-24 17:54 ` Yann E. MORIN
2015-05-05 10:31 ` Sylvain Raybaud
2015-05-05 21:18 ` Arnout Vandecappelle [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=554933BB.80404@mind.be \
--to=arnout@mind.be \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.