1
0
Fork 0
tuned/tuned
Jiri Mencak ba08c1737d bootloader: make skip_grub_config consistent with initrd_remove_dir
Currently, skip_grub_config and initrd_remove_dir options in the
bootloader plug-in are inconsistent.  This commit fixes this issue.

The skip_grub_config=VALUE does not change grub configuration if VALUE
is true.  However, cmdline options are still processed, and the result
is used to verify the current cmdline.  Only 'y', 'yes', 't', 'true' and
'1' (case insensitive) are accepted as true values for this option.
Other values are interpreted as false.

Example:

[bootloader]
skip_grub_config=True
cmdline=+systemd.cpu_affinity=1

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2021-07-21 11:55:52 +02:00
..
admin Project renamed to TuneD 2021-05-17 22:09:02 +02:00
daemon Merge pull request #330 from CZerta/fixing_active_profile 2021-07-01 22:47:12 +02:00
exports Removing depedency on python-decorator package. 2021-07-07 10:40:41 +02:00
gtk Project renamed to TuneD 2021-05-17 22:09:02 +02:00
hardware Merge branch 'master' into project-rename 2021-06-03 17:20:55 +02:00
monitors monitors: Fix adding a hotplugged device to a monitor 2019-03-06 19:51:10 +01:00
plugins bootloader: make skip_grub_config consistent with initrd_remove_dir 2021-07-21 11:55:52 +02:00
profiles profiles: fix loading multiple profiles if there are repeating profiles 2021-06-09 11:00:18 +02:00
storage Fix pickle provider 2018-10-15 13:20:14 +02:00
units Project renamed to TuneD 2021-05-17 22:09:02 +02:00
utils Merge branch 'master' into project-rename 2021-06-03 17:20:55 +02:00
__init__.py misc: bumped year in copyright to 2013 2013-11-27 09:30:07 +01:00
consts.py bootloader: support for systems that don't have grub installed 2021-07-07 11:16:08 +00:00
exceptions.py Create exception logger outside of TunedException class to not confuse logs.get method 2012-01-26 10:41:59 +01:00
logs.py Project renamed to TuneD 2021-05-17 22:09:02 +02:00
patterns.py separate design pattern bases 2011-12-14 17:40:31 +01:00
version.py new release (2.16.0-rc.1) 2021-07-07 23:46:06 +02:00