[yocto] do_patch through Yocto fails while "git am" succeed

Joshua G Lock joshua.g.lock at linux.intel.com
Mon Jun 13 01:29:25 PDT 2016


On Fri, 2016-06-10 at 20:32 +0100, Burton, Ross wrote:
> 
> On 10 June 2016 at 19:12, Michael Hu <pxmyhdev at gmail.com> wrote:
> > What could be the difference?
> > 
> > 
> 
> bitbake uses quilt to apply patches, not git am, so if the patch
> isn't exactly right then they'll behave differently.  Stripping the
> trailing CRs would be a start.
> 
It's worth pointing out that you can tell the system to use a different
tool to apply your patch by setting the PATCHTOOL variable in your
recipe:
http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-PAT
CHTOOL
i.e.
PATCHTOOL = "git"
Regards,
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160613/d3e52157/attachment.html>


More information about the yocto mailing list