[meta-freescale] imx6q: image with both fb & x11 features

Prasant J pj0585 at gmail.com
Thu May 7 22:28:16 PDT 2015


On Thu, May 7, 2015 at 7:27 PM, Daiane Angolini <daiane.list at gmail.com> wrote:
> On Thu, May 7, 2015 at 9:08 AM, Otavio Salvador <otavio at ossystems.com.br> wrote:
>> On Wed, May 6, 2015 at 3:05 PM, Prasant J <pj0585 at gmail.com> wrote:
>>>
>>> Is it possible to build the image for framebuffer (fb) backend but
>>> also include libraries of the x11 ? If yes, how can it be done?
>>
>> The way the Yocto Project is intended for use does not make this easy to do.
>>
>> Generally speaking the backend relies in different library files and
>> we cannot have both enabled at same time.
>>
>> You can easily have two different distros in same Yocto Project
>> platform and use two different build directories to generate a couple
>> of products based on a specific backend. We do it often at O.S.
>> Systems for different customers and the biggest benefit of this is
>> traceability and reproducibility of your products.
>>

@Otavio: Thanks for the response.
I also do that. But I would like to pack X11 libraries in the image
that is framebuffer.

>
> One important topic to add on top of Otavio's reply is that, sometimes
> we want X11 library enabled but we also want to have a "direct
> control" of frame buffer without using a X11 application (like sato,
> for example)
>
> Maybe you can describe a little bit more your need
>
>

@Daiane:  Bang on!!
I'm creating custom rpm packages/patches so that our clients can patch
their systems.
When I build my custom JVM rpm package, (because of a auto requirement
processing of RPM it creates dependencies on X11 libraries: libX11,
libXext, libXrender, etc.)
When I try to install the package rpm complains of missing dependencies.

I could disable the AutoReq of rpm but we don't want to do that. What
if some java functions actually make use of X11 libraries even when
one is not using X, some kind of utility function (I'm not an expert
at Java, I'm speculating this). This is just one example. So as a
policy we do not want to disable AutoReq of our rpm packages.

So, I would like to pack the X11 libraries (and its dependencies) in
my framebuffer image. Thats my use case.

Does it sound reasonable?
Is it possible to build such an image?

Any inputs will be of help..



Regards, Pj


More information about the meta-freescale mailing list