All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fred Ollinger <Fred.Ollinger@seescan.com>
To: Moti Cohen <motic.mail@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: MySQL recipe for yocto
Date: Wed, 20 Apr 2016 19:12:12 +0000	[thread overview]
Message-ID: <1461179526735.1762@seescan.com> (raw)
In-Reply-To: <CAHvG4ADLMkqJ+6p=12u2WJxfkD025gi=jN5msa17LqT5ZfO2tQ@mail.gmail.com>

You can get rid of the patches in the bb file.


Look for SRC_URI


See any .patch files and remove them and try to build again.


Please post build errors.


Frederick

________________________________
From: Moti Cohen <motic.mail@gmail.com>
Sent: Wednesday, April 20, 2016 12:08 PM
To: Fred Ollinger
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] MySQL recipe for yocto

Thanks Fred,

I actually tried it and replaced the PV to a newer one, i used 5.6.29 instead of 5.1.40 which is the latest "real" MySQL supported by openembedded. I also added the relevant SHA numbers etc.

The problem is that the recipe includes quite a few patches that are now showing many errors when applied during the build. I guess that these patches are related to the original 5.1.40 version and I'm not sure they should be applied to the newer one. Unfortunetly, as I'm not an expert, it seems like it will be a difficult task for me to clean these errors.

I realy hope there's a simpler way go about it :)



On Wed, Apr 20, 2016 at 8:25 PM, Fred Ollinger <Fred.Ollinger@seescan.com<mailto:Fred.Ollinger@seescan.com>> wrote:
I'd start with the mysql recipe and update the source reference and try to build it.


If this fails, you might need to change some other things.


Here's a howto on writing a recipe:


https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe



________________________________
From: yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> <yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org>> on behalf of Moti Cohen <motic.mail@gmail.com<mailto:motic.mail@gmail.com>>
Sent: Wednesday, April 20, 2016 10:18 AM
To: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
Subject: [yocto] MySQL recipe for yocto

Hi all,
this is my 1'st post to this list so I hope I'm doing it right :)

I need to add MySQL for my yocto build.
Looking online for a recipe - i found that there is one for MySQL under:
/meta-openembedded/meta-oe/recipes-support/mysql/..
The thing is that instead of MySQL, the recipe reffers to MariaDB which is a kind of a drop-in replacemnet and since I need to have the "real" MySQL in my build - I cannot use it.
looking into history log of mysql in the meta-openembedded git, it can be seen the the switch between MySQL and MariaDB was made at 2013 and from then onwards it's MariaDB.

http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/mysql?id=72e23c12296fbc77193898c38426add58d0c2d71

Now to the question, do you know how can I add the "real" MySQL to my build ?
looking before 2013 at the meta-openembedded git i can find a recipe for MySQL which seems to support a "real" MySQL however, it's very old version (5.1) and I'm not sure how and if I can update it to one of the latest (e.g. MySQL 5.6).

Will appriciate any feedback on this.
Thanks in advance,
Motico



  reply	other threads:[~2016-04-20 19:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 17:18 MySQL recipe for yocto Moti Cohen
2016-04-20 17:25 ` Fred Ollinger
2016-04-20 19:08   ` Moti Cohen
2016-04-20 19:12     ` Fred Ollinger [this message]
2016-04-20 20:39       ` Moti Cohen
2016-04-20 21:04         ` Fred Ollinger
2016-04-21  3:06         ` Tim Orling

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=1461179526735.1762@seescan.com \
    --to=fred.ollinger@seescan.com \
    --cc=motic.mail@gmail.com \
    --cc=yocto@yoctoproject.org \
    /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.