[yocto] How can i invoke a "particular recipe(.bb)" while building "image recipe(.bb)" without modifying the "image recipe(.bb)" . i only wanted to change "particular recipe(.bb)"

Gary Thomas gary at mlbassoc.com
Wed Sep 30 06:39:08 PDT 2015


On 2015-09-30 05:08, Vivek Per wrote:
> Hi , thanks you for replying,
> but i don't want to make changes to "image" recipe. i only wanted to make changes to "x" recipe that should be invoked when i do bitbake <image recipe>.
> what variable i can put in "x" recipe so that it invokes when is do <bitbake image recipe>

You can't - what you are asking for is "image" to depend on "x" (i.e. include it) and the
only way to do that is relative to "image", not "x".

You can do this non-invasively, e.g. in local.conf:
   IMAGE_INSTALL_append_pn-image = " x"

> On Wed, Sep 30, 2015 at 3:43 PM, Khem Raj <raj.khem at gmail.com <mailto:raj.khem at gmail.com>> wrote:
>
>     On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per <pervivek at gmail.com <mailto:pervivek at gmail.com>> wrote:
>     > hi,
>     >    i want to create a "x" recipe that should automatically get invoke when
>     > "image" recipe( that produces image) is built. How can i modify the "x"
>     > recipe that should be invoked while building image recipe.
>     >
>     > I don't want to do any modifications to the image recipe, i only wanted to
>     > do changes in "x" recipe.
>     > Can any one help on this . thanks in advance
>
>     add one of output package its producing ( ipk)  to IMAGE_INSTALL
>     inside the image recipe.
>
>     >
>     > Thanks and regards
>     > vivek
>     >
>     > --
>     > _______________________________________________
>     > yocto mailing list
>     >yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>     >https://lists.yoctoproject.org/listinfo/yocto
>     >
>
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list