[yocto] One recipe, two gits with destsuffix, how to patch?

Kalle kalle at zapdevelopment.com
Tue May 19 05:47:10 PDT 2015


Hi Paul,

Sorry for the late, or veeery late reply, but your suggestion here seems 
to do the work.

Thanks for the help!

BR
Kalle

On 2015-01-27 11:42, Paul Eggleton wrote:
> On Tuesday 27 January 2015 10:29:12 Kalle Komierowski wrote:
>> I just modified my recipe with the patchdir.
>> SRC_URI = "
>> xxxxx.patch;patchdir=backports/
>>
>> I can see that the patches are copied to the destination where I want them
>> but for some reason they all fail when yocto tries to apply them. If I go
>> manually to the destination git and type "git am xxxxx.patch" the all apply
>> with no problem, I also tried to "patch -p1 < xxxxx.patch" and that worked
>> to. Maybe I should play a bit with the striplevel? But I do think that
>> yocto should be able to handle it from the point where I gave it the
>> patchdir=..
> The default striplevel is 1. If the patch is formatted typically, suspect this
> means that you'd need patchdir to be set to ../backports - does that not work?
>
> Cheers,
> Paul
>




More information about the yocto mailing list