grub2/grub.patches
Javier Martinez Canillas 359c2df03d
Use /boot/loader/entries as BLS dir also on EFI systems
For EFI systems, the BLS fragments were stored in the EFI System Partition
(ESP) while in non-EFI systems it was stored in /boot.

For consistency, it's better to always store the BLS fragments in the same
path regardless of the firmware interface used.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-06-26 11:58:10 +02:00

249 lines
15 KiB
Text

Patch0001: 0001-Bump-version-to-2.03.patch
Patch0002: 0002-Remove-bashisms-from-tests.patch
Patch0003: 0003-fs-tester-make-sh-compatible.patch
Patch0004: 0004-support-busybox-date.patch
Patch0005: 0005-Don-t-retrieve-fstime-when-it-s-not-useful.patch
Patch0006: 0006-Support-lseek64.patch
Patch0007: 0007-Use-SHELL-rather-than-bin-sh.patch
Patch0008: 0008-po-Use-SHELL-rather-than-bin-sh.patch
Patch0009: 0009-Add-termux-path-to-dict.patch
Patch0010: 0010-Fix-shebang-for-termux.patch
Patch0011: 0011-Add-strtoull-test.patch
Patch0012: 0012-strtoull-Fix-behaviour-on-chars-between-9-and-a.patch
Patch0013: 0013-Add-Virtual-LAN-support.patch
Patch0014: 0014-mkimage-Pass-layout-to-mkimage_generate_elfXX-rather.patch
Patch0015: 0015-Refactor-arm-uboot-code-to-make-it-genereic.patch
Patch0016: 0016-coreboot-Split-parts-that-are-platform-independent.patch
Patch0017: 0017-Rename-uboot-halt.c-to-dummy-halt.c.patch
Patch0018: 0018-Rename-uboot-datetime-to-dummy-datetime.patch
Patch0019: 0019-arm-coreboot-Start-new-port.patch
Patch0020: 0020-Add-support-for-device-tree-based-drivers.patch
Patch0021: 0021-arm-coreboot-Support-for-vexpress-timer.patch
Patch0022: 0022-arm-coreboot-Export-FDT-routines.patch
Patch0023: 0023-at_keyboard-Split-protocol-from-controller-code.patch
Patch0024: 0024-arm_coreboot-Support-keyboard-for-vexpress.patch
Patch0025: 0025-arm_coreboot-Support-grub-mkstandalone.patch
Patch0026: 0026-arm_coreboot-Support-loading-linux-images.patch
Patch0027: 0027-arm_coreboot-Support-DMA.patch
Patch0028: 0028-ehci-Split-core-code-from-PCI-part.patch
Patch0029: 0029-arm_coreboot-Support-EHCI.patch
Patch0030: 0030-Fix-bug-on-FDT-nodes-with-compatible-property.patch
Patch0031: 0031-fdtbus-Add-ability-to-send-receive-messages-on-paren.patch
Patch0032: 0032-rk3288_spi-Add-SPI-driver.patch
Patch0033: 0033-arm_coreboot-Add-Chromebook-keyboard-driver.patch
Patch0034: 0034-Missing-parts-of-previous-commit.patch
Patch0035: 0035-coreboot-Changed-cbmemc-to-support-updated-console-f.patch
Patch0036: 0036-at_keyboard-Fix-falco-chromebook-case.patch
Patch0037: 0037-sparc64-Close-cdboot-ihandle.patch
Patch0038: 0038-arm64-xen_boot-Fix-Xen-boot-using-GRUB2-on-AARCH64.patch
Patch0039: 0039-arm64-Add-nounzip-option-support-in-xen_module-comma.patch
Patch0040: 0040-util-grub.d-20_linux_xen.in-Add-xen_boot-command-sup.patch
Patch0041: 0041-arm64-Update-the-introduction-of-Xen-boot-commands-i.patch
Patch0042: 0042-sparc64-Don-t-use-devspec-to-determine-the-OBP-path.patch
Patch0043: 0043-Allow-GRUB-to-mount-ext2-3-4-filesystems-that-have-t.patch
Patch0044: 0044-ehci-Fix-compilation-for-amd64.patch
Patch0045: 0045-cache-Fix-compilation-for-ppc-sparc-and-arm64.patch
Patch0046: 0046-ehci-Fix-compilation-on-i386.patch
Patch0047: 0047-crypto-Fix-use-after-free.patch
Patch0048: 0048-arm-efi-Fix-compilation.patch
Patch0049: 0049-fdt-silence-clang-warning.patch
Patch0050: 0050-Fix-a-segfault-in-lsefi.patch
Patch0051: 0051-zfs-remove-size_t-typedef-and-use-grub_size_t-instea.patch
Patch0052: 0052-udf-Fix-reading-label-lvd.ident-is-dstring.patch
Patch0053: 0053-grub-core-fs-udf.c-Add-support-for-UUID.patch
Patch0054: 0054-mkrescue-Check-xorriso-presence-before-doing-anythin.patch
Patch0055: 0055-Fail-if-xorriso-failed.patch
Patch0056: 0056-efi-refactor-grub_efi_allocate_pages.patch
Patch0057: 0057-Remove-grub_efi_allocate_pages.patch
Patch0058: 0058-efi-move-fdt-helper-library.patch
Patch0059: 0059-efi-Add-GRUB_PE32_MAGIC-definition.patch
Patch0060: 0060-arm64-linux-loader-improve-type-portability.patch
Patch0061: 0061-efi-change-heap-allocation-type-to-GRUB_EFI_LOADER_C.patch
Patch0062: 0062-core-use-GRUB_TERM_-definitions-when-handling-term-c.patch
Patch0063: 0063-io-add-a-GRUB_GZ-prefix-to-gzio-specific-defines.patch
Patch0064: 0064-re-write-.gitignore.patch
Patch0065: 0065-IBM-client-architecture-CAS-reboot-support.patch
Patch0066: 0066-for-ppc-reset-console-display-attr-when-clear-screen.patch
Patch0067: 0067-Disable-GRUB-video-support-for-IBM-power-machines.patch
Patch0068: 0068-Honor-a-symlink-when-generating-configuration-by-gru.patch
Patch0069: 0069-Move-bash-completion-script-922997.patch
Patch0070: 0070-Update-to-minilzo-2.08.patch
Patch0071: 0071-Allow-fallback-to-include-entries-by-title-not-just-.patch
Patch0072: 0072-Add-GRUB_DISABLE_UUID.patch
Patch0073: 0073-Make-exit-take-a-return-code.patch
Patch0074: 0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch
Patch0075: 0075-Make-efi-machines-load-an-env-block-from-a-variable.patch
Patch0076: 0076-DHCP-client-ID-and-UUID-options-added.patch
Patch0077: 0077-trim-arp-packets-with-abnormal-size.patch
Patch0078: 0078-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch
Patch0079: 0079-Add-support-for-UEFI-operating-systems-returned-by-o.patch
Patch0080: 0080-Migrate-PPC-from-Yaboot-to-Grub2.patch
Patch0081: 0081-Add-fw_path-variable-revised.patch
Patch0082: 0082-Add-support-for-linuxefi.patch
Patch0083: 0083-Use-linuxefi-and-initrdefi-where-appropriate.patch
Patch0084: 0084-Don-t-allow-insmod-when-secure-boot-is-enabled.patch
Patch0085: 0085-Pass-x-hex-hex-straight-through-unmolested.patch
Patch0086: 0086-Add-X-option-to-printf-functions.patch
Patch0087: 0087-Search-for-specific-config-file-for-netboot.patch
Patch0088: 0088-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch
Patch0089: 0089-Don-t-write-messages-to-the-screen.patch
Patch0090: 0090-Don-t-print-GNU-GRUB-header.patch
Patch0091: 0091-Don-t-add-to-highlighted-row.patch
Patch0092: 0092-Message-string-cleanups.patch
Patch0093: 0093-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch
Patch0094: 0094-Use-the-correct-indentation-for-the-term-help-text.patch
Patch0095: 0095-Indent-menu-entries.patch
Patch0096: 0096-Fix-margins.patch
Patch0097: 0097-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch
Patch0098: 0098-Use-linux16-when-appropriate-880840.patch
Patch0099: 0099-Enable-pager-by-default.-985860.patch
Patch0100: 0100-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch
Patch0101: 0101-Don-t-say-GNU-Linux-in-generated-menus.patch
Patch0102: 0102-Don-t-draw-a-border-around-the-menu.patch
Patch0103: 0103-Use-the-standard-margin-for-the-timeout-string.patch
Patch0104: 0104-Add-.eh_frame-to-list-of-relocations-stripped.patch
Patch0105: 0105-Make-10_linux-work-with-our-changes-for-linux16-and-.patch
Patch0106: 0106-Don-t-print-during-fdt-loading-method.patch
Patch0107: 0107-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch
Patch0108: 0108-Don-t-require-a-password-to-boot-entries-generated-b.patch
Patch0109: 0109-Don-t-emit-Booting-.-message.patch
Patch0110: 0110-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch
Patch0111: 0111-use-fw_path-prefix-when-fallback-searching-for-grub-.patch
Patch0112: 0112-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch
Patch0113: 0113-Fix-convert-function-to-support-NVMe-devices.patch
Patch0114: 0114-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch
Patch0115: 0115-Use-the-default-device-tree-from-the-grub-default-fi.patch
Patch0116: 0116-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
Patch0117: 0117-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
Patch0118: 0118-Add-grub_util_readlink.patch
Patch0119: 0119-Make-editenv-chase-symlinks-including-those-across-d.patch
Patch0120: 0120-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch
Patch0121: 0121-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch
Patch0122: 0122-Load-arm-with-SB-enabled.patch
Patch0123: 0123-Try-prefix-if-fw_path-doesn-t-work.patch
Patch0124: 0124-Update-info-with-grub.cfg-netboot-selection-order-11.patch
Patch0125: 0125-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch
Patch0126: 0126-Handle-rssd-storage-devices.patch
Patch0127: 0127-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch
Patch0128: 0128-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
Patch0129: 0129-Add-friendly-grub2-password-config-tool-985962.patch
Patch0130: 0130-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
Patch0131: 0131-Try-to-make-sure-configure.ac-and-grub-rpm-sort-play.patch
Patch0132: 0132-tcp-add-window-scaling-support.patch
Patch0133: 0133-efinet-retransmit-if-our-device-is-busy.patch
Patch0134: 0134-Be-more-aggro-about-actually-using-the-configured-ne.patch
Patch0135: 0135-efinet-add-filter-for-the-first-exclusive-reopen-of-.patch
Patch0136: 0136-Fix-security-issue-when-reading-username-and-passwor.patch
Patch0137: 0137-Warn-if-grub-password-will-not-be-read-1290803.patch
Patch0138: 0138-Clean-up-grub-setpassword-documentation-1290799.patch
Patch0139: 0139-Fix-locale-issue-in-grub-setpassword-1294243.patch
Patch0140: 0140-efiemu-Handle-persistent-RAM-and-unknown-possible-fu.patch
Patch0141: 0141-efiemu-Fix-compilation-failure.patch
Patch0142: 0142-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
Patch0143: 0143-Add-a-url-parser.patch
Patch0144: 0144-efinet-and-bootp-add-support-for-dhcpv6.patch
Patch0145: 0145-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch
Patch0146: 0146-Normalize-slashes-in-tftp-paths.patch
Patch0147: 0147-Fix-malformed-tftp-packets.patch
Patch0148: 0148-Fix-race-in-EFI-validation.patch
Patch0149: 0149-bz1374141-fix-incorrect-mask-for-ppc64.patch
Patch0150: 0150-Use-device-part-of-chainloader-target-if-present.patch
Patch0151: 0151-Add-secureboot-support-on-efi-chainloader.patch
Patch0152: 0152-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch
Patch0153: 0153-Make-grub_fatal-also-backtrace.patch
Patch0154: 0154-Rework-linux-command.patch
Patch0155: 0155-Rework-linux16-command.patch
Patch0156: 0156-Make-grub-editenv-build-again.patch
Patch0157: 0157-Fix-up-some-man-pages-rpmdiff-noticed.patch
Patch0158: 0158-Re-work-some-intricacies-of-PE-loading.patch
Patch0159: 0159-Rework-even-more-of-efi-chainload-so-non-sb-cases-wo.patch
Patch0160: 0160-linuxefi-fix-double-free-on-verification-failure.patch
Patch0161: 0161-fix-machine-type-test-in-30_os-prober.in.patch
Patch0162: 0162-efi-chainloader-fix-wrong-sanity-check-in-relocate_c.patch
Patch0163: 0163-efi-chainloader-truncate-overlong-relocation-section.patch
Patch0164: 0164-linuxefi-minor-cleanups.patch
Patch0165: 0165-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch
Patch0166: 0166-Fix-up-linux-params-usage.patch
Patch0167: 0167-Make-exit-take-a-return-code.patch
Patch0168: 0168-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch
Patch0169: 0169-Add-some-grub_dprintf-in-the-secure-boot-verify-code.patch
Patch0170: 0170-Make-our-info-pages-say-grub2-where-appropriate.patch
Patch0171: 0171-print-more-debug-info-in-our-module-loader.patch
Patch0172: 0172-macos-just-build-chainloader-entries-don-t-try-any-x.patch
Patch0173: 0173-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch
Patch0174: 0174-export-btrfs_subvol-and-btrfs_subvolid.patch
Patch0175: 0175-grub2-btrfs-03-follow_default.patch
Patch0176: 0176-grub2-btrfs-04-grub2-install.patch
Patch0177: 0177-grub2-btrfs-05-grub2-mkconfig.patch
Patch0178: 0178-grub2-btrfs-06-subvol-mount.patch
Patch0179: 0179-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch
Patch0180: 0180-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch
Patch0181: 0181-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch
Patch0182: 0182-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch
Patch0183: 0183-Use-grub_efi_.-memory-helpers-where-reasonable.patch
Patch0184: 0184-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch
Patch0185: 0185-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch
Patch0186: 0186-don-t-ignore-const.patch
Patch0187: 0187-don-t-use-int-for-efi-status.patch
Patch0188: 0188-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch
Patch0189: 0189-Clean-up-some-errors-in-the-linuxefi-loader.patch
Patch0190: 0190-editenv-handle-relative-symlinks.patch
Patch0191: 0191-Make-libgrub.pp-depend-on-config-util.h.patch
Patch0192: 0192-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch
Patch0193: 0193-Fix-util-grub.d-20_linux_xen.in-Add-xen_boot-command.patch
Patch0194: 0194-Use-grub-file-to-figure-out-whether-multiboot2-shoul.patch
Patch0195: 0195-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch
Patch0196: 0196-tsc-Change-default-tsc-calibration-method-to-pmtimer.patch
Patch0197: 0197-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch
Patch0198: 0198-align-struct-efi_variable-better.patch
Patch0199: 0199-Add-quicksort-implementation.patch
Patch0200: 0200-Add-blscfg-command-support-to-parse-BootLoaderSpec-c.patch
Patch0201: 0201-Add-BLS-support-to-grub-mkconfig.patch
Patch0202: 0202-Remove-duplicated-grub_exit-definition-for-grub-emu-.patch
Patch0203: 0203-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch
Patch0204: 0204-Enable-blscfg-command-for-the-emu-platform.patch
Patch0205: 0205-Add-linux-and-initrd-commands-for-grub-emu.patch
Patch0206: 0206-Fix-the-efidir-in-grub-setpassword.patch
Patch0207: 0207-Add-grub2-switch-to-blscfg.patch
Patch0208: 0208-Add-grub_debug_enabled.patch
Patch0209: 0209-make-better-backtraces.patch
Patch0210: 0210-normal-don-t-draw-our-startup-message-if-debug-is-se.patch
Patch0211: 0211-Work-around-some-minor-include-path-weirdnesses.patch
Patch0212: 0212-Make-it-possible-to-enabled-build-id-sha1.patch
Patch0213: 0213-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch
Patch0214: 0214-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch
Patch0215: 0215-Only-attempt-to-scan-different-BLS-directories-on-EF.patch
Patch0216: 0216-Core-TPM-support.patch
Patch0217: 0217-Measure-kernel-initrd.patch
Patch0218: 0218-Add-BIOS-boot-measurement.patch
Patch0219: 0219-Measure-kernel-and-initrd-on-BIOS-systems.patch
Patch0220: 0220-Measure-the-kernel-commandline.patch
Patch0221: 0221-Measure-commands.patch
Patch0222: 0222-Measure-multiboot-images-and-modules.patch
Patch0223: 0223-Fix-boot-when-there-s-no-TPM.patch
Patch0224: 0224-Rework-TPM-measurements.patch
Patch0225: 0225-Fix-event-log-prefix.patch
Patch0226: 0226-Set-the-first-boot-menu-entry-as-default-when-using-.patch
Patch0227: 0227-tpm-fix-warnings-when-compiling-for-platforms-other-.patch
Patch0228: 0228-Make-TPM-errors-less-fatal.patch
Patch0229: 0229-blscfg-handle-multiple-initramfs-images.patch
Patch0230: 0230-BLS-Fix-grub2-switch-to-blscfg-on-non-EFI-machines.patch
Patch0231: 0231-BLS-Use-etcdefaultgrub-instead-of-etc.patch
Patch0232: 0232-Add-missing-options-to-grub2-switch-to-blscfg-man-pa.patch
Patch0233: 0233-Make-grub2-switch-to-blscfg-to-generate-debug-BLS-wh.patch
Patch0234: 0234-Make-grub2-switch-to-blscfg-to-generate-BLS-fragment.patch
Patch0235: 0235-Only-attempt-to-query-dev-mounted-in-boot-efi-as-boo.patch
Patch0236: 0236-Include-OSTree-path-when-searching-kernels-images-if.patch
Patch0237: 0237-Use-BLS-version-field-to-compare-entries-if-id-field.patch
Patch0238: 0238-Add-version-field-to-BLS-generated-by-grub2-switch-t.patch
Patch0239: 0239-Fixup-for-newer-compiler.patch
Patch0240: 0240-Don-t-attempt-to-export-the-start-and-_start-symbols.patch
Patch0241: 0241-Simplify-BLS-entry-key-val-pairs-lookup.patch
Patch0242: 0242-Add-relative-path-to-the-kernel-and-initrds-BLS-fiel.patch
Patch0243: 0243-Skip-leading-spaces-on-BLS-field-values.patch
Patch0244: 0244-Fixup-for-newer-compiler.patch
Patch0245: 0245-TPM-Fix-hash_log_extend_event-function-prototype.patch
Patch0246: 0246-TPM-Fix-compiler-warnings.patch
Patch0247: 0247-grub-switch-to-blscfg.in-get-rid-of-a-bunch-of-bashi.patch
Patch0248: 0248-grub-switch-to-blscfg.in-Better-boot-prefix-checking.patch
Patch0249: 0249-Use-boot-loader-entries-as-BLS-directory-path-also-o.patch