this patch is empty. Secondly, make sure that patch is generated relative to S

if you were not doing devtool workflow which I recommend to follow. You can 
also go into the ${S}
and generate the patch using quilt.

quilt new your.patch
quilt add ofproto.c
make changes to ofproto.c
quilt refresh
then copy patches/your.patch to metadata area and apply it by adding it to 
SRC_URI

> On Jun 22, 2016, at 1:24 PM, Rajasekaran, Monica 
> <[email protected]> wrote:
> 
> 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:[email protected] 
> <mailto:[email protected]>]
> Sent: Wednesday, June 22, 2016 3:16 PM
> To: Rajasekaran, Monica <[email protected] 
> <mailto:[email protected]>>
> Cc: [email protected] <mailto:[email protected]>
> 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 
> <[email protected] 
> <mailto:[email protected]>> 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:[email protected] 
> <mailto:[email protected]>]
> Sent: Wednesday, June 22, 2016 2:18 PM
> To: Rajasekaran, Monica <[email protected] 
> <mailto:[email protected]>>
> Cc: [email protected] <mailto:[email protected]>
> Subject: Re: [yocto] Error applying patch - openvswitch
> 
> 
> On 22 June 2016 at 19:25, Rajasekaran, Monica 
> <[email protected] 
> <mailto:[email protected]>> 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
> 
> <openvswitch_2.0.0.bb><openvswitch-Firsttt.patch><ofproto_updated.c><ofproto.c>--
> _______________________________________________
> yocto mailing list
> [email protected] <mailto:[email protected]>
> https://lists.yoctoproject.org/listinfo/yocto 
> <https://lists.yoctoproject.org/listinfo/yocto>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to