Go to file
Javier Martinez Canillas 173fb18386
Execute grub2-switch-to-blscfg script in %posttrans instead of %post
The GRUB configuration is switched to BLS using the grub2-switch-to-blscfg
script, which is installed by the grub2-tools package. Among other things,
the script copies the blscfg module from the /usr/lib/grub/$arch directory
to /boot/grub2/$arch.

This is done because for non-UEFI installs (i386-pc and powerpc-ieee1275)
the GRUB core and modules aren't updated on package upgrade, so the blscfg
module won't be the latest that contains the current BLS support.

But the grub2-switch-to-blscfg script is currently executed in grub2-tools
%post scritplet, which means that if the grub2-tools package is installed
before the grub2-pc-modules package (that installs the blscfg module), the
grub2-switch-to-blscfg script won't copy the latest version of the module.

This will make systems to fail to populate the GRUB menu, since its config
will already be migrated to BLS but the blscfg module won't be the latest.

So to make sure that the latest blscfg module is copied regardless of the
grub2-tools and grub2-pc-modules packages install order, run the switch
script in a grub2-tools %posttrans so it's executed at the end of the RPM
transaction once all the packages have been installed.

Resolves: rhbz#1652806

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-04-16 18:27:09 +02:00
.git.diff.order
.gitattributes
.gitignore
20-grub.install Do not remove boot loader configuration for other boot loaders 2019-04-16 18:16:25 +02:00
99-grub-mkconfig.install 99-grub-mkconfig: Don't update grubenv generating entries on ppc64le 2019-02-26 08:35:41 +01: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
0003-Rework-linux16-command.patch
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
0009-for-ppc-reset-console-display-attr-when-clear-screen.patch
0010-Disable-GRUB-video-support-for-IBM-power-machines.patch
0011-Honor-a-symlink-when-generating-configuration-by-gru.patch
0012-Move-bash-completion-script-922997.patch
0013-Update-to-minilzo-2.08.patch
0014-Allow-fallback-to-include-entries-by-title-not-just-.patch
0015-Add-GRUB_DISABLE_UUID.patch
0016-Make-exit-take-a-return-code.patch
0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch
0018-Make-efi-machines-load-an-env-block-from-a-variable.patch
0019-DHCP-client-ID-and-UUID-options-added.patch
0020-trim-arp-packets-with-abnormal-size.patch
0021-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch
0022-Add-support-for-UEFI-operating-systems-returned-by-o.patch
0023-Migrate-PPC-from-Yaboot-to-Grub2.patch
0024-Add-fw_path-variable-revised.patch
0025-Pass-x-hex-hex-straight-through-unmolested.patch
0026-Add-X-option-to-printf-functions.patch
0027-Search-for-specific-config-file-for-netboot.patch
0028-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch
0029-Add-devicetree-loading.patch
0030-Don-t-write-messages-to-the-screen.patch
0031-Don-t-print-GNU-GRUB-header.patch
0032-Don-t-add-to-highlighted-row.patch
0033-Message-string-cleanups.patch
0034-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch
0035-Use-the-correct-indentation-for-the-term-help-text.patch
0036-Indent-menu-entries.patch
0037-Fix-margins.patch
0038-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch
0039-Enable-pager-by-default.-985860.patch
0040-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch
0041-Don-t-say-GNU-Linux-in-generated-menus.patch
0042-Don-t-draw-a-border-around-the-menu.patch
0043-Use-the-standard-margin-for-the-timeout-string.patch
0044-Add-.eh_frame-to-list-of-relocations-stripped.patch
0045-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch
0046-Don-t-require-a-password-to-boot-entries-generated-b.patch
0047-Don-t-emit-Booting-.-message.patch
0048-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch
0049-use-fw_path-prefix-when-fallback-searching-for-grub-.patch
0050-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch
0051-Fix-convert-function-to-support-NVMe-devices.patch
0052-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
0053-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
0054-Add-grub_util_readlink.patch
0055-Make-editenv-chase-symlinks-including-those-across-d.patch
0056-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch
0057-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch
0058-Try-prefix-if-fw_path-doesn-t-work.patch
0059-Update-info-with-grub.cfg-netboot-selection-order-11.patch
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
0062-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
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
0065-tcp-add-window-scaling-support.patch
0066-efinet-add-filter-for-the-first-exclusive-reopen-of-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0067-Fix-security-issue-when-reading-username-and-passwor.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0068-Warn-if-grub-password-will-not-be-read-1290803.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0069-Clean-up-grub-setpassword-documentation-1290799.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0070-Fix-locale-issue-in-grub-setpassword-1294243.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0071-efiemu-Handle-persistent-RAM-and-unknown-possible-fu.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0072-efiemu-Fix-compilation-failure.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0073-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0074-Add-a-url-parser.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0075-efinet-and-bootp-add-support-for-dhcpv6.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0076-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0077-Normalize-slashes-in-tftp-paths.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0078-Fix-malformed-tftp-packets.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0079-bz1374141-fix-incorrect-mask-for-ppc64.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0080-Make-grub_fatal-also-backtrace.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0081-Make-grub-editenv-build-again.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0082-Fix-up-some-man-pages-rpmdiff-noticed.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0083-Make-exit-take-a-return-code.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0084-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0085-Make-our-info-pages-say-grub2-where-appropriate.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0086-print-more-debug-info-in-our-module-loader.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0087-macos-just-build-chainloader-entries-don-t-try-any-x.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0088-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0089-export-btrfs_subvol-and-btrfs_subvolid.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0090-grub2-btrfs-03-follow_default.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0091-grub2-btrfs-04-grub2-install.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0092-grub2-btrfs-05-grub2-mkconfig.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0093-grub2-btrfs-06-subvol-mount.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0094-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0095-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0096-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0097-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0098-Use-grub_efi_.-memory-helpers-where-reasonable.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0099-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0100-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0101-don-t-ignore-const.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0102-don-t-use-int-for-efi-status.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0103-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0104-editenv-handle-relative-symlinks.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0105-Make-libgrub.pp-depend-on-config-util.h.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0106-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0107-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0108-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0109-align-struct-efi_variable-better.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0110-Add-quicksort-implementation.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0111-Add-blscfg-command-support-to-parse-BootLoaderSpec-c.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0112-Add-BLS-support-to-grub-mkconfig.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0113-Remove-duplicated-grub_exit-definition-for-grub-emu-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0114-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0115-Enable-blscfg-command-for-the-emu-platform.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0116-Add-linux-and-initrd-commands-for-grub-emu.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0117-Fix-the-efidir-in-grub-setpassword.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0118-Add-grub2-switch-to-blscfg.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0119-Add-grub_debug_enabled.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0120-make-better-backtraces.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0121-normal-don-t-draw-our-startup-message-if-debug-is-se.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0122-Work-around-some-minor-include-path-weirdnesses.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0123-Make-it-possible-to-enabled-build-id-sha1.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0124-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0125-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0126-Only-attempt-to-scan-different-BLS-directories-on-EF.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0127-Core-TPM-support.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0128-Measure-kernel-initrd.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0129-Add-BIOS-boot-measurement.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0130-Measure-kernel-and-initrd-on-BIOS-systems.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0131-Measure-the-kernel-commandline.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0132-Measure-commands.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0133-Measure-multiboot-images-and-modules.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0134-Fix-boot-when-there-s-no-TPM.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0135-Rework-TPM-measurements.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0136-Fix-event-log-prefix.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0137-Set-the-first-boot-menu-entry-as-default-when-using-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0138-tpm-fix-warnings-when-compiling-for-platforms-other-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0139-Make-TPM-errors-less-fatal.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0140-blscfg-handle-multiple-initramfs-images.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0141-BLS-Fix-grub2-switch-to-blscfg-on-non-EFI-machines.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0142-BLS-Use-etcdefaultgrub-instead-of-etc.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0143-Add-missing-options-to-grub2-switch-to-blscfg-man-pa.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0144-Make-grub2-switch-to-blscfg-to-generate-debug-BLS-wh.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0145-Make-grub2-switch-to-blscfg-to-generate-BLS-fragment.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0146-Only-attempt-to-query-dev-mounted-in-boot-efi-as-boo.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0147-Include-OSTree-path-when-searching-kernels-images-if.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0148-Use-BLS-version-field-to-compare-entries-if-id-field.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0149-Add-version-field-to-BLS-generated-by-grub2-switch-t.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0150-Fixup-for-newer-compiler.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0151-Don-t-attempt-to-export-the-start-and-_start-symbols.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0152-Simplify-BLS-entry-key-val-pairs-lookup.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0153-Add-relative-path-to-the-kernel-and-initrds-BLS-fiel.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0154-Skip-leading-spaces-on-BLS-field-values.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0155-Fixup-for-newer-compiler.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0156-TPM-Fix-hash_log_extend_event-function-prototype.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0157-TPM-Fix-compiler-warnings.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0158-grub-switch-to-blscfg.in-get-rid-of-a-bunch-of-bashi.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0159-grub-switch-to-blscfg.in-Better-boot-prefix-checking.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0160-Use-boot-loader-entries-as-BLS-directory-path-also-o.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0161-Use-BLS-fragment-filename-as-menu-entry-id-and-for-c.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0162-Fix-grub-switch-to-blscfg-boot-prefix-handling.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0163-Revert-trim-arp-packets-with-abnormal-size.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0164-Use-xid-to-match-DHCP-replies.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0165-Add-support-for-non-Ethernet-network-cards.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0166-misc-fix-invalid-character-recongition-in-strto-l.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0167-net-read-bracketed-ipv6-addrs-and-port-numbers.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0168-net-read-bracketed-ipv6-addrs-and-port-numbers-pjone.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0169-bootp-New-net_bootp6-command.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0170-Put-back-our-code-to-add-a-local-route.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0171-efinet-UEFI-IPv6-PXE-support.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0172-grub.texi-Add-net_bootp6-doument.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0173-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0174-efinet-Setting-network-from-UEFI-device-path.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0175-efinet-Setting-DNS-server-from-UEFI-protocol.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0176-Fix-one-more-coverity-complaint.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0177-Fix-grub_net_hwaddr_to_str.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0178-Support-UEFI-networking-protocols.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0179-AUDIT-0-http-boot-tracker-bug.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0180-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0181-efi-uga-use-64-bit-for-fb_base.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0182-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0183-EFI-console-Add-grub_console_read_key_stroke-helper-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0184-EFI-console-Implement-getkeystatus-support.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0185-Make-grub_getkeystatus-helper-funtion-available-ever.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0186-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0187-grub-editenv-Add-incr-command-to-increment-integer-v.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0188-Add-auto-hide-menu-support.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0189-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0190-Add-grub-set-bootflag-utility.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0191-Fix-grub-setpassword-o-s-output-path.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0192-Make-grub-set-password-be-named-like-all-the-other-g.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0193-docs-Add-grub-boot-indeterminate.service-example.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0194-00_menu_auto_hide-Use-a-timeout-of-60s-for-menu_show.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0195-00_menu_auto_hide-Reduce-number-of-save_env-calls.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0196-30_uefi-firmware-fix-use-with-sys-firmware-efi-efiva.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0197-gentpl-add-disable-support.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0198-gentpl-add-pc-firmware-type.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0199-blscfg-remove-unused-typedef.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0200-blscfg-don-t-dynamically-allocate-default_blsdir.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0201-blscfg-sort-BLS-entries-by-version-field.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0202-blscfg-remove-NULL-guards-around-grub_free.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0203-blscfg-fix-filename-in-no-linux-key-error.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0204-blscfg-don-t-leak-bls_entry.filename.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0205-blscfg-fix-compilation-on-EFI-and-EMU.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0206-Add-loadenv-to-blscfg-and-loadenv-source-file-list.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0207-blscfg-Get-rid-of-the-linuxefi-linux16-linux-distinc.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0208-grub-switch-to-blscfg-Only-fix-boot-prefix-for-non-g.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0209-blscfg-Expand-the-BLS-options-field-instead-of-showi.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0210-blscfg-Fallback-to-search-BLS-snippets-in-boot-loade.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0211-blscfg-Don-t-attempt-to-sort-by-version-if-not-prese.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0212-blscfg-remove-logic-to-read-the-grubenv-file-and-set.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0213-Rename-00_menu_auto_hide.in-to-01_menu_auto_hide.in.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0214-efinet-also-use-the-firmware-acceleration-for-http.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0215-efi-http-Make-root_url-reflect-the-protocol-hostname.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0216-Disable-multiboot-multiboot2-and-linux16-modules-on-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0217-Force-everything-to-use-python3.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0218-Fix-an-8-year-old-typo.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0219-autogen-don-t-run-autoreconf-in-the-topdir.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0220-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0221-module-verifier-make-it-possible-to-run-checkers-on-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0222-grub-module-verifier-report-the-filename-or-modname-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0223-Make-efi_netfs-not-duplicate-symbols-from-efinet.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0224-Rework-how-the-fdt-command-builds.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0225-Disable-non-wordsize-allocations-on-arm.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0226-strip-R-.note.gnu.property-at-more-places.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0227-Prepend-prefix-when-HTTP-path-is-relative.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0228-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0229-Mark-some-unused-stuff-unused.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0230-Make-grub_error-more-verbose.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0231-Make-reset-an-alias-for-the-reboot-command.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0232-EFI-more-debug-output-on-GOP-and-UGA-probing.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0233-Add-a-version-command.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0234-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0235-arm-arm64-loader-Better-memory-allocation-and-error-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0236-Try-to-pick-better-locations-for-kernel-and-initrd.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0237-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0238-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0239-grub-boot-success.timer-Add-a-few-Conditions-for-run.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0240-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0241-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0242-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0243-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0244-docs-Stop-using-polkit-pkexec-for-grub-boot-success..patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0245-drop-TPM-support-for-legacy-BIOS.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0246-Move-quicksort-function-from-kernel.exec-to-the-blsc.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0247-Include-blscfg-module-for-powerpc-ieee1275.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0248-grub-switch-to-blscfg-copy-blscfg-module-for-legacy-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0249-Fix-getroot.c-s-trampolines.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0250-Do-not-allow-stack-trampolines-anywhere.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0251-Reimplement-boot_counter.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0252-blscfg-don-t-include-.conf-at-the-end-of-our-id.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0253-grub-get-kernel-settings-expose-some-more-config-var.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0254-Reimplement-boot_counter.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0255-add-10_linux_bls-grub.d-snippet-to-generate-menu-ent.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0256-Only-set-kernelopts-in-grubenv-if-it-wasn-t-set-befo.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0257-blscfg-sort-everything-with-rpm-package-comparison.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0258-10_linux_bls-use-grub2-rpm-sort-instead-of-ls-vr-to-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0259-don-t-set-saved_entry-on-grub2-mkconfig.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0260-grub-switch-to-blscfg-use-debug-instead-of-debug-as-.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0261-Make-blscfg-debug-messages-more-useful.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0262-Make-grub_strtoul-end-pointer-have-the-right-constif.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0263-Fix-menu-entry-selection-based-on-ID-and-title.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0264-Add-comments-and-revert-logic-changes-in-01_fallback.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0265-Remove-quotes-when-reading-ID-value-from-etc-os-rele.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0266-blscfg-expand-grub_users-before-passing-to-grub_norm.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0267-Make-the-menu-entry-users-option-argument-to-be-opti.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0268-10_linux_bls-add-missing-menu-entries-options.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0269-Fix-menu-entry-selection-based-on-title.patch Drop two efinet patches that were causing issues and a bunch of other fixes 2018-12-01 03:28:36 +01:00
0270-BLS-files-should-only-be-copied-by-grub-switch-to-bl.patch Another set of BLS fixes 2018-12-11 20:23:51 +01:00
0271-Fix-get_entry_number-wrongly-dereferencing-the-tail-.patch Another set of BLS fixes 2018-12-11 20:23:51 +01:00
0272-Make-grub2-mkconfig-to-honour-GRUB_CMDLINE_LINUX-in-.patch Another set of BLS fixes 2018-12-11 20:23:51 +01:00
0273-Add-efi-export-env-and-efi-load-env-commands.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0274-Make-it-possible-to-subtract-conditions-from-debug.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0275-Export-all-variables-from-the-initial-context-when-c.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0276-blscfg-store-the-BLS-entries-in-a-sorted-linked-list.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0277-blscfg-add-more-options-to-blscfg-command-to-make-it.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0278-blscfg-add-support-for-prepend-early-initrds-to-the-.patch A couple of fixes 2019-02-13 13:41:46 +01:00
0279-Fix-the-looking-up-grub.cfg-XXX-while-tftp-booting.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0280-Try-to-set-fPIE-and-friends-on-libgnu.a.patch BLS support enhancements and some fixes 2019-02-04 19:28:49 +01:00
0281-Don-t-make-grub_strtoull-print-an-error-if-no-conver.patch A couple of fixes 2019-02-13 13:41:46 +01:00
0282-Set-blsdir-if-the-BLS-directory-path-isn-t-one-of-th.patch A couple of fixes 2019-02-13 13:41:46 +01:00
0283-Check-if-blsdir-exists-before-attempting-to-get-it-s.patch Check if blsdir exists before attempting to get it's real path 2019-02-15 18:22:18 +01:00
0284-blscfg-fallback-to-default_kernelopts-if-BLS-option-.patch Some BLS fixes 2019-02-27 19:54:32 +01:00
0285-grub-switch-to-blscfg-copy-increment.mod-for-legacy-.patch Some BLS fixes 2019-02-27 19:54:32 +01:00
0286-Only-set-blsdir-if-boot-loader-entries-is-in-a-btrfs.patch Only set blsdir if /boot/loader/entries is in a btrfs or zfs partition 2019-03-20 16:54:35 +01:00
0287-Fix-the-type-of-grub_efi_status_t.patch Fix some BLS snippets not being displayed in the GRUB menu 2019-03-22 15:33:06 +01:00
0288-blscfg-don-t-use-grub_list_t-and-the-GRUB_AS_LIST-ma.patch Fix some BLS snippets not being displayed in the GRUB menu 2019-03-22 15:33:06 +01:00
0289-mkimage-Use-EFI32_HEADER_SIZE-define-in-arm-efi-case.patch A set of EFI fixes to support arm64 QCom UEFI firmwares 2019-03-26 17:17:17 +01:00
0290-mkimage-Align-efi-sections-on-4k-boundary.patch A set of EFI fixes to support arm64 QCom UEFI firmwares 2019-03-26 17:17:17 +01:00
0291-mkimage-Clarify-file-alignment-in-efi-case.patch A set of EFI fixes to support arm64 QCom UEFI firmwares 2019-03-26 17:17:17 +01:00
0292-10_linux_bls-don-t-add-users-option-to-generated-men.patch 10_linux_bls: don't add --users option to generated menu entries 2019-03-28 17:05:25 +01: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 Execute grub2-switch-to-blscfg script in %posttrans instead of %post 2019-04-16 18:27:09 +02:00
grub.macros Avoid grub2-efi package to overwrite existing /boot/grub2/grubenv file 2019-03-11 10:22:11 +01:00
grub.patches 10_linux_bls: don't add --users option to generated menu entries 2019-03-28 17:05:25 +01:00
Makefile
README.Fedora
release-to-master.patch
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/