[OE-core] [PATCH 1/1] image.bbclass: leave metadata in place if a PM is installed in the image

Phil Blundell pb at pbcl.net
Thu Sep 5 13:24:54 UTC 2013


On Thu, 2013-09-05 at 16:14 +0300, Laurentiu Palcu wrote:
> Before the rework, the metadata (for opkg at least) was deleted no
> matter what during rootfs generation. So, there's no way this case (no
> 'package-management' in IMAGE_FEATURES and opkg installed) worked
> recently.
> 
> Anyway, do we have a better idea? The solution Phil suggested, is not
> quite ok... We'll end up with useless metadata if no PM is installed and
> delayed postinstalls are present or, the other case, have the PM
> installed with no metadata if the PM is installed but we have no delayed
> postinstalls...

What is it that actually causes run-postinsts to fail when opkg is
installed?  I guess that's the bit that I'm not understanding at the
moment.  As far as I can tell from a quick inspection of run-postinsts
itself, it ought to be unperturbed by opkg's presence and no harm ought
to result.

p.





More information about the Openembedded-core mailing list