[OE-core] [PATCH 2/7] shadow: add a -native recipe with customized utilities

Mark Hatle mark.hatle at windriver.com
Fri Sep 2 19:17:57 UTC 2011


On 9/2/11 1:43 PM, Phil Blundell wrote:
> On Fri, 2011-09-02 at 15:03 +0100, Richard Purdie wrote:
>> Seriously, does opkg have the logic in it to run this stuff? If so
>> perhaps we need to teach opkg about offline postinstalls since it should
>> already know about dependencies?
> 
> Yeah, that might be a sensible plan.  I'm not entirely sure that opkg
> even gets the maintainer script ordering right itself during normal
> circumstances, but at least it does have a dependency graph so one could
> imagine how it might be made to work correctly.  I'll have a poke at
> opkg when I get a moment and see if I can figure out how much work would
> be involved in that.
> 
> How do the RPM-using folks deal with this; does rpm handle everything
> automatically?

RPM uses the dependency mappings that have the pre and post tags on them..
(Note, these are tags that we do not presently use in OE, as OE has no
equivalent to them.)  Without the pre/post dependency tags it assumes the
dependencies are met and can run through the scripts in an arbitrary order.

(For package_rpm.bbclass, we install w/o scripts and then post-process
everything to ensure the dependencies are there.. ordering is not guaranteed.)

--Mark

> p.
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list