[meta-intel] [PATCH] meta-intel.inc: Avoid installing thermald on poky-tiny

Jussi Laako jussi.laako at linux.intel.com
Mon Sep 25 23:11:39 PDT 2017


On 25.09.2017 10:00, Mikko Ylinen wrote:
> On 23/09/17 01:03, Alejandro Hernandez wrote:
>> When using DISTRO=poky-tiny we dont need to have thermald
>> and also it brings about ~4MB of dependencies.
>
> It's conceptually not right to have a distro dependency in the
> BSP settings, IMO.
>
> If your distro/image does not need something the BSP thinks is
> necessary, the distro/image itself should deal with that.

This is problem to a bigger extent too. Many BSPs try to pull in all 
kinds of extra things, such as gstreamer plugins, even if the image 
being built doesn't need such things.

I think it is overall a bad idea to force BSP to pull in lot of high 
level user space components by default that are not essential for the 
basic functionality (boot-to-init), be it thermald or gstreamer. This 
doesn't apply only to poky-tiny, but to many other distros too. I would 
rather like to see those as optional extra that can be enabled through a 
variable.




More information about the meta-intel mailing list