Re: [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)"

2015-10-04 Thread Vivek Per
Thanks you very much for your precious time. I got it now.

thanks and regards
   vivek

On Wed, Sep 30, 2015 at 7:09 PM, Gary Thomas  wrote:

> 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 > recipe>.
>> what variable i can put in "x" recipe so that it invokes when is do
>> 
>>
>
> 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.k...@gmail.com>> wrote:
>>
>> On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per > > 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 
>> >https://lists.yoctoproject.org/listinfo/yocto
>> >
>>
>>
>>
>>
>>
> --
> 
> Gary Thomas |  Consulting for the
> MLB Associates  |Embedded world
> 
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [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)"

2015-09-30 Thread Vivek Per
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 .
what variable i can put in "x" recipe so that it invokes when is do


Thanks and Regards
Vivek

On Wed, Sep 30, 2015 at 3:43 PM, Khem Raj  wrote:

> On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per  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
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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)"

2015-09-30 Thread Vivek Per
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

Thanks and regards
vivek
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [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)"

2015-09-30 Thread Khem Raj
On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per  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
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [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)"

2015-09-30 Thread YUKATHARSANI JEYACHANDRA
Hi,

1) Create packagegroup-debug-extra"x recipe name".bb file inside the 
meta-x/recipes-core/packagegroups layer.
Inside the recipe, add the x recipe name like below:-

inherit packagegroup

PACKAGES = "\
packagegroup-debug-extra"x recipename" \
"

RDEPENDS_packagegroup-extra"x recipename = "x recipe name"

2) Add IMAGE_INSTALL_append = "x recipe name" in build/conf/local.conf file.

Please try this and let me know if it works.

Thanks and Regards,
Yukatharsani J.


From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Khem Raj <raj.k...@gmail.com>
Sent: Wednesday, September 30, 2015 3:43 PM
To: Vivek Per
Cc: yocto@yoctoproject.org
Subject: Re: [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)"

On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per <pervi...@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
> https://lists.yoctoproject.org/listinfo/yocto
>
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [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)"

2015-09-30 Thread Gary Thomas

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 .
what variable i can put in "x" recipe so that it invokes when is do 


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 > wrote:

On Wed, Sep 30, 2015 at 2:05 AM, Vivek Per > 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 
>https://lists.yoctoproject.org/listinfo/yocto
>






--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto