Re: [yocto] forcing a task to run while building an image

2012-02-03 Thread Joshua Immanuel
Hello Sathishkumar, On Fri, 2012-02-03 at 14:21 +0530, Sathishkumar Duraisamy wrote: > The following is the scenario, you are in. If I wrong, please correct > me. > " You have your development program/application in some place. You > want to build and include it in your rootfs. And you don't want

Re: [yocto] forcing a task to run while building an image

2012-02-03 Thread Sathishkumar Duraisamy
The following is the scenario, you are in. If I wrong, please correct me. " You have your development program/application in some place. You want to build and include it in your rootfs. And you don't want to edit the recipe/other things for each build of rootfs." The scenario is very common. What

Re: [yocto] forcing a task to run while building an image

2012-02-03 Thread Joshua Immanuel
Hello, On Wed, 2012-02-01 at 17:12 +0530, Joshua Immanuel wrote: > My use-case is such that I need to run a particular task irrespective > of the changes in that recipe. By adding the task to > do_bootimg[depends] I was able to accomplish that. (I am not sure > whether it is the preferred way of d

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Joshua Immanuel
Hello Sathishkumar, On Wed, 2012-02-01 at 17:52 +0530, Sathishkumar Duraisamy wrote: > I understood what you trying to mean. Can you please clarify what > image means, whether final image of rfs like jffs2 or package from a > recipe. I meant the final rootfs image as in 'core-image-minimal'. Reg

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Sathishkumar Duraisamy
On Wed, Feb 1, 2012 at 5:12 PM, Joshua Immanuel wrote: > Hello Sathishkumar, hello > On Wed, 2012-02-01 at 16:34 +0530, Sathishkumar Duraisamy wrote: >> I think, image are build from the packages that are build from the >> recipe. And there is no way for the bitbake to detect that source is >> cha

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Joshua Immanuel
Hello Sathishkumar, On Wed, 2012-02-01 at 16:34 +0530, Sathishkumar Duraisamy wrote: > I think, image are build from the packages that are build from the > recipe. And there is no way for the bitbake to detect that source is > changed like the makefile. My use-case is such that I need to run a pa

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Sathishkumar Duraisamy
On Tue, Jan 31, 2012 at 12:40 PM, Joshua Immanuel wrote: > Hello all, >        How do I force a particular task to run every time while building an > image? You may have look at this http://docs.openembedded.org/usermanual/usermanual.html#usage_workwithsinglerecipe. I think, image are build from

Re: [yocto] forcing a task to run while building an image

2012-01-31 Thread Joshua Immanuel
Hello, On Tue, 2012-01-31 at 12:40 +0530, Joshua Immanuel wrote: > At present in my custom image recipe I've added the following > lines > > SOME_VARIABLE = "Blah" > do_bootimg[depends] += "base-files:do_install" > > But the contents of ${SOME_VARIABLE} is not ava

[yocto] forcing a task to run while building an image

2012-01-30 Thread Joshua Immanuel
Hello all, How do I force a particular task to run every time while building an image? At present in my custom image recipe I've added the following lines SOME_VARIABLE = "Blah" do_bootimg[depends] += "base-files:do_install" But the contents of ${SOME_VARIA