[OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

Phil Blundell philb at gnu.org
Fri Feb 17 20:29:10 UTC 2012


On Fri, 2012-02-17 at 18:14 -0200, Otavio Salvador wrote:
> On Fri, Feb 17, 2012 at 18:11, Phil Blundell <philb at gnu.org> wrote:
>         We seem to be going in circles here but, to go back to what I
>         said at
>         the beginning, why can't you use the existing run-postinsts
>         recipe
>         rather than adding a new script?
> 
> 
> My image didn't end with it installed. I did a very small image and I
> expect that independently of what I choose, rootfs behave right.

Ah, I see.  Yes, that's a fair point.  Maybe rootfs_ipk itself should
inject ${ROOTFS_PKGMANAGE_BOOTSTRAP} into the image if it notices that
there are postinsts which require running and no other package manager
is installed.  I think it would be better not to have multiple scripts
doing the same thing if we can avoid it, otherwise you end up having to
fix things like ordering issues in all of them independently.

p.







More information about the Openembedded-core mailing list