1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Michal Bajer
d5825a51f4 Replaced python-dmidecode with reading sysfs dmi and dmidecode tool.
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>
2020-06-15 18:30:03 +02:00
Yuval Fuchs
9eaa8438b1 solves issue #127 - install instructions 2018-10-09 13:46:12 +03:00
Ondřej Lysoněk
1823a7de64 Makefile: install to python3 destination by default 2018-01-14 15:13:48 +01:00
Ondřej Lysoněk
b716ebfe55 Makefile: support python3 installation
You can now specify the python runtime using the PYTHON variable.
E.g. you can use
  make PYTHON=python3 install
to install tuned modules to the python3 directory and rewrite
shebangs on executable Python files to use Python3.
2018-01-14 15:13:45 +01:00
Jan Vcelak
79a2dbf629 install instructions 2012-03-12 17:53:02 +01:00