Package Details: tuned-ppd-git 2.24.0.r6.g35eed3c-2

Git Clone URL: https://aur.archlinux.org/tuned-git.git (read-only, click to copy)
Package Base: tuned-git
Description: Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
Upstream URL: https://github.com/redhat-performance/tuned
Keywords: daemon monitoring python system tuning
Licenses: GPL-2.0-or-later
Conflicts: power-profiles-daemon, tuned-ppd
Provides: power-profiles-daemon, tuned-ppd
Submitter: reztho
Maintainer: SunRed
Last Packager: SunRed
Votes: 8
Popularity: 0.52
First Submitted: 2011-10-08 18:56 (UTC)
Last Updated: 2024-10-22 21:30 (UTC)

Dependencies (3)

Required by (21)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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.

icebal commented on 2019-01-10 03:55 (UTC)

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

ganthore commented on 2018-12-16 03:01 (UTC)

ModuleNotFoundError: No module named 'procfs'

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

Siosm commented on 2017-01-09 17:05 (UTC)

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

probackup-nl commented on 2016-12-31 08:09 (UTC)

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