[yocto] Error applying patch - openvswitch

Rajasekaran, Monica Monica.Rajasekaran at us.fujitsu.com
Wed Jun 22 13:24:32 PDT 2016


Hi Ross,

I have attached the related files.

openvswitch_2.0.0.bb is the recipe file and I have included my patch there as file://openvswitch-Firsttt.patch;patch=1 \<file:///\\openvswitch-Firsttt.patch;patch=1%20\>.

openvswitch-Firsttt.patch is my patch file.

Ofproto.c is the original code.

Ofproto_updated.c is the one with a couple of my changes and print statements.

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Wednesday, June 22, 2016 3:16 PM
To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Error applying patch - openvswitch

Without sharing your recipe or the patch, nobody can help.  Check that the SRC_URI correctly contains the patch, that it ends with .patch or .diff to be applied as a patch automatically, and verify that you actually rebuilt the recipe.

Ross

On 22 June 2016 at 21:07, Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com<mailto:Monica.Rajasekaran at us.fujitsu.com>> wrote:
The folders in tmp/work on my source machine don’t have today’s date as last modified.

Hmm… I don’t know what might be the mistake with applying the patch.

Thanks,
Monica

From: Burton, Ross [mailto:ross.burton at intel.com<mailto:ross.burton at intel.com>]
Sent: Wednesday, June 22, 2016 2:18 PM
To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com<mailto:Monica.Rajasekaran at us.fujitsu.com>>
Cc: yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Subject: Re: [yocto] Error applying patch - openvswitch


On 22 June 2016 at 19:25, Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com<mailto:Monica.Rajasekaran at us.fujitsu.com>> wrote:
After applying the patches, I brought up my openvswitch which works correctly alongside the controller but I don’t see any of the print statements I added to view the changes inside. Is there a way to check the updated source code with my patch in the target machine ?

Not really, but looking in the work directory (tmp/work) will tell you if it got applied.

Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160622/a37e44b0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openvswitch_2.0.0.bb
Type: application/octet-stream
Size: 4837 bytes
Desc: openvswitch_2.0.0.bb
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160622/a37e44b0/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ofproto_updated.c
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160622/a37e44b0/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ofproto.c
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160622/a37e44b0/attachment-0001.c>


More information about the yocto mailing list