How to Handle Dependencies Correctly

Marcin Juszkiewicz openembedded at hrw.one.pl
Thu Aug 30 22:50:26 CEST 2007


Dnia czwartek, 30 sierpnia 2007, Jeff Rush napisał:

> Thanks Marcin for the reply but I'm afraid I don't understand.  

The problem is that openmoko wiki gave wrong way for people.

> The rebuilding of task-base is necessary to incorporate changes in the
> DISTRO_EXTRA_RDEPENDS variable, right?  

*If you have all stuff built* - otherwise you should clean task-base and 
then build it again.

> And use of that variable is the way you get additional packages added to
> your image.

It is a way - bad way.

> So why would the proper way to add packages not utilize the dependency
> chain? 

The way is not proper - user should NOT touch DISTRO_* or MACHINE_* 
variables. If you want to add software into image you should create new 
image recipe (based on openmoko-devel-image for example) and use it.

And "bitbake -crebuild task-base" rebuilds ONLY task-base. It does not 
build any software which task-base depends on because it is not a job 
for "rebuild" task.

> Is there another way I should be doing this? 

Yes - create own image recipe and there list software which you want to 
have in image. Or install openmoko-devel-image on phone and then use 
feeds and ipkg to add extra software. You can use tmp/deploy/glibc/ipk/* 
subdirs as feeds for your device.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

       If you're going down in flames, aim for something expensive.





More information about the openmoko-devel mailing list