[OE-core] [Draft design][RFC] Running postinst at rootfs generation time

Phil Blundell pb at pbcl.net
Tue Jul 5 10:36:25 UTC 2011


On Tue, 2011-07-05 at 12:30 +0200, Hauser, Wolfgang (external) wrote:
> >Nowadays you can set IMAGE_FEATURES = "read-only-rootfs", which will
> >result in a fatal error if any packages are still unconfigured after
> >rootfs construction is finished.
> 
> This helps to identify the packages to be modified, but it may be better to enhance the packages to be "read-only save". 

Yes, indeed.  The IMAGE_FEATURES thing doesn't magically make the
postinsts work in offline mode, it just avoids any unconfigured packages
leaking into the generated image.  Fundamentally the recipes do need
fixing to either eliminate the postinsts altogether or, if that's not
feasible, make them work in offline root mode.

> May be a official guide line may help here. 

What sort of guidance are you looking for?  If there are particular
recipes with issues that you don't know how to solve, post them here and
we can discuss them.

p.






More information about the Openembedded-core mailing list