[yocto] Error applying patch - openvswitch

Burton, Ross ross.burton at intel.com
Wed Jun 22 07:40:21 PDT 2016


On 22 June 2016 at 15:34, Rajasekaran, Monica <
Monica.Rajasekaran at us.fujitsu.com> wrote:

> |diff --git
> data/users/mrajase/l100_label_based_r100poc/repo/poky/build/tmp/work/core2-64-enea-linux/openvswitch/2.0.0-r0/openvswitch-2.0.0/ofproto/ofproto.c
> data/users/mrajase/extra/ofproto.c
>
> |index ea812ad..76c355f 100644
>
> |---
> data/users/mrajase/l100_label_based_r100poc/repo/poky/build/tmp/work/core2-64-enea-linux/openvswitch/2.0.0-r0/openvswitch-2.0.0/ofproto/ofproto.c
>
> |+++ data/users/mrajase/extra/ofproto.c
>
>
This is the problem, your filename paths are messed up because of how you
generated the patch: it looks like your data/ directory is git-managed so
git did what you told it and generated a patch with the full paths in.

The easy solution here is to use "devtool modify" (see the manual) but you
can hand-edit the patch to remove everything from data/ to 2.0.0-r0/ and it
should apply.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160622/06c0bf4e/attachment.html>


More information about the yocto mailing list