diff options
author | 2020-01-22 14:41:24 +0800 | |
---|---|---|
committer | 2020-01-22 14:41:24 +0800 | |
commit | 0b853f0f984325e04f0b0e235cb45f1eef92b337 (patch) | |
tree | f67a35c921b38bb0f243da71a7929eb43de29652 /sys-apps/tuned/files | |
parent | sys-apps/tuned: Add 2.13.0 (diff) | |
download | gentoo-0b853f0f984325e04f0b0e235cb45f1eef92b337.tar.gz gentoo-0b853f0f984325e04f0b0e235cb45f1eef92b337.tar.bz2 gentoo-0b853f0f984325e04f0b0e235cb45f1eef92b337.zip |
sys-apps/tuned: drop old
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'sys-apps/tuned/files')
-rw-r--r-- | sys-apps/tuned/files/tuned-2.7.0-upstream.patch | 39 | ||||
-rw-r--r-- | sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch | 19 | ||||
-rw-r--r-- | sys-apps/tuned/files/tuned-2.7.1-sysctl.patch | 11 |
3 files changed, 0 insertions, 69 deletions
diff --git a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch b/sys-apps/tuned/files/tuned-2.7.0-upstream.patch deleted file mode 100644 index f864433b1941..000000000000 --- a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/tuned-gui.py b/tuned-gui.py -index 0555404..b169dec 100755 ---- a/tuned-gui.py -+++ b/tuned-gui.py -@@ -89,7 +89,7 @@ class Base(object): - try: - self.controller = \ - tuned.admin.DBusController(consts.DBUS_BUS, -- consts.DBUS_OBJECT, consts.DBUS_INTERFACE) -+ consts.DBUS_INTERFACE, consts.DBUS_OBJECT) - self.controller.is_running() - except tuned.admin.exceptions.TunedAdminDBusException, ex: - response = self.tuned_daemon_exception_dialog.run() -diff --git a/tuned.spec b/tuned.spec -index 3a2dcec..1b46daf 100644 ---- a/tuned.spec -+++ b/tuned.spec -@@ -334,8 +334,6 @@ fi - %changelog - * Tue Jul 19 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.0-1 - - new-release -- - rebase tuned to latest upstream -- resolves: rhbz#1289048 - - gui: fixed save profile - resolves: rhbz#1242491 - - tuned-adm: added --ignore-missing parameter -diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py -index ad501c0..cbdd1be 100644 ---- a/tuned/admin/admin.py -+++ b/tuned/admin/admin.py -@@ -98,7 +98,7 @@ class Admin(object): - - def _action_list(self): - self._print_profiles(self._profiles_locator.get_known_names_summary()) -- self._action_dbus_active() -+ self._action_active() - return True - - def _dbus_get_active_profile(self): diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch b/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch deleted file mode 100644 index 408ef2b73c3a..000000000000 --- a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/Makefile b/Makefile -index df2a139..6200cae 100644 ---- a/Makefile -+++ b/Makefile -@@ -19,8 +19,12 @@ else - GIT_PSUFFIX = .$(GIT_SUFFIX) - RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX) - endif --UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo /usr/lib/systemd/system) --TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo /usr/lib/tmpfiles.d) -+UNITDIR_FALLBACK = /usr/lib/systemd/system -+UNITDIR_DETECT = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo $(UNITDIR_FALLBACK)) -+UNITDIR = $(UNITDIR_DETECT:%{_unitdir}=$(UNITDIR_FALLBACK)) -+TMPFILESDIR_FALLBACK = /usr/lib/tmpfiles.d -+TMPFILESDIR_DETECT = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo $(TMPFILESDIR_FALLBACK)) -+TMPFILESDIR = $(TMPFILESDIR_DETECT:%{_tmpfilesdir}=$(TMPFILESDIR_FALLBACK)) - VERSIONED_NAME = $(NAME)-$(VERSION)$(GIT_PSUFFIX) - - DATADIR = /usr/share diff --git a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch deleted file mode 100644 index 8e2a70fc377d..000000000000 --- a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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) - |