Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
sensors
lm_sensors-3.0.3-hint-at-kernel-extra-package.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lm_sensors-3.0.3-hint-at-kernel-extra-package.patch of Package sensors
diff -Naur a/prog/detect/sensors-detect b/prog/detect/sensors-detect --- a/prog/detect/sensors-detect 2018-11-23 19:04:09.562152712 -0600 +++ b/prog/detect/sensors-detect 2018-11-23 19:08:21.037599155 -0600 @@ -3051,13 +3051,16 @@ # [2] -> SUBLEVEL # [3] -> EXTRAVERSION # -use vars qw($kernel_version @kernel_version $kernel_arch); +use vars qw($kernel_version @kernel_version $kernel_flavor $kernel_arch); sub initialize_kernel_version { chomp($kernel_version = `uname -r`); $kernel_version =~ /(\d+)\.(\d+)\.(\d+)(.*)/; @kernel_version = ($1, $2, $3, $4); + if ($kernel_version[3] =~ /-([a-z]+)$/) { + chomp($kernel_flavor = $1); + } chomp($kernel_arch = `uname -m`); # We only support kernels >= 2.6.5 @@ -7303,6 +7306,9 @@ print "Warning: the required module $driver is not currently installed\n". "on your system. Check https://hwmon.wiki.kernel.org/device_support_status for\n". "driver availability.\n\n"; + print "You may need to install package kernel-$kernel_flavor-extra for\n". + "lm-sensors to work properly.\n\n" if $kernel_flavor; + } else { $hwmon_modules{$driver}++ unless hwmon_is_autoloaded($driver);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor