1
0
Fork 0
Commit graph

43 commits

Author SHA1 Message Date
Jaroslav Škarvada
e86e1be083 polkit: consolidated polkit action IDs to match DBus names
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-06-08 17:36:00 +02:00
Jaroslav Škarvada
8c07abca27 Added tuned icon and desktop file for GUI
Icon provided by Mariia Leonova <mleonova@redhat.com>.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-03-22 17:11:42 +01:00
Jaroslav Škarvada
b01eaf27d1 profiles: added realtime-virtual-guest/host profiles
Profiles shipped in tuned-profiles-nfv subpackage. The content was provided
by Jeremy Eder <jeder@redhat.com> and Clark Williams <williams@redhat.com>.

Resolves: rhbz#1228803

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-07-01 16:58:06 +02:00
Jaroslav Škarvada
1f6cc5a565 Makefile: added 'tidy-mock-result-dir' target, it is requisite for 'nightly'
This target will remove all RPMs older than cca. one week if the total space
occupied by RPMs is larger than 5 MB.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-26 15:03:34 +02:00
Jaroslav Škarvada
740fab40ec realtime: moved variables to /etc/tuned/realtime-variables.conf
And some minor tweaks.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-22 17:32:35 +02:00
Jaroslav Škarvada
bdee52b7a5 Makefile: added support for scratch build
There is continuous integration Jenkins bind to the scratch builds.
By running scratch build during the nightly build all tests will be
run by Jenkins.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-11 14:46:08 +02:00
Jaroslav Škarvada
d2043dfaf3 Makefile: fixed rsync to sync nightlies to correct directory
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-10 14:41:42 +02:00
Jaroslav Škarvada
957922d3d7 Makefile: add git short hash suffix to mock devel builds
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-08 16:42:10 +02:00
Jaroslav Škarvada
e27fdfdfea Makefile: used rsync instead of scp for nightlies upload
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-08 15:30:12 +02:00
Jaroslav Škarvada
04576ed018 Makefile: fixed scp command for nightly builds upload
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 18:15:25 +02:00
Jaroslav Škarvada
3b903d2630 Makefile: fixed scp in nightly target
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 17:56:49 +02:00
Jaroslav Škarvada
bbd2dd5ccf Makefile: do not clean mock-result-dir
It is good to preserve previous nightlies.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 17:53:31 +02:00
Jaroslav Škarvada
fa54077770 Makefile: used 'rpm' target for local build instead of 'build'
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 17:21:17 +02:00
Jaroslav Škarvada
b1da643ad5 Makefile: added support for nightly development builds
It is supported by 'nightly' makefile target. It creates
snapshot from the GIT HEAD, makes mockbuild,
creates repo and uploads result on the fedorapeople.

Also fixed makefile to support parallel builds, added
couple of hopefully useful targets, implemented local
RPM build target 'rpm'.

Other targets (e.g. 'srpm') can be also used to work
with snapshots. It is controlled by BUILD makefile
varible. If set to 'release' normal release is done.
If set to anything else (e.g. 'snapshot') snapshot
is done.

There is also support for GIT snapshots in the upstream
provided SPEC file. Snapshot build is done if
built with '--with snapshot', normal (release) build
is done otherwise.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 17:18:49 +02:00
Jaroslav Škarvada
769377b56b Makefile: added contrib directory to the archive
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-23 18:15:48 +02:00
Jaroslav Škarvada
13db1dcf1e Makefile: autodetected python installation path
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-23 15:29:16 +02:00
Jaroslav Škarvada
7d8a94289a Makefile: simplifies DESTDIR and fixed // in path
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-23 15:27:03 +02:00
Jaroslav Škarvada
15dc0865f0 Fixed bash completion
Resolves: rhbz#1207668

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-01 18:13:10 +02:00
Jaroslav Škarvada
829b347949 Makefile: docdir can be overridden
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 17:44:23 +02:00
Jaroslav Škarvada
34a9bc42f5 Added tuned-gui
Main implementation was done by Marek Staňa.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 16:16:45 +02:00
Jaroslav Škarvada
de1bb42821 Makefile, plugin_net: various improvements
- replaced bash loops with GNU Make loops (can now run in parallel)
- preserved original file timestamps during installation
- used install -D instead of mkdir -p
- fixed typo in plugin_net that caused error during byte compilation

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-29 17:49:33 +02:00
Jaroslav Škarvada
5b8a2d2e8e plugins: added bootloader plugin
This plugin can be used to add parameters to kernel (boot/dracut)
command line. Currently only grub2 bootloader is used and reboot
is required to apply the tunings. The tuning can be only unloaded
by profile change followed by reboot.

It patches grub.cfg at runtime and installs /etc/grub.d/00_tuned
grub2 template. So it's possible to regenerate grub.cfg by
grub2-mkconfig and the tuning persists.

It also patches /etc/default/grub and adds tuned_params grub2 variable
to GRUB_CMDLINE_LINUX. This is probably the only way how to get
variables into kernel command line in grub.cfg. Nothing else is added to
/etc/default and it's patched if the plugin is used for the first
time. It's re-patched on plugin initialization only if the tuned_params
variable is missing.

On subsequent invocation only the tuned_params grub2 variable and
grub.cfg are changed.

Example of use:

[bootloader]
cmdline=quiet

This adds "quiet" parameter to the kernel boot command line (reboot
is required).

EFI is also supported. By default it autodetects redhat and fedora
directories (in this order). Nothing else is touched. If you have
different EFI system and your grub.cfg location is not auto-detected
or your grub.cfg is located on different place you can specify
the grub.cfg location manually:

[bootloader]
grub2_cfg_file=CUSTOM_PATH/grub.cfg
cmdline=quiet

This has precedence over auto-detection. This is used for runtime
patching. In case it is not set correctly, the grub.cfg patching
will not work, but you can still regenerate the config by hand by
grub2-mkconfig.

Resolves: rhbz#1044111

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-29 16:33:56 +02:00
Jaroslav Škarvada
c07691cdfb man: structured profiles manual pages according to sub-packages
In this way only the installed profiles are described in the installed
manual pages. I.e. base profiles are now described in the tuned-profiles.7
manual page and profiles for the Project Atomic are now described
in the tuned-profiles-atomic.7 manual page. Simalarly for the SAP and
compat profiles.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-23 12:10:29 +02:00
Jaroslav Škarvada
fb8536e12c Makefile: added compatibility for non RPM systems
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-04-25 13:46:52 +02:00
Per Øyvind Karlsen (proyvind)
393708d974 fix install locations of tmpfiles & bash-completion
Signed-off-by: Per Øyvind Karlsen (proyvind) <proyvind@moondrake.org>
2014-04-25 13:35:32 +02:00
Jaroslav Škarvada
d3e708019b Makefile: use non versioned directory for docs
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 17:02:42 +01:00
Jaroslav Škarvada
1e0416fbf4 utils: added pmqos-static script for debug purposes
resolves: rhbz#1015676

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 11:06:42 +02:00
Jaroslav Škarvada
f8d89a78c0 refs #40, daemon: added global config for dynamic_tuning
Added initial global config (/etc/tuned/tuned-main.conf) and
possibility to globally enable / disable dynamic tunings.

resolves: rhbz#1006427

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-15 15:34:55 +02:00
Jaroslav Škarvada
3d95e77f78 implemented recommend profile functionality
resolves: rhbz#848935
2012-11-29 10:25:05 +01:00
Jan Vcelak
94f24ae120 profiles.loader: new code, unit tests 2012-10-26 17:59:28 +02:00
Jaroslav Škarvada
135e19f654 Use /run instead of /var/run 2012-10-25 12:05:16 +02:00
Jan Kaluza
063e3eda6b Install tuned python module into proper directory 2012-10-10 11:02:56 +02:00
Jaroslav Škarvada
5b18ad20fd Makefile: Added automatic detection for unitdir
Now it is no problem to build for systems with and
without /UsrMove.
2012-05-16 17:18:28 +02:00
Jaroslav Škarvada
c9dc3c78d4 Tuned: various build fixes 2012-05-16 17:15:14 +02:00
Jan Vcelak
b54920a014 dbus: attach to system bus 2012-05-07 17:56:02 +02:00
Jan Vcelak
fead260bc3 first stable 2.0 release 2012-03-30 14:37:17 +02:00
Jaroslav Škarvada
f2fa467a12 tuned: added balanced profile and it is the default now
tuned: moved default profile into profiles-compat
2012-03-30 12:53:43 +02:00
Jaroslav Škarvada
e79e3fa0db utils: tuned_powertop_profile renamed to powertop2tuned
utils: powertop2tuned changed cmdline options and several minor fixes
tuned: removed accidentaly pushed tuned-2.0/profiles/functions
tuned: some minor modifications
2012-03-30 12:33:50 +02:00
Jaroslav Škarvada
c83d0aa507 Makefile: fixed build 2012-03-29 01:02:10 +02:00
Jaroslav Škarvada
abde247cb8 Added bash-completion for tuned-adm 2012-03-29 00:48:58 +02:00
Jaroslav Škarvada
ae3f629827 tuned: config file suffix changed to .conf
profiles: config files renamed to end with .conf
man: minor update of tuned.conf.5
Makefile: install tuned_powertop_profile.py script
2012-03-28 16:26:18 +02:00
Jan Kaluza
62e22ac8c0 Install tuned-adm 2012-03-22 08:03:21 +01:00
Jan Vcelak
70bdf7fb9a create Makefile for source codes management 2012-03-12 17:53:06 +01:00