Commit Graph

2 Commits

Author SHA1 Message Date
Javier Martinez Canillas 85b061f5e6
grubby-bs: Fix changing kernel cmdline params not working on ppc64le
Currently the grubby script re-generates a GRUB config file that contains
menuentry commands for every /boot/loader/entries/*.conf file snippet.

But this is only needed for ppc64le machines that have a Petitboot version
that doesn't support parsing BLS snippets. Instead of generating a config
on any ppc64le machine, restrict this for the case where is really needed.

The /etc/grub.d/10_linux script already takes this into account and does
not add menuentry commands unless is needed. But the grubby script didn't
check this, causing changing kernel cmdline params to not work on ppc64le.

Resolves: rhbz#1896222

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2021-04-27 13:13:59 +02:00
Petr Šabata dce08ec4e3 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/grubby#1ead121a0843cccac82a61cbf2ec8024988297a6
2020-10-15 09:49:14 +02:00