mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 05:48:07 +00:00
(mds) Emphasize that mkpatch only patches in a subset of the package.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@900 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
parent
51a520ee32
commit
8251d7cbd3
15
INSTALL
15
INSTALL
@ -2,15 +2,20 @@ These are the installation instruction for the lm_sensors package.
|
||||
|
||||
There are two ways in which you can compile and install this package. Each
|
||||
has its own strong points. They are:
|
||||
|
||||
1. Complete separate from kernel compilation
|
||||
This will generate a set of modules which can be inserted and removed
|
||||
as needed; nothing will be written into the kernel tree;
|
||||
|
||||
2. Patching of the kernel
|
||||
This will patch your kernel source tree. You must recompile your kernel
|
||||
to take advantage of this. But it makes it possible to compile drivers
|
||||
into the kernel itself, instead of having to add them as modules.
|
||||
AFTER YOU COMPILED AND INSTALLED YOUR KERNEL, YOU WILL STILL HAVE TO
|
||||
COMPILE THIS PACKAGE TO GET THE USERLAND UTILITIES!
|
||||
** AFTER YOU COMPILED AND INSTALLED YOUR KERNEL, YOU WILL STILL HAVE TO
|
||||
** COMPILE THIS PACKAGE TO GET THE USERLAND UTILITIES!
|
||||
** NOT ALL MODULES ARE PATCHED INTO THE KERNEL. SEE BELOW.
|
||||
|
||||
|
||||
|
||||
Each of these ways will be described below in detail.
|
||||
|
||||
@ -238,6 +243,12 @@ applied other patches to your kernel tree, or for very new kernels.
|
||||
It *is* safe to run it if your kernel already has the lm_sensors drivers.
|
||||
It will only work if you applied the i2c patches first.
|
||||
|
||||
** Only a subset of the modules in lm_sensors are patched into the **
|
||||
** kernel by the script. See the file mkpatch/FILES to see if the **
|
||||
** modules you need are included. If a module you need is NOT listed **
|
||||
** in mkpatch/FILES, it will not be patched, and you MUST use option 1. **
|
||||
** If you are not sure what modules you need, run `sensors-detect' first. **
|
||||
|
||||
The kernel diffs are generated by the program `mkpatch.pl' in the mkpatch
|
||||
subdirectory. It needs two arguments: the first one is the root of the
|
||||
i2c package, the second one is the root of the kernel tree against
|
||||
|
Loading…
x
Reference in New Issue
Block a user