From: Joshua G Lock <joshua.g.lock@linux.intel.com>
To: "Burton, Ross" <ross.burton@intel.com>, Michael Hu <pxmyhdev@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: do_patch through Yocto fails while "git am" succeed
Date: Mon, 13 Jun 2016 09:29:25 +0100 [thread overview]
Message-ID: <1465806565.2923.2.camel@linux.intel.com> (raw)
In-Reply-To: <CAJTo0LYhW6XdK=T2F5B+Y4OX-O-ZSYHVUzFp5CqH_LZiV5RHmg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
On Fri, 2016-06-10 at 20:32 +0100, Burton, Ross wrote:
>
> On 10 June 2016 at 19:12, Michael Hu <pxmyhdev@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
[-- Attachment #2: Type: text/html, Size: 1135 bytes --]
next prev parent reply other threads:[~2016-06-13 8:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 18:12 do_patch through Yocto fails while "git am" succeed Michael Hu
2016-06-10 19:32 ` Burton, Ross
2016-06-13 8:29 ` Joshua G Lock [this message]
2016-06-15 21:10 ` Khem Raj
2016-06-22 14:43 ` Michael Hu
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=1465806565.2923.2.camel@linux.intel.com \
--to=joshua.g.lock@linux.intel.com \
--cc=pxmyhdev@gmail.com \
--cc=ross.burton@intel.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.