Skip to content

bootloader: fixed cmdline duplication with BLS and grub2-mkconfig#311

Merged
yarda merged 1 commit into
redhat-performance:masterfrom
yarda:rhbz1777874
Dec 1, 2020
Merged

bootloader: fixed cmdline duplication with BLS and grub2-mkconfig#311
yarda merged 1 commit into
redhat-performance:masterfrom
yarda:rhbz1777874

Conversation

@yarda
Copy link
Copy Markdown
Contributor

@yarda yarda commented Nov 29, 2020

Resolves: rhbz#1777874

Signed-off-by: Jaroslav Škarvada jskarvad@redhat.com

@packit-as-a-service
Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/redhat-performance-tuned-311
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

After application of this patch in order to get rid of the duplicated
kernel command line options (which was duplicated due to the usage of
the grub2-mkconfig), the grub2-mkconfig needs to be run again.
We do not run it automatically in the spec file %post not to break
users not using grub2-mkconfig.

This fix expects that user has not modified the line containing the
GRUB_CMDLINE_LINUX_DEFAULT option and the $tuned_params in the
/etc/default/grub file. If user modified this line, the option
duplication may still occure. In such case, please remove the
$tuned_params from the /etc/default/grub by hand.

Resolves: rhbz#1777874

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
@yarda yarda merged commit 1ae6b25 into redhat-performance:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant