Package Details: tuned-git 2.10.0.r75.g26db89d-4

Git Clone URL: https://aur.archlinux.org/tuned-git.git (read-only, click to copy)
Package Base: tuned-git
Description: Daemon that performs monitoring and adaptive configuration of devices in the system
Upstream URL: https://github.com/redhat-performance/tuned
Licenses: GPL
Provides: tuned
Submitter: reztho
Maintainer: icebal
Last Packager: icebal
Votes: 7
Popularity: 0.000000
First Submitted: 2011-10-08 18:56 (UTC)
Last Updated: 2019-01-17 18:12 (UTC)

Latest Comments

1 2 3 Next › Last »

funkmuscle commented on 2023-09-24 20:15 (UTC)

all of a sudden after updating Arch, this fails.

$ sudo systemctl start tuned Job for tuned.service canceled.

get no errors enabling it though

kureta commented on 2020-12-04 11:12 (UTC)

I guess there weren't any problems with the package. I completely removed and did a clean re-install. Now it is working without any problems.

kureta commented on 2020-12-03 10:21 (UTC)

This stopped working because system python was updated to 3.9 but this package installs required python modules in /usr/lib/python-3.8/site-packages/

icebal commented on 2019-01-17 18:12 (UTC)

@egrupled, fixed! thanks for the help.

egrupled commented on 2019-01-14 14:41 (UTC)

@icebal to fix tuned-gui you need to change python-perf to perf in dependencies, see https://github.com/redhat-performance/tuned/issues/149#issuecomment-453996528

icebal commented on 2019-01-12 23:23 (UTC)

updated the optdeps and makedeps, not sure about the gui error.

egrupled commented on 2019-01-11 13:52 (UTC) (edited on 2019-01-14 14:42 (UTC) by egrupled)

Also x86_energy_perf_policy should be added to optional deps. tuned.install is not needed because it runs command available in pacman hooks.

# Maintainer: Wes Jackson < icebal dot 7 at gmail dot com >
# Contributor: Tom < reztho at archlinux dot org >

pkgname=tuned-git
pkgver=2.10.0.r76.g98c3707
pkgrel=1
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
arch=('any')
url='https://github.com/redhat-performance/tuned'
license=('GPL')
depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject'
         'python-decorator' 'python-dbus' 'python-schedutils' 'python-linux-procfs' 'perf' 'hdparm' 'polkit' 'hicolor-icon-theme')
optdepends=('virt-what' 'systemtap' 'python-dmidecode' 'x86_energy_perf_policy')
makedepends=('git' 'desktop-file-utils')
provides=('tuned')
backup=('etc/tuned/active_profile')
source=("${pkgname}::git://github.com/redhat-performance/tuned")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname}
  local ver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
  printf "%s\n" "${ver:1}"
}

package() {
  cd ${pkgname}

  make DESTDIR="${pkgdir}" install

  mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/
  mv "${pkgdir}"/usr/libexec/tuned/* "${pkgdir}"/usr/lib/tuned/
  rm -r "${pkgdir}"/run "${pkgdir}"/usr/sbin "${pkgdir}"/usr/libexec
  install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service
}

# vim:set ts=2 sw=2 et:

blackhole commented on 2019-01-10 17:12 (UTC) (edited on 2019-01-10 17:13 (UTC) by blackhole)

Cannot start the gui ...

Traceback (most recent call last): File "/usr/sbin/tuned-gui", line 1035, in <module> base = Base() File "/usr/sbin/tuned-gui", line 150, in init tuned.gtk.gui_plugin_loader.GuiPluginLoader() File "/usr/lib/python3.7/site-packages/tuned/gtk/gui_plugin_loader.py", line 87, in init self.create_all(self._import_plugin_names()) File "/usr/lib/python3.7/site-packages/tuned/gtk/gui_plugin_loader.py", line 119, in create_all self._plugins.add(self.repo.create(plugin_name)) File "/usr/lib/python3.7/site-packages/tuned/plugins/repository.py", line 36, in create self._device_matcher_udev, self._plugin_instance_factory, self._global_cfg, self._variables) File "/usr/lib/python3.7/site-packages/tuned/plugins/plugin_scheduler.py", line 75, in init self._cpus = perf.cpu_map() AttributeError: module 'perf' has no attribute 'cpu_map'

egrupled commented on 2019-01-10 10:45 (UTC)

@icebal thx for the update. desktop-file-utils is still missing in makedepends, that will break building in clean chroot. Also please change python-gobject2 to python-gobject. Thanks again for maintaining this.