From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] integrating MariaDB Galera Cluster into BR
Date: Fri, 24 Apr 2015 19:54:38 +0200 [thread overview]
Message-ID: <20150424175438.GG4244@free.fr> (raw)
In-Reply-To: <553A5805.3080701@green-communications.fr>
Sylvain, All,
On 2015-04-24 16:49 +0200, Sylvain Raybaud spake thusly:
> I would like to integrate MariaDB Galera Cluster
> (https://mariadb.com/kb/en/mariadb/what-is-mariadb-galera-cluster/)
> into Buildroot. Before I prepare and submit patches I would like to
> ask a few questions about how to do things properly: MariaDB conflicts
> with MySQL (they install the same files). Should I:
>
> 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).
If you decide for c), then only one can depend on not the ther
(otherwise you'd have a crcular dependency). That is, something like:
config BR2_PKG_MYSQL
bool "mysql"
config BR2_PKG_MARIADB
bool "mariadb"
depends on !BR2_PKG_MYSQL
Anyway, if you're not sure, go for c); we will review the patch, and we
can guide you based on the details.
in any case, be sure to read:
- the section(s) from the "Adding new packages to Buildroot" chapter,
that applies to mariadb (e.g. generic, autotools, cmake...):
http://buildroot.net/downloads/manual/manual.html#adding-packages
- the section on how to send patches:
http://buildroot.net/downloads/manual/manual.html#submitting-patches
Happy hacking! ;-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-04-24 17:54 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 [this message]
2015-05-05 10:31 ` Sylvain Raybaud
2015-05-05 21:18 ` Arnout Vandecappelle
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=20150424175438.GG4244@free.fr \
--to=yann.morin.1998@free.fr \
--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.