Commit Graph

9 Commits

Author SHA1 Message Date
Marta Lewandowska c2d08566dd Do not set root with not copying default 2023-02-21 19:33:02 +01:00
Marta Lewandowska 585b6cb864 Fix passing --args without copy-default
Fix so that --args are not passed by default if copy-default is not used.
Set root when --args are passed without copy-default.

Resolves: #2127453
[rharwood: bundle spec file bump because \rainbow{rhel process}]
2023-02-15 11:39:04 -05:00
Robbie Harwood c27471ab63 Sync args changes with 8.40-66.fc38
Resolves: #1969362
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-08-25 17:08:12 +00:00
Robbie Harwood c1550de84a Handle updating /etc/kernel/cmdline
Resolves: #1969362
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-08-11 12:28:33 -04:00
Robbie Harwood ee9e6ea02f Revert "Additionally write to /etc/kernel/cmdline (fedora sync)"
This reverts commit 929379d48a.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-06-22 14:47:04 -04:00
Robbie Harwood 929379d48a Additionally write to /etc/kernel/cmdline (fedora sync)
Resolves: #1969362
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-06-02 19:59:34 +00:00
Robbie Harwood 45f6b8fee7 Sync grubby-bls with Fedora
Resolves: #1949904
2022-02-07 21:45:46 +00:00
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