Commit Graph

22 Commits

Author SHA1 Message Date
Leo Sandoval
32cef9a90f grubby-bls: on PPC systems, remove petiboot's version checks
Resolves: #RHEL-61421
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2024-12-06 13:09:31 -06:00
Leo Sandoval
f37ea2e5e1 On grub cfg updates, run grub2-mkconfig for Xen systems
Resolves: #RHEL-50691
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2024-12-05 15:07:45 -06:00
Marta Lewandowska
72f15bdd89 Don't overwrite vars that start with GRUB_CMDLINE_LINUX
When updating args for ALL kernels, grubby clobbers all variables
in /etc/default/grub that start with GRUB_CMDLINE_LINUX and renders
that line multiple times, for each variable that exists. This breaks
using recovery mode. Fix so this doesn't happen anymore.

Resolves: #RHEL-21301
Signed-off-by: Marta Lewandowska <mlewando@redhat.com>
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2024-01-11 16:16:20 +01:00
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
1a2bab6d67 Appease upgrade tests by keeping deprecated version in lockstep
Resolves: #2105118
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-07-20 16:52:53 +00:00
Robbie Harwood
20384091ff Clarify that grub files aren't used on s390x in man page
Resolves: #2105118
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-07-19 19:28:09 +00: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
c48bfb1aeb Add RHEL goo
Resolves: #1949904
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-02-08 10:31:25 -05:00
Robbie Harwood
45f6b8fee7 Sync grubby-bls with Fedora
Resolves: #1949904
2022-02-07 21:45:46 +00:00
Mohan Boddu
e5d83e3125 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 20:21:25 +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
Mohan Boddu
f192979782 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 00:00:20 +00:00
DistroBaker
7262227327 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/grubby.git#786a133370716c3ec9de9051f706f1db3e3429fd
2021-02-03 04:21:47 +00:00
DistroBaker
24b48ae259 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/grubby.git#fd57e031d4b1f411937273896d78f528f7023233
2020-12-30 16:55:58 +00:00
DistroBaker
c7c66be816 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/grubby.git#536f42db1c6ed62afc08985f5cb65ce0df1f8447
2020-11-24 10:57:09 +00:00
DistroBaker
481def7dc1 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/grubby.git#b91640a743834f0222671dfe8f77216ac3b5fff2
2020-10-27 20:55:01 +01: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
Release Configuration Management
694c7b0d6b New branch setup 2020-10-08 14:37:18 +00:00