[yocto] lmsensors

Paul Eggleton paul.eggleton at linux.intel.com
Tue May 14 06:29:57 PDT 2013


On Tuesday 14 May 2013 09:16:44 Marc Ferland wrote:
> Paul Eggleton <paul.eggleton at linux.intel.com> writes:
> > On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
> >> It has been a month I have been fighting with installing the package
> >> "lmsensors" and had no success till today.... I would really appreciate
> >> much help....
> >> 
> >> The background goes like this..
> >> 
> >> *bitbake lmsensors * works perfectly but when I add the package into the
> >> rootfs I get the following error
> >> 
> >> * Package lmsensors-config is not available, but is referred to by
> >> another
> >> package.*
> > 
> > Looking at the output of building the current lmsensors recipe in meta-oe
> > master, the main "lmsensors" package is actually empty and thus is not
> > produced; this is a bit annoying and should probably be fixed. However
> > what I think you're supposed to do is instead install the components of
> > lmsensors that you actually need. If you look at packages-split in the
> > lmsensors work directory (or the lmsensors* packages in tmp/deploy/ipk)
> > you'll see it
> > produces the following, ignoring dbg/dev/doc/staticdev packages:
> 
> When I first wrote the lmsensors recipe I noticed that lmsensors is
> actually a collection of tools which serve very different purposes. For
> example, the sensorsdetect and pwmconfig tools are only needed to
> produce configuration files for libsensors and fancontrol (resp.). Once
> the system is configured, they can be removed.
> 
> I followed the idea from the original lmsensors recipe from oe.

Fair enough.
 
> What should the recipe actually install when bitbaking only the "main"
> package? The main lmsensors library? Everything?

That's a good question (assuming you mean installing the main package as 
opposed to bitbaking the main package). With some other recipes e.g. Qt, we 
have made it so the main package pulls in all of the sub-packages. We could do 
the same thing for lmsensors, the question is if it makes sense? Whatever we 
do I think we do need to solve the problem that the lmsensors package is 
ostensibly still provided by the recipe and yet it can't be installed and 
leads to a failure later on, and the solution to the failure is not obvious to 
new users.

This might be something to RFC on the openembedded-devel mailing list.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list