Go to file
Peter Jones 67aea4f8a5
kernel-install: Remove existing initramfs if it's older than the kernel
Currently we fail to install a new kernel with "make install" on the second
try, because dracut won't over-write the initramfs without --force.  In this
patch, 20-grub.install will remove an existing initramfs if it's newer than the
kernel we're installing.

Resolves: rhbz#1638405
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-10-23 12:23:25 +02:00
.git.diff.order
.gitattributes
.gitignore
20-grub.install kernel-install: Remove existing initramfs if it's older than the kernel 2018-10-23 12:23:25 +02:00
0001-Add-support-for-Linux-EFI-stub-loading.patch Fix the arm64 xen_boot build. 2018-08-02 15:06:42 -04:00
0002-Rework-linux-command.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0003-Rework-linux16-command.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0004-Add-secureboot-support-on-efi-chainloader.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0005-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0006-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0007-re-write-.gitignore.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0008-IBM-client-architecture-CAS-reboot-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0009-for-ppc-reset-console-display-attr-when-clear-screen.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0010-Disable-GRUB-video-support-for-IBM-power-machines.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0011-Honor-a-symlink-when-generating-configuration-by-gru.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0012-Move-bash-completion-script-922997.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0013-Update-to-minilzo-2.08.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0014-Allow-fallback-to-include-entries-by-title-not-just-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0015-Add-GRUB_DISABLE_UUID.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0016-Make-exit-take-a-return-code.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0018-Make-efi-machines-load-an-env-block-from-a-variable.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0019-DHCP-client-ID-and-UUID-options-added.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0020-trim-arp-packets-with-abnormal-size.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0021-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0022-Add-support-for-UEFI-operating-systems-returned-by-o.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0023-Migrate-PPC-from-Yaboot-to-Grub2.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0024-Add-fw_path-variable-revised.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0025-Pass-x-hex-hex-straight-through-unmolested.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0026-Add-X-option-to-printf-functions.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0027-Search-for-specific-config-file-for-netboot.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0028-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0029-Add-devicetree-loading.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0030-Don-t-write-messages-to-the-screen.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0031-Don-t-print-GNU-GRUB-header.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0032-Don-t-add-to-highlighted-row.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0033-Message-string-cleanups.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0034-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0035-Use-the-correct-indentation-for-the-term-help-text.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0036-Indent-menu-entries.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0037-Fix-margins.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0038-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0039-Enable-pager-by-default.-985860.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0040-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0041-Don-t-say-GNU-Linux-in-generated-menus.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0042-Don-t-draw-a-border-around-the-menu.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0043-Use-the-standard-margin-for-the-timeout-string.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0044-Add-.eh_frame-to-list-of-relocations-stripped.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0045-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0046-Don-t-require-a-password-to-boot-entries-generated-b.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0047-Don-t-emit-Booting-.-message.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0048-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0049-use-fw_path-prefix-when-fallback-searching-for-grub-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0050-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0051-Fix-convert-function-to-support-NVMe-devices.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0052-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0053-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0054-Add-grub_util_readlink.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0055-Make-editenv-chase-symlinks-including-those-across-d.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0056-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0057-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0058-Try-prefix-if-fw_path-doesn-t-work.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0059-Update-info-with-grub.cfg-netboot-selection-order-11.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0060-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0061-Handle-rssd-storage-devices.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0062-Make-grub2-mkconfig-construct-titles-that-look-like-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0063-Add-friendly-grub2-password-config-tool-985962.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0064-Try-to-make-sure-configure.ac-and-grub-rpm-sort-play.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0065-tcp-add-window-scaling-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0066-efinet-retransmit-if-our-device-is-busy.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0067-Be-more-aggro-about-actually-using-the-configured-ne.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0068-efinet-add-filter-for-the-first-exclusive-reopen-of-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0069-Fix-security-issue-when-reading-username-and-passwor.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0070-Warn-if-grub-password-will-not-be-read-1290803.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0071-Clean-up-grub-setpassword-documentation-1290799.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0072-Fix-locale-issue-in-grub-setpassword-1294243.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0073-efiemu-Handle-persistent-RAM-and-unknown-possible-fu.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0074-efiemu-Fix-compilation-failure.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0075-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0076-Add-a-url-parser.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0077-efinet-and-bootp-add-support-for-dhcpv6.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0078-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0079-Normalize-slashes-in-tftp-paths.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0080-Fix-malformed-tftp-packets.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0081-bz1374141-fix-incorrect-mask-for-ppc64.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0082-Make-grub_fatal-also-backtrace.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0083-Make-grub-editenv-build-again.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0084-Fix-up-some-man-pages-rpmdiff-noticed.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0085-Make-exit-take-a-return-code.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0086-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0087-Make-our-info-pages-say-grub2-where-appropriate.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0088-print-more-debug-info-in-our-module-loader.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0089-macos-just-build-chainloader-entries-don-t-try-any-x.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0090-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0091-export-btrfs_subvol-and-btrfs_subvolid.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0092-grub2-btrfs-03-follow_default.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0093-grub2-btrfs-04-grub2-install.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0094-grub2-btrfs-05-grub2-mkconfig.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0095-grub2-btrfs-06-subvol-mount.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0096-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0097-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0098-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0099-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0100-Use-grub_efi_.-memory-helpers-where-reasonable.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0101-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0102-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0103-don-t-ignore-const.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0104-don-t-use-int-for-efi-status.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0105-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0106-editenv-handle-relative-symlinks.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0107-Make-libgrub.pp-depend-on-config-util.h.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0108-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0109-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0110-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0111-align-struct-efi_variable-better.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0112-Add-quicksort-implementation.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0113-Add-blscfg-command-support-to-parse-BootLoaderSpec-c.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0114-Add-BLS-support-to-grub-mkconfig.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0115-Remove-duplicated-grub_exit-definition-for-grub-emu-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0116-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0117-Enable-blscfg-command-for-the-emu-platform.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0118-Add-linux-and-initrd-commands-for-grub-emu.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0119-Fix-the-efidir-in-grub-setpassword.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0120-Add-grub2-switch-to-blscfg.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0121-Add-grub_debug_enabled.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0122-make-better-backtraces.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0123-normal-don-t-draw-our-startup-message-if-debug-is-se.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0124-Work-around-some-minor-include-path-weirdnesses.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0125-Make-it-possible-to-enabled-build-id-sha1.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0126-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0127-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch Make more stuff in our buildroot go into the git repo so I can grep it better. 2018-07-31 16:40:33 -04:00
0128-Only-attempt-to-scan-different-BLS-directories-on-EF.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0129-Core-TPM-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0130-Measure-kernel-initrd.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0131-Add-BIOS-boot-measurement.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0132-Measure-kernel-and-initrd-on-BIOS-systems.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0133-Measure-the-kernel-commandline.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0134-Measure-commands.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0135-Measure-multiboot-images-and-modules.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0136-Fix-boot-when-there-s-no-TPM.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0137-Rework-TPM-measurements.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0138-Fix-event-log-prefix.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0139-Set-the-first-boot-menu-entry-as-default-when-using-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0140-tpm-fix-warnings-when-compiling-for-platforms-other-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0141-Make-TPM-errors-less-fatal.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0142-blscfg-handle-multiple-initramfs-images.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0143-BLS-Fix-grub2-switch-to-blscfg-on-non-EFI-machines.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0144-BLS-Use-etcdefaultgrub-instead-of-etc.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0145-Add-missing-options-to-grub2-switch-to-blscfg-man-pa.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0146-Make-grub2-switch-to-blscfg-to-generate-debug-BLS-wh.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0147-Make-grub2-switch-to-blscfg-to-generate-BLS-fragment.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0148-Only-attempt-to-query-dev-mounted-in-boot-efi-as-boo.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0149-Include-OSTree-path-when-searching-kernels-images-if.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0150-Use-BLS-version-field-to-compare-entries-if-id-field.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0151-Add-version-field-to-BLS-generated-by-grub2-switch-t.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0152-Fixup-for-newer-compiler.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0153-Don-t-attempt-to-export-the-start-and-_start-symbols.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0154-Simplify-BLS-entry-key-val-pairs-lookup.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0155-Add-relative-path-to-the-kernel-and-initrds-BLS-fiel.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0156-Skip-leading-spaces-on-BLS-field-values.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0157-Fixup-for-newer-compiler.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0158-TPM-Fix-hash_log_extend_event-function-prototype.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0159-TPM-Fix-compiler-warnings.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0160-grub-switch-to-blscfg.in-get-rid-of-a-bunch-of-bashi.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0161-grub-switch-to-blscfg.in-Better-boot-prefix-checking.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0162-Use-boot-loader-entries-as-BLS-directory-path-also-o.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0163-Use-BLS-fragment-filename-as-menu-entry-id-and-for-c.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0164-Fix-grub-switch-to-blscfg-boot-prefix-handling.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0165-Revert-trim-arp-packets-with-abnormal-size.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0166-Use-xid-to-match-DHCP-replies.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0167-Add-support-for-non-Ethernet-network-cards.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0168-misc-fix-invalid-character-recongition-in-strto-l.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0169-net-read-bracketed-ipv6-addrs-and-port-numbers.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0170-net-read-bracketed-ipv6-addrs-and-port-numbers-pjone.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0171-bootp-New-net_bootp6-command.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0172-Put-back-our-code-to-add-a-local-route.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0173-efinet-UEFI-IPv6-PXE-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0174-grub.texi-Add-net_bootp6-doument.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0175-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0176-efinet-Setting-network-from-UEFI-device-path.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0177-efinet-Setting-DNS-server-from-UEFI-protocol.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0178-Fix-one-more-coverity-complaint.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0179-Fix-grub_net_hwaddr_to_str.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0180-Support-UEFI-networking-protocols.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0181-AUDIT-0-http-boot-tracker-bug.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0182-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0183-efi-uga-use-64-bit-for-fb_base.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0184-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0185-EFI-console-Add-grub_console_read_key_stroke-helper-.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0186-EFI-console-Implement-getkeystatus-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0187-Make-grub_getkeystatus-helper-funtion-available-ever.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0188-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0189-grub-editenv-Add-incr-command-to-increment-integer-v.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0190-Add-auto-hide-menu-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0191-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0192-Add-grub-set-bootflag-utility.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0193-Fix-grub-setpassword-o-s-output-path.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0194-Make-grub-set-password-be-named-like-all-the-other-g.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0195-docs-Add-grub-boot-indeterminate.service-example.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0196-00_menu_auto_hide-Use-a-timeout-of-60s-for-menu_show.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0197-00_menu_auto_hide-Reduce-number-of-save_env-calls.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0198-30_uefi-firmware-fix-use-with-sys-firmware-efi-efiva.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0199-gentpl-add-disable-support.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0200-gentpl-add-pc-firmware-type.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0201-blscfg-remove-unused-typedef.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0202-blscfg-don-t-dynamically-allocate-default_blsdir.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0203-blscfg-sort-BLS-entries-by-version-field.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0204-blscfg-remove-NULL-guards-around-grub_free.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0205-blscfg-fix-filename-in-no-linux-key-error.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0206-blscfg-don-t-leak-bls_entry.filename.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0207-blscfg-fix-compilation-on-EFI-and-EMU.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0208-Add-loadenv-to-blscfg-and-loadenv-source-file-list.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0209-blscfg-Get-rid-of-the-linuxefi-linux16-linux-distinc.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0210-grub-switch-to-blscfg-Only-fix-boot-prefix-for-non-g.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0211-blscfg-Expand-the-BLS-options-field-instead-of-showi.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0212-blscfg-Fallback-to-search-BLS-snippets-in-boot-loade.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0213-blscfg-Don-t-attempt-to-sort-by-version-if-not-prese.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0214-blscfg-remove-logic-to-read-the-grubenv-file-and-set.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0215-Rename-00_menu_auto_hide.in-to-01_menu_auto_hide.in.patch Enable armv7 EFI builds. This was way harder than I expected. 2018-08-02 14:04:20 -04:00
0216-efinet-also-use-the-firmware-acceleration-for-http.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0217-efi-http-Make-root_url-reflect-the-protocol-hostname.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0218-Disable-multiboot-multiboot2-and-linux16-modules-on-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0219-Force-everything-to-use-python3.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0220-Fix-an-8-year-old-typo.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0221-autogen-don-t-run-autoreconf-in-the-topdir.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0222-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0223-module-verifier-make-it-possible-to-run-checkers-on-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0224-grub-module-verifier-report-the-filename-or-modname-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0225-Make-efi_netfs-not-duplicate-symbols-from-efinet.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0226-Rework-how-the-fdt-command-builds.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0227-Disable-non-wordsize-allocations-on-arm.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0228-strip-R-.note.gnu.property-at-more-places.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0229-Prepend-prefix-when-HTTP-path-is-relative.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0230-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0231-Mark-some-unused-stuff-unused.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0232-Make-grub_error-more-verbose.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0233-Make-reset-an-alias-for-the-reboot-command.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0234-EFI-more-debug-output-on-GOP-and-UGA-probing.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0235-Add-a-version-command.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0236-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0237-arm-arm64-loader-Better-memory-allocation-and-error-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0238-Try-to-pick-better-locations-for-kernel-and-initrd.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0239-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0240-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0241-grub-boot-success.timer-Add-a-few-Conditions-for-run.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0242-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0243-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0244-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0245-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0246-docs-Stop-using-polkit-pkexec-for-grub-boot-success..patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0247-drop-TPM-support-for-legacy-BIOS.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0248-Move-quicksort-function-from-kernel.exec-to-the-blsc.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0249-Include-blscfg-module-for-powerpc-ieee1275.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0250-grub-switch-to-blscfg-copy-blscfg-module-for-legacy-.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0251-Fix-getroot.c-s-trampolines.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0252-Do-not-allow-stack-trampolines-anywhere.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
0253-Reimplement-boot_counter.patch Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
do-rebase do-rebase: add more options to not depend on the user git configuration 2018-10-23 12:23:21 +02:00
gitignore
grub2.spec Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
grub.macros Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
grub.patches Exclude /etc/grub.d/01_fallback_counting until we work through some design 2018-10-04 17:11:21 -04:00
installkernel-bls Add an installkernel script for BLS configurations 2018-08-11 21:57:02 +02:00
installkernel.in Add an installkernel script for BLS configurations 2018-08-11 21:57:02 +02:00
Makefile Fix our linuxefi/linux comand reunion 2018-07-12 23:20:02 -04:00
README.Fedora
release-to-master.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
sources
strtoull_test.c

Using GNU GRUB 2 in Fedora
==========================

GRUB 2 provides various feature enhancements over the previous GRUB version
(referred to as "GRUB", or "GRUB Legacy") which has been unmaintained upstream
for years. GRUB has thus been deprecated in Fedora and replaced by GRUB 2 for
BIOS systems. (EFI systems still uses GRUB Legacy from the new grub-efi package.)

Utilities
---------

The GRUB 2 utilities are prefixed with 'grub2':

grub2-bin2h
grub2-editenv
grub2-fstest
grub2-install
grub2-kbdcomp
grub2-menulst2cfg
grub2-mkconfig
grub2-mkdevicemap
grub2-mkfont
grub2-mkimage
grub2-mklayout
grub2-mknetdir
grub2-mkpasswd-pbkdf2
grub2-mkrelpath
grub2-mkrescue
grub2-probe
grub2-reboot
grub2-script-check
grub2-set-default
grub2-setup

The default location for boot loader installation is /boot/grub2/ .

GRUB 2 in Fedora
----------------

The Fedora installer (anaconda) will make sure grub2 is installed for new and
updated systems.  It will run grub2-install to install the boot loader in the
MBR and in /boot/grub2/, and it will write /etc/default/grub and run
grub2-mkconfig to create /boot/grub2/grub.cfg.

The active boot loader will not be changed when the GRUB 2 package is updated.
A new boot loader can be installed with something like:

  grub2-install /dev/sda

grubby will patch grub.cfg (through /etc/grub2.cfg) when new kernels are
installed. The GRUB 2 configuration system in /etc/default/grub and /etc/grub.d/
is thus only used initially by anaconda, but it is possible to generate a new
grub.cfg with:

  grub2-mkconfig -o /boot/grub2/grub.cfg

Documentation
-------------

The GRUB 2 manual can be found in grub.html or on
http://www.gnu.org/software/grub/manual/ .

Support channels
----------------

If you find a bug in this package, report them to the Red Hat Bugzilla [2].
For talk about using grub2, use IRC channel #grub on freenode Network [3].

[2] http://bugzilla.redhat.com/
[3] http://freenode.net/