Command line tool for updating bootloader configs
Go to file
Javier Martinez Canillas 2b59d1355d
grubby-bls: expand only the kernelopts variable
The BLS snippets have the options field set to a kernelopts variable by
default, which is set in GRUB's environemnt block to the kernel cmdline.

When the kernel command line parameters are modified for all the entries,
the value of this kernelopts variable is modified. But if the cmdline is
modified for a single entry, then the kernelopts variable is expanded and
the resulted modified value stored in the BLS snippet.

The grubby tool expanded all the variables in the options field, but it's
possible that some of these variables are managed by another tool. For
example the tuned program adds a tuned variable that shouldn't be changed
by the grubby tool. Otherwise it will mangle the tuned configuration set.

To prevent this, let's make grubby to only expand the kernelopts variable.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2021-06-09 23:40:23 +02:00
.gitignore Provide the correct installkenrel and grubby-bls packaging for blscfg 2018-10-23 14:29:29 +02:00
10-devicetree.install Add device tree kernel install option, minor cleanups 2020-11-24 10:44:12 +00:00
95-kernel-hooks.install Add a kernel-install plugin to execute hook scripts in /etc/kernel/ 2019-06-17 18:10:58 +02:00
0001-remove-the-old-crufty-u-boot-support.patch Rename patches 2018-10-23 15:21:35 +02:00
0002-Change-return-type-in-getRootSpecifier.patch Rename patches 2018-10-23 15:21:35 +02:00
0003-Add-btrfs-subvolume-support-for-grub2.patch Rename patches 2018-10-23 15:21:35 +02:00
0004-Add-tests-for-btrfs-support.patch Rename patches 2018-10-23 15:21:35 +02:00
0005-Use-system-LDFLAGS.patch Rename patches 2018-10-23 15:21:35 +02:00
0006-Honor-sbindir.patch Rename patches 2018-10-23 15:21:35 +02:00
0007-Make-installkernel-to-use-kernel-install-scripts-on-.patch Rename patches 2018-10-23 15:21:35 +02:00
0008-Add-usr-libexec-rpm-sort.patch Make grubby-bls sort everything correctly, including spaces. 2018-10-23 15:49:19 +02:00
0009-Improve-man-page-for-info-option.patch Another set of mostly grubby-bls fixes 2018-12-01 02:34:07 +01:00
0010-Fix-GCC-warnings-about-possible-string-truncations-a.patch Fix FTBFS and a couple of cleanups 2020-02-10 20:19:29 +01:00
0011-Fix-stringop-overflow-warning.patch Fix FTBFS and a couple of cleanups 2020-02-10 20:19:29 +01:00
0012-Fix-maybe-uninitialized-warning.patch Fix FTBFS and a couple of cleanups 2020-02-10 20:19:29 +01:00
0013-Fix-build-with-rpm-4.16.patch fix build with rpm-4.16 and correct --extra-initrd option image path 2020-06-26 10:16:05 +02:00
grubby-bls grubby-bls: expand only the kernelopts variable 2021-06-09 23:40:23 +02:00
grubby.8 grubby-bls: add a --no-etc-grub-update option 2020-05-05 12:08:02 +02:00
grubby.in Make the old grubby take precedence over grubby-bls if is installed 2018-12-01 02:12:08 +01:00
grubby.spec grubby-bls: expand only the kernelopts variable 2021-06-09 23:40:23 +02:00
installkernel-bls installkernel-bls: remove unnecessary check for GRUB_ENABLE_BLSCFG=true 2018-11-21 10:43:48 +01:00
installkernel.in Make installkernel to use kernel-install scripts on BLS configuration 2018-08-11 21:33:16 +02:00
sources Cleanup deps for new grub2 packaging. 2017-09-12 09:21:37 -04:00