Commit Graph

6 Commits

Author SHA1 Message Date
Marta Lewandowska
693ac2964d 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-12853
Signed-off-by: Marta Lewandowska <mlewando@redhat.com>
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2024-01-11 10:11:21 +01:00
Marta Lewandowska
1c226c8702 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: #1900829
Signed-off-by: Marta Lewandowska <mlewando@redhat.com>
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2023-06-13 14:31:42 +02:00
CentOS Sources
46ae913894 Auto sync2gitlab import of grubby-8.40-47.el8.src.rpm 2022-10-15 04:17:06 +00:00
CentOS Sources
e0512723fc Auto sync2gitlab import of grubby-8.40-45.el8.src.rpm 2022-08-17 10:14:29 +00:00
CentOS Sources
ff8d8187fb Auto sync2gitlab import of grubby-8.40-44.el8.src.rpm 2022-08-12 22:10:20 +00:00
James Antill
fdfc38981d Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00