[yocto] Creating a new recipe based on another recipe

Stuart Weaver Stuart.Weaver at datapath.co.uk
Mon Sep 28 08:30:38 PDT 2015


Hi all,

I have a recipe for a package which builds well. I now need to add a patch into certain builds. What is the best way to do this?


1.       Is there a variable I can append the image name to (similar to: SRC_URI_image-name)?


2.       Is there a way of creating a new 'recipe 2' that obtains the details from 'recipe 1' and applies a patch? This way I can then simply add the new recipe into any builds I want and includes any future changes I make to 'recipe 1'. This solution also means not having to continuously reconfigure/recompile the original recipe!



3.       Do I have to do it the hard way and copy the whole .bb file into a new one and make sure everything is in sync when future updates are applied?


Regards,
Stuart Weaver


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150928/6253f987/attachment.html>


More information about the yocto mailing list