Command line tool for updating bootloader configs
Go to file
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
.gitignore Import rpm: c8s 2023-02-27 13:27:28 -05:00
0001-Set-envFile-from-env-when-bootloader-is-not-specifie.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0002-add-README-with-description-of-the-test-suite.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0003-Fix-some-stray-whitespace.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0004-grubby-properly-handle-mixed-and-and-nested-quotes.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0005-Don-t-put-spaces-in-debug-entries-on-zipl-platforms.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0006-Drop-SEGV-handler.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0007-Add-a-bunch-of-tests-for-various-default-kernel-titl.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0008-Emit-better-systemd-debug-settings-on-debug-entries.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0009-Add-a-new-makefile-target-that-does-everything-neede.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0010-Make-the-grub1-defaultkernel-test-more-reliable.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0011-Don-t-leak-from-one-extractTitle-call.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0012-ppc64le-sync-grub.cfg-changes-to-disk-1212114.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0013-Make-it-possible-to-run-test.sh-verbose-from-the-mak.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0014-Lindent-dammit.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0015-Make-SET_VARIABLE-get-handled-individually-in-GetNex.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0016-Specify-bootloader-directory-in-the-test-case-for-11.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0017-Fix-dracut-cmdline-options-and-conditionalize-them-t.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0018-Add-missing-space.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0019-Always-do-the-rungrubby-debug-after-the-normal-kerne.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0020-grubby-add-set-index-to-specify-which-position-to-ad.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0021-Fix-thinko-on-set-index-naming.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0022-Add-a-test-case-for-a-failure-rmarshall-saw-in-set-i.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0023-Ensure-command-line-updates-also-honor-set-index.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0024-Change-debug-entry-insertion-order-rhbz-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0025-Reorganize-grubby-man-page-1232168.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0026-Update-grubby-man-page-contents-bz1232168.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0027-Fix-inline-help-typo-1232168.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0028-More-edits-for-grubby.8-1232168.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0029-Minor-man-page-changes-1232168.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0030-Rename-setDefaultImage-variables.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0031-Add-index-constant-definitions-instead-of-open-coded.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0032-Track-configuration-modifications.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0033-Fix-some-test-cases-where-the-resulting-default-inde.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0034-Don-t-assume-make-default-just-because-set-index-was.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0035-Clarify-set-default-index-in-the-man-page.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0036-Add-multi-entry-removal-test-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0037-Fix-findTemplate-index-logic-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0038-Write-correct-default-to-environment-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0039-Initialize-variable-for-ppc-environment-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0040-Fix-initial-saved_entry-read-issue-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0041-Add-s390-s390x-info-test-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0042-Fix-info-for-s390x-s390-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0043-Add-s390-s390x-set-default-index-test-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0044-Fix-setDefaultImage-for-s390-s390x-1285601.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0045-Be-more-thorough-about-flushing-our-config-file-when.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0046-Fix-incorrect-test-case-and-remove-args-with-a-value.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0047-grubby-Make-sure-configure-BOOTLOADER-variables-are-.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0048-remove-the-old-crufty-u-boot-support.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0049-Change-return-type-in-getRootSpecifier.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0050-Add-btrfs-subvolume-support-for-grub2.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0051-Add-tests-for-btrfs-support.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0052-Use-system-LDFLAGS.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0053-Honor-sbindir.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0054-Make-installkernel-to-use-kernel-install-scripts-on-.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0055-Add-usr-libexec-rpm-sort.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
0056-Improve-man-page-for-info-option.patch Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 10:42:42 -08:00
grubby-bls Don't overwrite vars that start with GRUB_CMDLINE_LINUX 2024-01-11 10:11:21 +01:00
grubby.8 Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
grubby.in Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
grubby.spec Don't overwrite vars that start with GRUB_CMDLINE_LINUX 2024-01-11 10:11:21 +01:00
installkernel-bls Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
installkernel.in Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00
rpminspect.yaml Bring rpminspect.yaml over from Brew dist-git 2023-03-10 10:42:42 -08:00
sources Auto sync2gitlab import of grubby-8.40-42.el8.src.rpm 2022-05-26 09:14:37 -04:00