Fixes #232 sysfs exports virtual dmi device structs which provides chassis type in numeric form, it should be available in all RHEL6+, so I used it as primary source (not much overhead). If for some reasons it couldn't be read, dmidecode output will be parsed instead. Removed any references to python-dmidecode module. chassis type is gathered only once, and only one intance of ProfileRecommender will be created (in daemon). Signed-off-by: Michal Bajer <outSH@users.noreply.github.com> Fix whitespace and other minor issues in solution for #232 Signed-off-by: Michal Bajer <outSH@users.noreply.github.com>
13 lines
516 B
Text
13 lines
516 B
Text
Installation instructions
|
|
*************************
|
|
|
|
The tuned daemon is written in pure Python. Nothing requires to be built.
|
|
|
|
For installation use 'make install'. Optionally DESTDIR can be appended.
|
|
By default, the tuned modules are installed to the Python3 destination
|
|
(e.g. /usr/lib/python3.6/site-packages/) and shebangs in executable
|
|
Python files are modified to use Python3. If you want tuned to use Python2
|
|
instead, set PYTHON to the full path of Python2. Example:
|
|
make PYTHON=/usr/bin/python2 install
|
|
|
|
|