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

Otavio Salvador otavio at ossystems.com.br
Sat Feb 18 03:56:52 UTC 2012


On Fri, Feb 17, 2012 at 18:29, Phil Blundell <philb at gnu.org> wrote:

> 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.


Not easy to do because it might not have been built before.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120218/0d6d548b/attachment-0002.html>


More information about the Openembedded-core mailing list