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

Git Clone URL: https://aur.archlinux.org/tuned-git.git (read-only)
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: 8
Popularity: 0.685361
First Submitted: 2011-10-08 18:56
Last Updated: 2019-01-17 18:12

Latest Comments

1 2 3 Next › Last »

icebal commented on 2019-01-17 18:12

@egrupled, fixed! thanks for the help.

egrupled commented on 2019-01-14 14:41

@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

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

egrupled commented on 2019-01-11 13:52

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

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

@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.

icebal commented on 2019-01-10 03:55

thanks for the heads up and deps! just pushed the new fixed pkgbuild.

ganthore commented on 2018-12-16 03:01

ModuleNotFoundError: No module named 'procfs'

You need to make python-linux-procfs a dep.

Siosm commented on 2017-01-09 17:05

Disowning as I don't use nor maintain this anymore.

probackup-nl commented on 2016-12-31 08:09

ERROR: Makepkg was unable to build tuned-git.

pkgver=2.7.1.r15.gf6c9672
...
install -Dpm 0644 modules.conf /tmp/yaourt-tmp-username/aur-tuned-git/pkg/tuned-git/etc/modprobe.d/tuned.conf
install: cannot stat 'modules.conf': No such file or directory