[OE-core] [PATCH 1/2] classes/patch: avoid backtrace when patch does not apply
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jan 19 14:32:23 UTC 2012
On Thu, 2012-01-19 at 13:59 +0000, Paul Eggleton wrote:
> We don't need to see a Python stack backtrace when a patch does not
> apply, just the error output from patch, so trap these kinds of errors
> and ensure that we display the message and fail the task and nothing
> else.
>
> Fixes [YOCTO #1143]
>
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
> meta/classes/patch.bbclass | 5 ++++-
> meta/lib/oe/patch.py | 10 +++++-----
> 2 files changed, 9 insertions(+), 6 deletions(-)
Merged to master, thanks.
Richard
More information about the Openembedded-core
mailing list