[OE-core] [PATCH 7/7] core-image-gtk-directfb.bb: add an image for gtk over directfb

Richard Purdie richard.purdie at linuxfoundation.org
Tue Dec 13 12:06:40 UTC 2011


On Tue, 2011-12-13 at 08:57 -0200, Otavio Salvador wrote:
> On Tue, Dec 13, 2011 at 08:51, Xiaofeng Yan
> <xiaofeng.yan at windriver.com> wrote:
>         ... 
>         IMAGE_INSTALL += "\
>             ${POKY_BASE_INSTALL} \
>             task-core-basic \
>             module-init-tools \
>             task-core-gtk-directfb-base \
>         "
>         Do you have any comment about above method ?
>
> All is fine except I don't see the need of having one specific image
> for gtk-directfb use. The case, in case it is required, you might
> include in case gtk-directfb feature is listed, avoiding an image
> specific to this.
>
> Why do you want a specific image for it?

To put what Otavio is asking in different words, couldn't we have a
generic "gtk test" image which would work with both directfb and x11?

I think the problem is that such an image gets tricky to construct as X
requires a lot of extras such as an xserver, a general directfb image
has a much simpler content and is quite a different entity. I can
therefore see why a separate image has been created and whilst I agree
its not ideal, I think the alternatives are worse.

I think Yan's patch with the anonymous python is along the right lines
but please lookup SkipPackage() instead of using getpid and kill!

Cheers,

Richard








More information about the Openembedded-core mailing list