All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: 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)"
Date: Wed, 30 Sep 2015 07:39:08 -0600	[thread overview]
Message-ID: <560BE5FC.5030702@mlbassoc.com> (raw)
In-Reply-To: <CALLyC8SVL+Yj1qHQrnPg+8bux5A=xh6qm1DOoFLhK_VvWBgtFw@mail.gmail.com>

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@gmail.com <mailto:raj.khem@gmail.com>> wrote:
>
>     On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per <pervivek@gmail.com <mailto:pervivek@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@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     >https://lists.yoctoproject.org/listinfo/yocto
>     >
>
>
>
>

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


  reply	other threads:[~2015-09-30 13:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  9:05 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)" Vivek Per
2015-09-30 10:13 ` Khem Raj
2015-09-30 11:02   ` YUKATHARSANI JEYACHANDRA
2015-09-30 11:08   ` Vivek Per
2015-09-30 13:39     ` Gary Thomas [this message]
2015-10-05  4:56       ` Vivek Per

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560BE5FC.5030702@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.