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.m...@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.ollin...@seescan.com<mailto:fred.ollin...@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-boun...@yoctoproject.org<mailto:yocto-boun...@yoctoproject.org> 
<yocto-boun...@yoctoproject.org<mailto:yocto-boun...@yoctoproject.org>> on 
behalf of Moti Cohen <motic.m...@gmail.com<mailto:motic.m...@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

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to