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

Otavio Salvador otavio at ossystems.com.br
Fri May 8 04:28:06 PDT 2015


On Fri, May 8, 2015 at 2:28 AM, Prasant J <pj0585 at gmail.com> wrote:
> 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?

No as X11 libraries will need DISPLAY to work so it would fail.

> Is it possible to build such an image?

Currently not.

This Java issue we are working for one customer. We are initially
working with Oracle VM and later will work on OpenJDK. No ETA yet to
finish this as this is being worked on right now.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list