summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-09-08 16:58:25 +0800
committerYixun Lan <dlan@gentoo.org>2016-09-08 16:59:34 +0800
commitebeb57ae19319675794d976c9935b9989b248442 (patch)
treedf2360819e2c01e242a1bb2687d67c5a840ce40d /sys-apps/tuned/files/tuned-2.7.1-sysctl.patch
parentdev-libs/oniguruma: EAPI 5 bump. (diff)
downloadgentoo-ebeb57ae19319675794d976c9935b9989b248442.tar.gz
gentoo-ebeb57ae19319675794d976c9935b9989b248442.tar.bz2
gentoo-ebeb57ae19319675794d976c9935b9989b248442.zip
sys-apps/tuned: remove 'sysctl' hardcoded path
Gentoo-Bug: 590914 Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/tuned/files/tuned-2.7.1-sysctl.patch')
-rw-r--r--sys-apps/tuned/files/tuned-2.7.1-sysctl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch
new file mode 100644
index 000000000000..8e2a70fc377d
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch
@@ -0,0 +1,11 @@
+--- a/tuned/plugins/plugin_sysctl.py
++++ b/tuned/plugins/plugin_sysctl.py
+@@ -67,7 +67,7 @@
+ self._write_sysctl(option, value)
+
+ def _execute_sysctl(self, arguments):
+- execute = ["/sbin/sysctl"] + arguments
++ execute = ["sysctl"] + arguments
+ log.debug("executing %s" % execute)
+ return self._cmd.execute(execute)
+