powertop: fix --auto-tune

See https://lists.01.org/pipermail/powertop/2014-December/001727.html
This commit is contained in:
Charles Strahan
2015-10-15 14:27:09 -04:00
parent 194357ad20
commit b1edc7909a
2 changed files with 16 additions and 1 deletions
+5 -1
View File
@@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
buildInputs = [ gettext libnl ncurses pciutils pkgconfig zlib ];
patchPhase = ''
# Fix --auto-tune bug:
# https://lists.01.org/pipermail/powertop/2014-December/001727.html
patches = [ ./auto-tune.patch ];
postPatch = ''
substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"
'';