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

Joshua Immanuel josh at hipro.co.in
Fri Feb 3 00:04:42 PST 2012


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 doing it) 

After removing the INHERIT += "rm_work" from my build/conf/local.conf,
the dependency added to following

        do_bootimg[depends] += "base-files:do_install"
        
failed to force rebuild. So, again I am stuck with local.conf file
manipulation :(

I guess there should be a cleaner approach to this than doing

        $ bitbake -c clean base-files
        $ bitbake custom-image
        
the above, every time I build my custom image.

Regards
Joshua
-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120203/3db51975/attachment.pgp>


More information about the yocto mailing list