From 4dcaf2122361756b903f47b4817aeaf3741c95ff Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 19 Aug 2014 09:40:10 -0400 Subject: [PATCH] Add ppc64le support. Resolves: rhbz#1125540 --- .gitignore | 1 + 0001-fix-EFI-detection-on-Windows.patch | 2 +- ...rm-cache_armv6.S-Remove-.arch-direct.patch | 2 +- ...mpiling-the-GRUB-Fix-some-spelling-m.patch | 2 +- 0004-NEWS-First-draft-of-2.02-entry.patch | 2 +- ...aster-of-git.sv.gnu.org-srv-git-grub.patch | 2 +- ...an-command-in-fact-dates-back-to-1.9.patch | 2 +- ...-unused-error.h-from-kern-emu-misc.c.patch | 2 +- ...navailable-coreboot-tables-if-not-ru.patch | 2 +- ...ssing-entries.-Correct-existing-ones.patch | 2 +- ..._frame-section-from-arm64-efi-kernel.patch | 2 +- ...-aa64.efi-for-boot-images-on-AArch64.patch | 2 +- ...-fix-32-bit-compilation-on-MinGW-w64.patch | 2 +- ...rub-mkrescue-to-use-bootaa64.efi-too.patch | 2 +- ...rect-length-of-device-path-end-entry.patch | 2 +- ...f-grub-macbless-Change-mansection-to.patch | 2 +- ...o-EFI-rescue-image-to-fix-missing-pr.patch | 2 +- ...k.c-is-only-ever-compiled-on-FreeBSD.patch | 2 +- ...efer-more-portable-test-1-constructs.patch | 2 +- 0019-NEWS-Add-few-missing-entries.patch | 2 +- ...fi-efi.c-Ensure-that-the-result-star.patch | 2 +- ...c-Extend-GCC-warning-workaround-to-g.patch | 2 +- ...D_LDFLAGS-for-the-cross-compile-case.patch | 2 +- ...erm-terminfo.c-Recognize-keys-F1-F12.patch | 2 +- 0024-Fix-ChangeLog-date.patch | 2 +- ...ct-MinGW-W64-32-instead-of-_FILE_OFF.patch | 2 +- ...-support-to-fix-make-clean-on-Window.patch | 2 +- ...-on-MinGW-due-to-libintl.h-pulling-s.patch | 2 +- ...ds-macbless.c-Rename-FILE-and-DIR-to.patch | 2 +- ...f-Link-grub-ofpathname-with-zfs-libs.patch | 2 +- ...e.am-default_payload.elf-Add-modules.patch | 2 +- ...l-of-cpu-machine-links-on-mingw-msys.patch | 2 +- ...-main.c-read_config_file-Buffer-conf.patch | 2 +- 0033-util-grub-install.c-Fix-a-typo.patch | 2 +- ...-for-genemuinit-instead-of-MOD_FILES.patch | 2 +- ...-when-modifying-kern.geom.debugflags.patch | 2 +- ...op-condition-to-avoid-infinite-loops.patch | 2 +- ...rease-network-try-interval-gradually.patch | 2 +- ...aVu-also-in-usr-share-fonts-truetype.patch | 2 +- ...th-to-DejaVuSans-in-configure-summar.patch | 2 +- ..._EXTRA_DIST-to-allow-shipping-runtim.patch | 2 +- ...l.c-write_to_disk-Add-an-info-messag.patch | 2 +- ...rub-install.c-List-available-targets.patch | 2 +- 0043-Fix-several-translatable-strings.patch | 2 +- ...t-set-default-prefix-in-grub-mkimage.patch | 2 +- ...-cross-compile-failure-due-to-printf.patch | 2 +- ...erial.c-grub_serial_register-Fix-inv.patch | 2 +- ...port-for-partitioned-partx-loop-devi.patch | 2 +- ...t_keyboard.c-Tolerate-missing-keyboa.patch | 2 +- ...-add-missing-files-and-.exe-variants.patch | 41 +- ....c-Downgrade-warnings-about-unhandle.patch | 2 +- ...hci.c-Do-not-enable-I-O-decoding-and.patch | 2 +- ...hci.c-Allocate-and-clean-space-for-a.patch | 2 +- ...core-disk-ahci.c-Add-safety-cleanups.patch | 2 +- ...hci.c-Properly-handle-transactions-w.patch | 2 +- ...hci.c-Increase-timeout.-Some-SSDs-ta.patch | 2 +- ....c-Build-fix-for-argp.h-with-older-g.patch | 2 +- ...ue.c-Build-fix-for-argp.h-with-older.patch | 2 +- ...d-grub_env_set_net_property-function.patch | 2 +- ...dd-bootpath-parser-for-open-firmware.patch | 2 +- ...hci.c-Ignore-NPORTS-field-and-rely-o.patch | 2 +- ...386-coreboot-mmap.c-Filter-out-0xa00.patch | 2 +- ...-i386-multiboot_mbi.c-grub_multiboot.patch | 2 +- ...386-uppermem.c-lower_hook-COREBOOT-I.patch | 2 +- ...386-pc-mmap.c-Fallback-to-EISA-memor.patch | 2 +- ...6-openbsd_bootarg.h-Add-addr-and-fre.patch | 2 +- ...eck-for-IBM-pseries-emulated-machine.patch | 2 +- ...er-arm64-linux.c-Remove-redundant-0x.patch | 2 +- ...locator.c-Fix-the-case-when-end-of-l.patch | 2 +- 0069-Fix-grub-probe-0-option.patch | 2 +- ...todisk-and-abstraction-handling-in-g.patch | 2 +- ...ot-key-comparison-failures-due-to-en.patch | 2 +- ...linux-getroot.c-grub_util_part_to_di.patch | 2 +- ...ances-of-memcmp-memcpy-in-the-code-t.patch | 2 +- ...gcc.h-Remove-ctzsi2-and-ctzdi2.-They.patch | 2 +- 0075-Add-missing-endif.patch | 2 +- ...syslinux_parse.c-Fix-timeout-quoting.patch | 2 +- ...-LVM-logical_volumes-string-matching.patch | 2 +- ...-with-no-filesystem-UUID-returned-by.patch | 2 +- ...d-kernels-by-placing-GDT-in-conventi.patch | 2 +- ...isc.c-__bzero-Don-t-compile-in-GRUB_.patch | 2 +- ...ds-verify.c-grub_pubkey_open-Fix-mem.patch | 2 +- ...ds-verify.c-grub_pubkey_open-Trust-p.patch | 2 +- ...ciih.c-add_glyph-Fix-uninitialised-v.patch | 2 +- ...ds-efi-lsefisystab.c-grub_cmd_lsefis.patch | 2 +- ...-i386-bsd.c-grub_netbsd_boot-Pass-po.patch | 2 +- ...nstall.c-Fix-handling-of-disk-module.patch | 2 +- ...ds-loadenv.c-check_blocklists-Fix-ov.patch | 2 +- ...an-command-in-fact-dates-back-to-1.9.patch | 2 +- 0089-Migrate-PPC-from-Yaboot-to-Grub2.patch | 2 +- 0090-Add-fw_path-variable-revised.patch | 2 +- 0091-Add-support-for-linuxefi.patch | 2 +- ...xefi-and-initrdefi-where-appropriate.patch | 2 +- ...w-insmod-when-secure-boot-is-enabled.patch | 2 +- ...-hex-hex-straight-through-unmolested.patch | 2 +- 0095-Fix-crash-on-http.patch | 2 +- ...ient-architecture-CAS-reboot-support.patch | 2 +- 0097-Add-vlan-tag-support.patch | 2 +- 0098-Add-X-option-to-printf-functions.patch | 2 +- ...HCP-client-ID-and-UUID-options-added.patch | 2 +- ...for-specific-config-file-for-netboot.patch | 2 +- ...g-module-to-parse-Boot-Loader-Specif.patch | 2 +- 0102-Move-bash-completion-script-922997.patch | 2 +- ...nsole-display-attr-when-clear-screen.patch | 2 +- 0104-Don-t-write-messages-to-the-screen.patch | 2 +- 0105-Don-t-print-GNU-GRUB-header.patch | 2 +- 0106-Don-t-add-to-highlighted-row.patch | 2 +- 0107-Message-string-cleanups.patch | 2 +- ...ing-now-that-we-aren-t-displaying-it.patch | 2 +- ...t-indentation-for-the-term-help-text.patch | 2 +- 0110-Indent-menu-entries.patch | 2 +- 0111-Fix-margins.patch | 2 +- ...UEFI-operating-systems-returned-by-o.patch | 2 +- ...video-support-for-IBM-power-machines.patch | 2 +- ...-1-for-our-right-hand-margin-so-line.patch | 2 +- ...-Use-linux16-when-appropriate-880840.patch | 2 +- 0116-Enable-pager-by-default.-985860.patch | 2 +- ...-on-serial-so-don-t-tell-the-user-to.patch | 2 +- ...n-t-say-GNU-Linux-in-generated-menus.patch | 2 +- ...-Don-t-draw-a-border-around-the-menu.patch | 2 +- ...andard-margin-for-the-timeout-string.patch | 2 +- ...ript_execute_sourcecode-usage-on-ppc.patch | 2 +- ...rame-to-list-of-relocations-stripped.patch | 2 +- ...rk-with-our-changes-for-linux16-and-.patch | 2 +- ...on-t-print-during-fdt-loading-method.patch | 2 +- ...when-generating-configuration-by-gru.patch | 2 +- ...spaces-when-we-re-doing-our-cmdline-.patch | 2 +- ...password-to-boot-entries-generated-b.patch | 2 +- 0128-Don-t-emit-Booting-.-message.patch | 2 +- ...T-keys-work-as-expected-on-EFI-syste.patch | 2 +- 0130-May-as-well-try-it.patch | 2 +- ...ix-when-fallback-searching-for-grub-.patch | 2 +- ...-before-grub.cfg-on-tftp-config-file.patch | 2 +- ...-trim-arp-packets-with-abnormal-size.patch | 2 +- ...ert-function-to-support-NVMe-devices.patch | 2 +- ...Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch | 2 +- ...M-Mustang-device-tree-for-hardware-t.patch | 2 +- ...device-tree-from-the-grub-default-fi.patch | 2 +- ...P-protocol-for-exclusive-use-by-grub.patch | 2 +- 0139-Reduce-timer-event-frequency-by-10.patch | 2 +- 0140-always-return-error-to-UEFI.patch | 2 +- ...-powerpc-little-endian-ppc64le-flags.patch | 96 ++++ ...tion-and-include-some-libgcc-fuction.patch | 439 ++++++++++++++++++ ...-Suport-for-bi-endianess-in-elf-file.patch | 202 ++++++++ grub2.spec | 16 +- sources | 1 + 146 files changed, 931 insertions(+), 143 deletions(-) create mode 100644 0141-Add-powerpc-little-endian-ppc64le-flags.patch create mode 100644 0142-Files-reorganization-and-include-some-libgcc-fuction.patch create mode 100644 0143-Suport-for-bi-endianess-in-elf-file.patch diff --git a/.gitignore b/.gitignore index b4337421..172b31e9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ grub-*.tar.?z clog /unifont-5.1.20080820.pcf.gz /theme.tar.bz2 +/gitignore diff --git a/0001-fix-EFI-detection-on-Windows.patch b/0001-fix-EFI-detection-on-Windows.patch index e6af56ff..0a6daba0 100644 --- a/0001-fix-EFI-detection-on-Windows.patch +++ b/0001-fix-EFI-detection-on-Windows.patch @@ -1,7 +1,7 @@ From a6e7719bbe05993613a8de69dba14fa092144925 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Wed, 25 Dec 2013 22:36:28 +0400 -Subject: [PATCH 001/140] fix EFI detection on Windows +Subject: [PATCH 001/143] fix EFI detection on Windows We are on legacy BIOS if GetFirmwareEnvironmentVariable fails (returns zero) *and* extended error information is ERROR_INVALID_FUNCTION. diff --git a/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch b/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch index 1e03950f..f1371c2c 100644 --- a/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch +++ b/0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch @@ -1,7 +1,7 @@ From 5bda44d7f98c36f87144869ec58b518f80a69b56 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 25 Dec 2013 23:31:42 +0100 -Subject: [PATCH 002/140] * grub-core/kern/arm/cache_armv6.S: Remove +Subject: [PATCH 002/143] * grub-core/kern/arm/cache_armv6.S: Remove .arch directive. As these functions are used on pre-ARMv6 CPUs as well we don't want diff --git a/0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch b/0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch index a9f86394..3e992534 100644 --- a/0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch +++ b/0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch @@ -1,7 +1,7 @@ From 8ebe593c564edc8ae62086df8a1448e898ef259b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 27 Dec 2013 03:03:32 +0000 -Subject: [PATCH 003/140] * INSTALL (Cross-compiling the GRUB): Fix some +Subject: [PATCH 003/143] * INSTALL (Cross-compiling the GRUB): Fix some spelling mistakes. * docs/grub.texi (Getting the source code): Likewise. --- diff --git a/0004-NEWS-First-draft-of-2.02-entry.patch b/0004-NEWS-First-draft-of-2.02-entry.patch index d17b22fc..8da2fbaf 100644 --- a/0004-NEWS-First-draft-of-2.02-entry.patch +++ b/0004-NEWS-First-draft-of-2.02-entry.patch @@ -1,7 +1,7 @@ From c0e2febef52139e0e580e52f553bf3aa521e390c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 27 Dec 2013 03:05:38 +0000 -Subject: [PATCH 004/140] * NEWS: First draft of 2.02 entry. +Subject: [PATCH 004/143] * NEWS: First draft of 2.02 entry. --- ChangeLog | 4 +++ diff --git a/0005-Merge-branch-master-of-git.sv.gnu.org-srv-git-grub.patch b/0005-Merge-branch-master-of-git.sv.gnu.org-srv-git-grub.patch index 50c3e9f7..8c4bf80c 100644 --- a/0005-Merge-branch-master-of-git.sv.gnu.org-srv-git-grub.patch +++ b/0005-Merge-branch-master-of-git.sv.gnu.org-srv-git-grub.patch @@ -1,7 +1,7 @@ From 9ee79da5bf54babe11178ced48470b5f09d3dda3 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 27 Dec 2013 11:20:37 +0100 -Subject: [PATCH 005/140] Merge branch 'master' of git.sv.gnu.org:/srv/git/grub +Subject: [PATCH 005/143] Merge branch 'master' of git.sv.gnu.org:/srv/git/grub Conflicts: ChangeLog diff --git a/0006-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch b/0006-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch index d9b09244..c9fb0c34 100644 --- a/0006-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch +++ b/0006-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch @@ -1,7 +1,7 @@ From 94763697f5f33614b7bd6da91707a27b6872b750 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 28 Dec 2013 02:20:27 +0000 -Subject: [PATCH 006/140] * NEWS: The cmosclean command in fact dates back to +Subject: [PATCH 006/143] * NEWS: The cmosclean command in fact dates back to 1.99. Remove mention of it from 2.02. --- diff --git a/0007-remove-unused-error.h-from-kern-emu-misc.c.patch b/0007-remove-unused-error.h-from-kern-emu-misc.c.patch index 77988d07..51973fa8 100644 --- a/0007-remove-unused-error.h-from-kern-emu-misc.c.patch +++ b/0007-remove-unused-error.h-from-kern-emu-misc.c.patch @@ -1,7 +1,7 @@ From 904bd6b3cb12977def4f940e90aca3fe557c3bb5 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 28 Dec 2013 09:01:20 +0400 -Subject: [PATCH 007/140] remove unused error.h from kern/emu/misc.c +Subject: [PATCH 007/143] remove unused error.h from kern/emu/misc.c Fixes compilation on mingw32, where include is apparently missing. --- diff --git a/0008-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch b/0008-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch index e3bee706..0cc4a199 100644 --- a/0008-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch +++ b/0008-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch @@ -1,7 +1,7 @@ From 23cd074c57ee6f35776fd5122a050bcef6c9eef5 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 28 Dec 2013 17:25:14 +0100 -Subject: [PATCH 008/140] Don't abort() on unavailable coreboot tables +Subject: [PATCH 008/143] Don't abort() on unavailable coreboot tables if not running on coreboot. --- diff --git a/0009-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch b/0009-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch index 6e6f855a..5d4fbd58 100644 --- a/0009-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch +++ b/0009-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch @@ -1,7 +1,7 @@ From 3eff91e86e4df2cf8a5e1b26f98e96bf4731f526 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 30 Dec 2013 06:49:15 +0100 -Subject: [PATCH 009/140] * NEWS: Add few missing entries. Correct +Subject: [PATCH 009/143] * NEWS: Add few missing entries. Correct existing ones. --- diff --git a/0010-strip-.eh_frame-section-from-arm64-efi-kernel.patch b/0010-strip-.eh_frame-section-from-arm64-efi-kernel.patch index 02fe10dc..991cf814 100644 --- a/0010-strip-.eh_frame-section-from-arm64-efi-kernel.patch +++ b/0010-strip-.eh_frame-section-from-arm64-efi-kernel.patch @@ -1,7 +1,7 @@ From 9e9507d2e1eaed4fc2ebe2959c5405687485f613 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Mon, 30 Dec 2013 12:56:19 +0000 -Subject: [PATCH 010/140] strip .eh_frame section from arm64-efi kernel +Subject: [PATCH 010/143] strip .eh_frame section from arm64-efi kernel Fixes grub-mkimage error "relocation 0x105 is not implemented yet." --- diff --git a/0011-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch b/0011-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch index 10263127..d48f82e7 100644 --- a/0011-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch +++ b/0011-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch @@ -1,7 +1,7 @@ From 7e782c6996ee433c94fb378cbc8db0fa0f663c84 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 10:38:54 +0400 -Subject: [PATCH 011/140] use {grub,boot}aa64.efi for boot images on AArch64 +Subject: [PATCH 011/143] use {grub,boot}aa64.efi for boot images on AArch64 According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior). Also set default diff --git a/0012-fix-32-bit-compilation-on-MinGW-w64.patch b/0012-fix-32-bit-compilation-on-MinGW-w64.patch index 7a176479..7a9bb92e 100644 --- a/0012-fix-32-bit-compilation-on-MinGW-w64.patch +++ b/0012-fix-32-bit-compilation-on-MinGW-w64.patch @@ -1,7 +1,7 @@ From afda7f47601f36a98074d8d21ffb640256f02267 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 18:43:02 +0400 -Subject: [PATCH 012/140] fix 32 bit compilation on MinGW-w64 +Subject: [PATCH 012/143] fix 32 bit compilation on MinGW-w64 Use _FILE_OFFSET_BITS macro to distinguish between native MinGW and 32 bit under MinGW-64. The latter does not require fseeko/ftello diff --git a/0013-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch b/0013-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch index 3b47fc4c..059475c9 100644 --- a/0013-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch +++ b/0013-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch @@ -1,7 +1,7 @@ From 9981c4e3f366b4795655368a78baa058b18711c6 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 20:34:25 +0400 -Subject: [PATCH 013/140] Change grub-mkrescue to use bootaa64.efi too +Subject: [PATCH 013/143] Change grub-mkrescue to use bootaa64.efi too Also add ChangeLog entry for previous change. --- diff --git a/0014-arm64-set-correct-length-of-device-path-end-entry.patch b/0014-arm64-set-correct-length-of-device-path-end-entry.patch index 56828694..d75c4d52 100644 --- a/0014-arm64-set-correct-length-of-device-path-end-entry.patch +++ b/0014-arm64-set-correct-length-of-device-path-end-entry.patch @@ -1,7 +1,7 @@ From f493e0d352e1e8ff8cbafee69878d00487a04808 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Tue, 7 Jan 2014 17:52:50 +0000 -Subject: [PATCH 014/140] arm64: set correct length of device path end entry +Subject: [PATCH 014/143] arm64: set correct length of device path end entry The length of the Device Path End entry in the grub_linux_boot() function was incorrectly set to 0. This triggers an assert failure diff --git a/0015-Makefile.util.def-grub-macbless-Change-mansection-to.patch b/0015-Makefile.util.def-grub-macbless-Change-mansection-to.patch index c4c6a529..01bee9dd 100644 --- a/0015-Makefile.util.def-grub-macbless-Change-mansection-to.patch +++ b/0015-Makefile.util.def-grub-macbless-Change-mansection-to.patch @@ -1,7 +1,7 @@ From 1c0db34a9597ecccb3ad4899892fb6ff6e22304d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 8 Jan 2014 11:05:20 +0000 -Subject: [PATCH 015/140] * Makefile.util.def (grub-macbless): Change +Subject: [PATCH 015/143] * Makefile.util.def (grub-macbless): Change mansection to 8. --- diff --git a/0016-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch b/0016-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch index e46920be..8e6278ff 100644 --- a/0016-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch +++ b/0016-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch @@ -1,7 +1,7 @@ From 3aea6cc46177a90056ba60381e6387377fe40c99 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sun, 12 Jan 2014 15:29:21 +0400 -Subject: [PATCH 016/140] add part_apple to EFI rescue image to fix missing +Subject: [PATCH 016/143] add part_apple to EFI rescue image to fix missing prefix On Mac rescue image is booted from HFS+ partition, so bootpath looks like diff --git a/0017-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch b/0017-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch index 3226637c..232b5186 100644 --- a/0017-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch +++ b/0017-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch @@ -1,7 +1,7 @@ From a433d177585c8355c6ede67469a521d05cf1e9d7 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 02:30:52 +0000 -Subject: [PATCH 017/140] freebsd/hostdisk.c is only ever compiled on FreeBSD +Subject: [PATCH 017/143] freebsd/hostdisk.c is only ever compiled on FreeBSD * grub-core/osdep/freebsd/hostdisk.c (grub_util_fd_open): Remove redundant preprocessor conditional. diff --git a/0018-Prefer-more-portable-test-1-constructs.patch b/0018-Prefer-more-portable-test-1-constructs.patch index 3174a8f9..dc4fc534 100644 --- a/0018-Prefer-more-portable-test-1-constructs.patch +++ b/0018-Prefer-more-portable-test-1-constructs.patch @@ -1,7 +1,7 @@ From 4ec08b960f6de1190dea9fe7e6ab3b4b249840e5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 15:24:50 +0000 -Subject: [PATCH 018/140] Prefer more portable test(1) constructs +Subject: [PATCH 018/143] Prefer more portable test(1) constructs * util/grub.d/00_header.in (make_timeout): Use && rather than test -a. diff --git a/0019-NEWS-Add-few-missing-entries.patch b/0019-NEWS-Add-few-missing-entries.patch index ac0e4615..260d72ba 100644 --- a/0019-NEWS-Add-few-missing-entries.patch +++ b/0019-NEWS-Add-few-missing-entries.patch @@ -1,7 +1,7 @@ From e18da008f74a3c5f27a191e4f7be80c02a49f2fe Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:31:10 +0100 -Subject: [PATCH 019/140] * NEWS: Add few missing entries. +Subject: [PATCH 019/143] * NEWS: Add few missing entries. --- ChangeLog | 4 ++++ diff --git a/0020-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch b/0020-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch index 4ca20ea3..92794b8e 100644 --- a/0020-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch +++ b/0020-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch @@ -1,7 +1,7 @@ From 29c96f00677e1dd2a9df4de645a7f5fab7b736a1 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:41:47 +0100 -Subject: [PATCH 020/140] * grub-core/kern/efi/efi.c: Ensure that the +Subject: [PATCH 020/143] * grub-core/kern/efi/efi.c: Ensure that the result starts with / and has no //. --- diff --git a/0021-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch b/0021-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch index fe4bb48e..b62d429f 100644 --- a/0021-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch +++ b/0021-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch @@ -1,7 +1,7 @@ From fa9e3a9aa30988c2339e9d05c81b5d91534f4049 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:43:29 +0100 -Subject: [PATCH 021/140] * util/grub-mount.c: Extend GCC warning +Subject: [PATCH 021/143] * util/grub-mount.c: Extend GCC warning workaround to grub-mount. --- diff --git a/0022-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch b/0022-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch index e73ecb3c..d46ca9dc 100644 --- a/0022-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch +++ b/0022-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch @@ -1,7 +1,7 @@ From 3bea802b45b9c98f70753370522fa6e47ba8966b Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 19:50:54 +0400 -Subject: [PATCH 022/140] reintroduce BUILD_LDFLAGS for the cross-compile case +Subject: [PATCH 022/143] reintroduce BUILD_LDFLAGS for the cross-compile case This allows providing separate LDFLAGS for build and host environments, which are not necessary the same for cross-compile case. In particular, it allows diff --git a/0023-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch b/0023-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch index 58c02ae2..ecd66868 100644 --- a/0023-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch +++ b/0023-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch @@ -1,7 +1,7 @@ From ac660e42875162e599f50c085cb646c633cf376d Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:57:35 +0100 -Subject: [PATCH 023/140] * grub-core/term/terminfo.c: Recognize keys +Subject: [PATCH 023/143] * grub-core/term/terminfo.c: Recognize keys F1-F12. --- diff --git a/0024-Fix-ChangeLog-date.patch b/0024-Fix-ChangeLog-date.patch index 06fb0b63..7663147b 100644 --- a/0024-Fix-ChangeLog-date.patch +++ b/0024-Fix-ChangeLog-date.patch @@ -1,7 +1,7 @@ From 6e5cf6b00fa82e5a02135ea5e21230ee44c72087 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:01:16 +0400 -Subject: [PATCH 024/140] Fix ChangeLog date +Subject: [PATCH 024/143] Fix ChangeLog date --- ChangeLog | 2 +- diff --git a/0025-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch b/0025-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch index 56c23c15..04f7e735 100644 --- a/0025-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch +++ b/0025-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch @@ -1,7 +1,7 @@ From bb3e1a1e8448f3ea9489b5ebfcec799196bc862f Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:04:11 +0400 -Subject: [PATCH 025/140] Use _W64 to detect MinGW W64-32 instead of +Subject: [PATCH 025/143] Use _W64 to detect MinGW W64-32 instead of _FILE_OFFSET_BITS In 94cee4a4c201bb506377b2c26e072eee8cb19d6f I overlooked that config.h diff --git a/0026-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch b/0026-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch index 7518aed6..744c2a8a 100644 --- a/0026-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch +++ b/0026-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch @@ -1,7 +1,7 @@ From 5ac7afd762d11b4c91d5756222c3abf5862203de Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:41:24 +0400 -Subject: [PATCH 026/140] add BUILD_EXEEXT support to fix make clean on Windows +Subject: [PATCH 026/143] add BUILD_EXEEXT support to fix make clean on Windows Add $(BUILD_EXEEXT) to ensure files are removed. Also add CLEANFILES where appropriate. diff --git a/0027-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch b/0027-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch index b4390bdf..76918fdf 100644 --- a/0027-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch +++ b/0027-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch @@ -1,7 +1,7 @@ From 09194ac15b3c348cbf147e8ea27b982b57a7a778 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 21:22:57 +0400 -Subject: [PATCH 027/140] fix include loop on MinGW due to libintl.h pulling +Subject: [PATCH 027/143] fix include loop on MinGW due to libintl.h pulling stdio.h In file included from ./include/grub/dl.h:23:0, diff --git a/0028-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch b/0028-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch index af6128dd..8180ce2a 100644 --- a/0028-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch +++ b/0028-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch @@ -1,7 +1,7 @@ From 9cbb9fc3d79e449affe7ed5e104aa828b72ad2cd Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:26:40 +0100 -Subject: [PATCH 028/140] * grub-core/commands/macbless.c: Rename FILE +Subject: [PATCH 028/143] * grub-core/commands/macbless.c: Rename FILE and DIR to avoid conflicts. Reported by: Andrey Borzenkov. diff --git a/0029-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch b/0029-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch index 9f3e9a98..fcc5013d 100644 --- a/0029-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch +++ b/0029-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch @@ -1,7 +1,7 @@ From 6c3fa2da4fd22c3ebda0c6cf69f97d578c04e704 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 18 Jan 2014 19:41:15 +0100 -Subject: [PATCH 029/140] * Makefile.util.def: Link grub-ofpathname with +Subject: [PATCH 029/143] * Makefile.util.def: Link grub-ofpathname with zfs libs. --- diff --git a/0030-Makefile.am-default_payload.elf-Add-modules.patch b/0030-Makefile.am-default_payload.elf-Add-modules.patch index 393835bd..1f6c3827 100644 --- a/0030-Makefile.am-default_payload.elf-Add-modules.patch +++ b/0030-Makefile.am-default_payload.elf-Add-modules.patch @@ -1,7 +1,7 @@ From 3f6bd432acbf2244e6f4b83dd3a259392b10afb6 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:43:19 +0100 -Subject: [PATCH 030/140] * Makefile.am (default_payload.elf): Add +Subject: [PATCH 030/143] * Makefile.am (default_payload.elf): Add modules multiboot cbmemc linux16 gzio echo help. --- diff --git a/0031-fix-removal-of-cpu-machine-links-on-mingw-msys.patch b/0031-fix-removal-of-cpu-machine-links-on-mingw-msys.patch index 45e6e7c8..3b1a8c05 100644 --- a/0031-fix-removal-of-cpu-machine-links-on-mingw-msys.patch +++ b/0031-fix-removal-of-cpu-machine-links-on-mingw-msys.patch @@ -1,7 +1,7 @@ From d0cf0d7dcd4813a168d2bd94ec77ee0ae8ff860e Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 22:48:04 +0400 -Subject: [PATCH 031/140] fix removal of {cpu,machine} links on mingw/msys +Subject: [PATCH 031/143] fix removal of {cpu,machine} links on mingw/msys At least on Windows 2003 using "ln -s dir1 dir2" in msys shell succeeds, but results in what looks like hard link. Subsequent "rm -f dir2" (e.g. diff --git a/0032-grub-core-normal-main.c-read_config_file-Buffer-conf.patch b/0032-grub-core-normal-main.c-read_config_file-Buffer-conf.patch index 923ad67d..a11f8330 100644 --- a/0032-grub-core-normal-main.c-read_config_file-Buffer-conf.patch +++ b/0032-grub-core-normal-main.c-read_config_file-Buffer-conf.patch @@ -1,7 +1,7 @@ From 221f6e1ac22f66881276d4cb012d588ecfb17e47 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:54:09 +0100 -Subject: [PATCH 032/140] * grub-core/normal/main.c (read_config_file): +Subject: [PATCH 032/143] * grub-core/normal/main.c (read_config_file): Buffer config file. Reduces boot time. --- diff --git a/0033-util-grub-install.c-Fix-a-typo.patch b/0033-util-grub-install.c-Fix-a-typo.patch index 736a5b3b..7e69b96a 100644 --- a/0033-util-grub-install.c-Fix-a-typo.patch +++ b/0033-util-grub-install.c-Fix-a-typo.patch @@ -1,7 +1,7 @@ From d353b169aa6b2a9cd03d0c2987da7da059aa6f99 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 20:02:51 +0100 -Subject: [PATCH 033/140] * util/grub-install.c: Fix a typo. +Subject: [PATCH 033/143] * util/grub-install.c: Fix a typo. --- ChangeLog | 4 ++++ diff --git a/0034-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch b/0034-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch index 5e3f6865..4a33b6cf 100644 --- a/0034-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch +++ b/0034-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch @@ -1,7 +1,7 @@ From 85cc4b1abfed85fd8504da4acc391d5936de2812 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 23:15:40 +0400 -Subject: [PATCH 034/140] use MODULE_FILES for genemuinit* instead of MOD_FILES +Subject: [PATCH 034/143] use MODULE_FILES for genemuinit* instead of MOD_FILES MinGW native nm does not support ELF binaries. --- diff --git a/0035-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch b/0035-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch index ef422f1e..4bb4ccdd 100644 --- a/0035-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch +++ b/0035-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch @@ -1,7 +1,7 @@ From 97fca4331e317b0491912c3cf3d02a9fac96c419 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 02:28:46 +0000 -Subject: [PATCH 035/140] Ignore EPERM when modifying kern.geom.debugflags +Subject: [PATCH 035/143] Ignore EPERM when modifying kern.geom.debugflags Many tests fail when run as a non-root user on FreeBSD. The failures all amount to an inability to open files using grub_util_fd_open, diff --git a/0036-change-stop-condition-to-avoid-infinite-loops.patch b/0036-change-stop-condition-to-avoid-infinite-loops.patch index 0060de54..a0654859 100644 --- a/0036-change-stop-condition-to-avoid-infinite-loops.patch +++ b/0036-change-stop-condition-to-avoid-infinite-loops.patch @@ -1,7 +1,7 @@ From 547d1e84df5d57c7600ead4556d43d5dbbe33c4b Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 21 Jan 2014 10:49:39 -0200 -Subject: [PATCH 036/140] change stop condition to avoid infinite loops +Subject: [PATCH 036/143] change stop condition to avoid infinite loops In net/net.c there is a while (1) that only exits if there is a stop condition and more then 10 packages or if there is no package received. diff --git a/0037-increase-network-try-interval-gradually.patch b/0037-increase-network-try-interval-gradually.patch index 937d1144..d85b7971 100644 --- a/0037-increase-network-try-interval-gradually.patch +++ b/0037-increase-network-try-interval-gradually.patch @@ -1,7 +1,7 @@ From d3652ff33623d842fc4422ffd98e4303795e9519 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 21 Jan 2014 11:03:51 -0200 -Subject: [PATCH 037/140] increase network try interval gradually +Subject: [PATCH 037/143] increase network try interval gradually * grub-core/net/arp.c (grub_net_arp_send_request): Increase network try interval gradually. diff --git a/0038-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch b/0038-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch index 793d836f..85990341 100644 --- a/0038-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch +++ b/0038-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch @@ -1,7 +1,7 @@ From 90d83cda679fef485f7bb1a318bd682c4eb86cb4 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 19:29:33 +0400 -Subject: [PATCH 038/140] look for DejaVu also in /usr/share/fonts/truetype +Subject: [PATCH 038/143] look for DejaVu also in /usr/share/fonts/truetype It is installed in this path on openSUSE. --- diff --git a/0039-Show-detected-path-to-DejaVuSans-in-configure-summar.patch b/0039-Show-detected-path-to-DejaVuSans-in-configure-summar.patch index ec0bd9f2..7abb2668 100644 --- a/0039-Show-detected-path-to-DejaVuSans-in-configure-summar.patch +++ b/0039-Show-detected-path-to-DejaVuSans-in-configure-summar.patch @@ -1,7 +1,7 @@ From 3e02e2fbd2089645ac2c482dad59318394b62252 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 19:41:11 +0400 -Subject: [PATCH 039/140] Show detected path to DejaVuSans in configure summary +Subject: [PATCH 039/143] Show detected path to DejaVuSans in configure summary --- ChangeLog | 1 + diff --git a/0040-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch b/0040-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch index 9e026fd8..573b3b24 100644 --- a/0040-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch +++ b/0040-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch @@ -1,7 +1,7 @@ From 6e9483ee94033f4bb7b9a17bd032c4af4479abc0 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 20:54:09 +0400 -Subject: [PATCH 040/140] add GRUB_WINDOWS_EXTRA_DIST to allow shipping runtime +Subject: [PATCH 040/143] add GRUB_WINDOWS_EXTRA_DIST to allow shipping runtime files Not all toolkits provide static libraries. This patch enables creation of self diff --git a/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch b/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch index edddec1f..e89d9380 100644 --- a/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch +++ b/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch @@ -1,7 +1,7 @@ From 100e7015f7dcf2cee0c4ddbbd7498a67bac695d0 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 23 Jan 2014 12:05:36 +0000 -Subject: [PATCH 041/140] * util/grub-install.c (write_to_disk): Add an info +Subject: [PATCH 041/143] * util/grub-install.c (write_to_disk): Add an info message. --- diff --git a/0042-util-grub-install.c-List-available-targets.patch b/0042-util-grub-install.c-List-available-targets.patch index ffd5e2b5..c12e35d9 100644 --- a/0042-util-grub-install.c-List-available-targets.patch +++ b/0042-util-grub-install.c-List-available-targets.patch @@ -1,7 +1,7 @@ From d25ddbcafa537525f606938df0e500c50a5e93e1 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 24 Jan 2014 18:09:25 +0100 -Subject: [PATCH 042/140] * util/grub-install.c: List available targets. +Subject: [PATCH 042/143] * util/grub-install.c: List available targets. --- ChangeLog | 4 ++++ diff --git a/0043-Fix-several-translatable-strings.patch b/0043-Fix-several-translatable-strings.patch index 261609c4..3c25967b 100644 --- a/0043-Fix-several-translatable-strings.patch +++ b/0043-Fix-several-translatable-strings.patch @@ -1,7 +1,7 @@ From 2cd73ec6b2efeaff2bdcd40cce0cd3145d9e07d0 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 24 Jan 2014 18:20:27 +0100 -Subject: [PATCH 043/140] Fix several translatable strings. +Subject: [PATCH 043/143] Fix several translatable strings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/0044-do-not-set-default-prefix-in-grub-mkimage.patch b/0044-do-not-set-default-prefix-in-grub-mkimage.patch index 38eebefa..2caa0c9d 100644 --- a/0044-do-not-set-default-prefix-in-grub-mkimage.patch +++ b/0044-do-not-set-default-prefix-in-grub-mkimage.patch @@ -1,7 +1,7 @@ From 2b2a550c14e70d17af4140e64d08022ed170f0c8 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 25 Jan 2014 19:54:51 +0400 -Subject: [PATCH 044/140] do not set default prefix in grub-mkimage +Subject: [PATCH 044/143] do not set default prefix in grub-mkimage Default prefix is likely wrong on Unix and completely wrong on Windows. Let caller set it explicitly to avoid any ambiguity. diff --git a/0045-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch b/0045-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch index e7e7a8ff..daf6702c 100644 --- a/0045-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch +++ b/0045-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch @@ -1,7 +1,7 @@ From 90efd351fa4f81df97473e1bb8c8234a801f8ebe Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 25 Jan 2014 21:49:41 +0400 -Subject: [PATCH 045/140] fix Mingw W64-32 cross compile failure due to printf +Subject: [PATCH 045/143] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h In file included from util/misc.c:36:0: diff --git a/0046-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch b/0046-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch index 73ee63e1..2d0824dc 100644 --- a/0046-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch +++ b/0046-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch @@ -1,7 +1,7 @@ From c18e39b667adb11624f3f4162c1342b76712d655 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 26 Jan 2014 02:36:05 +0100 -Subject: [PATCH 046/140] * grub-core/term/serial.c +Subject: [PATCH 046/143] * grub-core/term/serial.c (grub_serial_register): Fix invalid free. Ensure that pointers are inited to NULL and that pointers are not accessed after free. diff --git a/0047-grub-install-support-for-partitioned-partx-loop-devi.patch b/0047-grub-install-support-for-partitioned-partx-loop-devi.patch index 81d07861..5a4df901 100644 --- a/0047-grub-install-support-for-partitioned-partx-loop-devi.patch +++ b/0047-grub-install-support-for-partitioned-partx-loop-devi.patch @@ -1,7 +1,7 @@ From c889057e089d69bd187c8ba134c9669247744628 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 26 Jan 2014 02:56:04 +0100 -Subject: [PATCH 047/140] grub-install: support for partitioned partx +Subject: [PATCH 047/143] grub-install: support for partitioned partx loop devices. * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect diff --git a/0048-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch b/0048-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch index 4b504756..2e2fe1af 100644 --- a/0048-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch +++ b/0048-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch @@ -1,7 +1,7 @@ From 379cbd6233fe227544ff3073b60b295fe841b654 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 26 Jan 2014 03:31:10 +0100 -Subject: [PATCH 048/140] * grub-core/term/at_keyboard.c: Tolerate +Subject: [PATCH 048/143] * grub-core/term/at_keyboard.c: Tolerate missing keyboard. --- diff --git a/0049-.gitignore-add-missing-files-and-.exe-variants.patch b/0049-.gitignore-add-missing-files-and-.exe-variants.patch index 44211974..71bc4741 100644 --- a/0049-.gitignore-add-missing-files-and-.exe-variants.patch +++ b/0049-.gitignore-add-missing-files-and-.exe-variants.patch @@ -1,13 +1,52 @@ From 58ca3abc65a64d950d6da8b473e91f16d410f1ac Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 29 Jan 2014 13:26:00 -0200 -Subject: [PATCH 049/140] .gitignore: add missing files and .exe variants. +Subject: [PATCH 049/143] .gitignore: add missing files and .exe variants. --- .gitignore | 7 +++++++ ChangeLog | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) +diff --git a/.gitignore b/.gitignore +index 2b0156a..18ab8e8 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -58,6 +58,8 @@ grub-emu.exe + grub-emu-lite.exe + grub_emu_init.c + grub_emu_init.h ++/grub-file ++/grub-file.exe + grub-fstest + grub-fstest.exe + grub_fstest_init.c +@@ -66,6 +68,8 @@ grub_func_test + grub-install + grub-install.exe + grub-kbdcomp ++/grub-macbless ++/grub-macbless.exe + grub-macho2img + /grub-menulst2cfg + /grub-menulst2cfg.exe +@@ -120,6 +124,8 @@ grub-shell + grub-shell-tester + grub-sparc64-setup + grub-sparc64-setup.exe ++/grub-syslinux2cfg ++/grub-syslinux2cfg.exe + gzcompress_test + hddboot_test + help_test +@@ -194,6 +200,7 @@ grub-core/modinfo.sh + grub-core/*.module + grub-core/*.module.exe + grub-core/*.pp ++grub-core/kernel.img.bin + util/bash-completion.d/grub + grub-core/gnulib/alloca.h + grub-core/gnulib/arg-nonnull.h diff --git a/ChangeLog b/ChangeLog index d37d4a6..a49f5f1 100644 --- a/ChangeLog diff --git a/0050-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch b/0050-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch index 1b7ac9b9..d67ef51d 100644 --- a/0050-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch +++ b/0050-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch @@ -1,7 +1,7 @@ From f21c40f33c95d908cee32a5063f285d22574a507 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:41:48 +0100 -Subject: [PATCH 050/140] * util/grub-mkfont.c: Downgrade warnings about +Subject: [PATCH 050/143] * util/grub-mkfont.c: Downgrade warnings about unhandled features to debug. --- diff --git a/0051-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch b/0051-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch index e65fd492..ca6c86da 100644 --- a/0051-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch +++ b/0051-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch @@ -1,7 +1,7 @@ From 5795341bb64a4e101d7c067d688b19a41dd50662 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:43:25 +0100 -Subject: [PATCH 051/140] * grub-core/disk/ahci.c: Do not enable I/O +Subject: [PATCH 051/143] * grub-core/disk/ahci.c: Do not enable I/O decoding and keep enabling busmaster for the end. --- diff --git a/0052-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch b/0052-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch index 2dd49020..82364810 100644 --- a/0052-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch +++ b/0052-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch @@ -1,7 +1,7 @@ From 50cb0018044359180aa57e6aa7ec944def83bbcc Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:45:18 +0100 -Subject: [PATCH 052/140] * grub-core/disk/ahci.c: Allocate and clean +Subject: [PATCH 052/143] * grub-core/disk/ahci.c: Allocate and clean space for all possible 32 slots to avoid pointing to uninited area. --- diff --git a/0053-grub-core-disk-ahci.c-Add-safety-cleanups.patch b/0053-grub-core-disk-ahci.c-Add-safety-cleanups.patch index 2e61f07b..1c26b0b1 100644 --- a/0053-grub-core-disk-ahci.c-Add-safety-cleanups.patch +++ b/0053-grub-core-disk-ahci.c-Add-safety-cleanups.patch @@ -1,7 +1,7 @@ From 3f00de9c207fb4b3f9e45fd775650404ce087aac Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:46:17 +0100 -Subject: [PATCH 053/140] * grub-core/disk/ahci.c: Add safety cleanups. +Subject: [PATCH 053/143] * grub-core/disk/ahci.c: Add safety cleanups. --- ChangeLog | 4 ++++ diff --git a/0054-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch b/0054-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch index 1b9c5a19..1dbe7061 100644 --- a/0054-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch +++ b/0054-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch @@ -1,7 +1,7 @@ From 5e8c619b17cdf70b30d37412738b149d80874c28 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:49:51 +0100 -Subject: [PATCH 054/140] * grub-core/disk/ahci.c: Properly handle +Subject: [PATCH 054/143] * grub-core/disk/ahci.c: Properly handle transactions with no transferred data. --- diff --git a/0055-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch b/0055-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch index 3bfe1d59..0e135a81 100644 --- a/0055-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch +++ b/0055-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch @@ -1,7 +1,7 @@ From 45dd39fb467d061a550113fd5e5431209f0db73c Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:50:49 +0100 -Subject: [PATCH 055/140] * grub-core/disk/ahci.c: Increase timeout. +Subject: [PATCH 055/143] * grub-core/disk/ahci.c: Increase timeout. Some SSDs take up to 7 seconds to recover if last poweroff was bad. --- diff --git a/0056-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch b/0056-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch index 3d923471..b2dbf4f1 100644 --- a/0056-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch +++ b/0056-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch @@ -1,7 +1,7 @@ From 767cf43a2e5c738df50155cc8729ad0f57d6ab47 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 3 Feb 2014 14:34:27 +0100 -Subject: [PATCH 056/140] * util/grub-mkfont.c: Build fix for argp.h +Subject: [PATCH 056/143] * util/grub-mkfont.c: Build fix for argp.h with older gcc. --- diff --git a/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch b/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch index 94d3a8d4..20ed6af0 100644 --- a/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch +++ b/0057-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch @@ -1,7 +1,7 @@ From 3365d3eb4062cee9581f3560ec3e93f8c8ababb2 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 3 Feb 2014 14:35:51 +0100 -Subject: [PATCH 057/140] * util/grub-mkrescue.c: Build fix for argp.h +Subject: [PATCH 057/143] * util/grub-mkrescue.c: Build fix for argp.h with older gcc. --- diff --git a/0058-add-grub_env_set_net_property-function.patch b/0058-add-grub_env_set_net_property-function.patch index 0425eb68..18e12017 100644 --- a/0058-add-grub_env_set_net_property-function.patch +++ b/0058-add-grub_env_set_net_property-function.patch @@ -1,7 +1,7 @@ From 533058df7c164a4d3498dfaa626923904597f162 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 4 Feb 2014 18:41:38 -0200 -Subject: [PATCH 058/140] add grub_env_set_net_property function +Subject: [PATCH 058/143] add grub_env_set_net_property function * grub-core/net/bootp.c: Remove set_env_limn_ro. * grub-core/net/net.c: Add grub_env_set_net_property. diff --git a/0059-add-bootpath-parser-for-open-firmware.patch b/0059-add-bootpath-parser-for-open-firmware.patch index 72b29d53..b2bd2128 100644 --- a/0059-add-bootpath-parser-for-open-firmware.patch +++ b/0059-add-bootpath-parser-for-open-firmware.patch @@ -1,7 +1,7 @@ From 1a768cc5a65094e19c216caf92dd190317df25fc Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 4 Feb 2014 19:00:55 -0200 -Subject: [PATCH 059/140] add bootpath parser for open firmware +Subject: [PATCH 059/143] add bootpath parser for open firmware It enables net boot even when there is no bootp/dhcp server. diff --git a/0060-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch b/0060-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch index 4cdfbc93..52d68c3c 100644 --- a/0060-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch +++ b/0060-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch @@ -1,7 +1,7 @@ From 7f4e3839c9b872f0981e1ecdecfa2bd91065f99c Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 20 Feb 2014 10:11:43 +0100 -Subject: [PATCH 060/140] * grub-core/disk/ahci.c: Ignore NPORTS field +Subject: [PATCH 060/143] * grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI exclusively. --- diff --git a/0061-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch b/0061-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch index 5e4e8a73..11deb12c 100644 --- a/0061-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch +++ b/0061-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch @@ -1,7 +1,7 @@ From c65d7e05498edecd560753768114b574f7c3543d Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:47:57 +0100 -Subject: [PATCH 061/140] * grub-core/kern/i386/coreboot/mmap.c: Filter +Subject: [PATCH 061/143] * grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000 region. --- diff --git a/0062-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch b/0062-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch index ba0f20b1..b98968ef 100644 --- a/0062-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch +++ b/0062-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch @@ -1,7 +1,7 @@ From 4530afc725782bbb92d4681fc338acebc4604b45 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:48:57 +0100 -Subject: [PATCH 062/140] * grub-core/loader/i386/multiboot_mbi.c +Subject: [PATCH 062/143] * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit location to 640K. --- diff --git a/0063-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch b/0063-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch index b1682fde..a2820a89 100644 --- a/0063-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch +++ b/0063-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch @@ -1,7 +1,7 @@ From e85cc7078e669509d3a22c4e76f94cdd53335fff Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:50:47 +0100 -Subject: [PATCH 063/140] * grub-core/mmap/i386/uppermem.c (lower_hook) +Subject: [PATCH 063/143] * grub-core/mmap/i386/uppermem.c (lower_hook) [COREBOOT]: Ignore low tables for low memory calculations. --- diff --git a/0064-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch b/0064-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch index b22b4468..4c0dac13 100644 --- a/0064-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch +++ b/0064-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch @@ -1,7 +1,7 @@ From 37e3b5e42930e8cd4e801e4203dc2fde335b4b10 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 10:07:11 +0100 -Subject: [PATCH 064/140] * grub-core/kern/i386/pc/mmap.c: Fallback to +Subject: [PATCH 064/143] * grub-core/kern/i386/pc/mmap.c: Fallback to EISA memory map if E820 failed to return any regions. --- diff --git a/0065-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch b/0065-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch index e6774871..ba1192e3 100644 --- a/0065-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch +++ b/0065-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch @@ -1,7 +1,7 @@ From 1cdf2c717c0f4a2efac0e5dc8b5c564f930c537a Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 10:50:05 +0100 -Subject: [PATCH 065/140] * include/grub/i386/openbsd_bootarg.h: Add +Subject: [PATCH 065/143] * include/grub/i386/openbsd_bootarg.h: Add addr and frequency fields. * grub-core/loader/i386/bsd.c (grub_cmd_openbsd): Fill addr field. MIME-Version: 1.0 diff --git a/0066-ieee1275-check-for-IBM-pseries-emulated-machine.patch b/0066-ieee1275-check-for-IBM-pseries-emulated-machine.patch index aaa6858a..4dc5ad3c 100644 --- a/0066-ieee1275-check-for-IBM-pseries-emulated-machine.patch +++ b/0066-ieee1275-check-for-IBM-pseries-emulated-machine.patch @@ -1,7 +1,7 @@ From 2a20b05871d51635060ab58c1b63ac2ee9f8a359 Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania Date: Thu, 20 Mar 2014 16:57:12 +0530 -Subject: [PATCH 066/140] ieee1275: check for IBM pseries emulated machine +Subject: [PATCH 066/143] ieee1275: check for IBM pseries emulated machine is_qemu is not being set lead to disabling of feature like GRUB_IEEE1275_FLAG_HAS_CURSORONOFF. This resulted in cursor not being diff --git a/0067-grub-core-loader-arm64-linux.c-Remove-redundant-0x.patch b/0067-grub-core-loader-arm64-linux.c-Remove-redundant-0x.patch index 40a49652..65614f5c 100644 --- a/0067-grub-core-loader-arm64-linux.c-Remove-redundant-0x.patch +++ b/0067-grub-core-loader-arm64-linux.c-Remove-redundant-0x.patch @@ -1,7 +1,7 @@ From 530b22a1c04a08fbdb4dcbc3d34bc610af17cc68 Mon Sep 17 00:00:00 2001 From: Fu Wei Date: Wed, 26 Mar 2014 08:13:07 +0100 -Subject: [PATCH 067/140] * grub-core/loader/arm64/linux.c: Remove +Subject: [PATCH 067/143] * grub-core/loader/arm64/linux.c: Remove redundant "0x". --- diff --git a/0068-grub-core-lib-relocator.c-Fix-the-case-when-end-of-l.patch b/0068-grub-core-lib-relocator.c-Fix-the-case-when-end-of-l.patch index a50a45f3..d5cb1d12 100644 --- a/0068-grub-core-lib-relocator.c-Fix-the-case-when-end-of-l.patch +++ b/0068-grub-core-lib-relocator.c-Fix-the-case-when-end-of-l.patch @@ -1,7 +1,7 @@ From 5d1749ea5730be5c9c32228461b784317a500f4b Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 26 Mar 2014 08:48:30 +0100 -Subject: [PATCH 068/140] * grub-core/lib/relocator.c: Fix the case when +Subject: [PATCH 068/143] * grub-core/lib/relocator.c: Fix the case when end of leftover is used. --- diff --git a/0069-Fix-grub-probe-0-option.patch b/0069-Fix-grub-probe-0-option.patch index 5070e963..d85fa3a3 100644 --- a/0069-Fix-grub-probe-0-option.patch +++ b/0069-Fix-grub-probe-0-option.patch @@ -1,7 +1,7 @@ From fdf24f98bc9e4632bfe7f280872cbbf40942ae7b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 31 Mar 2014 13:51:17 +0100 -Subject: [PATCH 069/140] Fix grub-probe -0 option +Subject: [PATCH 069/143] Fix grub-probe -0 option * util/grub-probe,c (options): Make -0 work again (broken by conversion to argp). diff --git a/0070-Fix-partmap-cryptodisk-and-abstraction-handling-in-g.patch b/0070-Fix-partmap-cryptodisk-and-abstraction-handling-in-g.patch index d79df32a..64e8ab21 100644 --- a/0070-Fix-partmap-cryptodisk-and-abstraction-handling-in-g.patch +++ b/0070-Fix-partmap-cryptodisk-and-abstraction-handling-in-g.patch @@ -1,7 +1,7 @@ From 0a65563c2b355c0eb7412b46f015556691f1b5d1 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 31 Mar 2014 14:48:33 +0100 -Subject: [PATCH 070/140] Fix partmap, cryptodisk, and abstraction handling in +Subject: [PATCH 070/143] Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig. Commit 588744d0dc655177d5883bdcb8f72ff5160109ed caused grub-mkconfig diff --git a/0071-btrfs-fix-get_root-key-comparison-failures-due-to-en.patch b/0071-btrfs-fix-get_root-key-comparison-failures-due-to-en.patch index 100e67ff..7cd33849 100644 --- a/0071-btrfs-fix-get_root-key-comparison-failures-due-to-en.patch +++ b/0071-btrfs-fix-get_root-key-comparison-failures-due-to-en.patch @@ -1,7 +1,7 @@ From bd2125649cbeae60a5caff05d5a39c88a4e6eff6 Mon Sep 17 00:00:00 2001 From: Thomas Falcon Date: Mon, 31 Mar 2014 15:32:30 +0100 -Subject: [PATCH 071/140] btrfs: fix get_root key comparison failures due to +Subject: [PATCH 071/143] btrfs: fix get_root key comparison failures due to endianness * grub-core/fs/btrfs.c (get_root): Convert diff --git a/0072-grub-core-osdep-linux-getroot.c-grub_util_part_to_di.patch b/0072-grub-core-osdep-linux-getroot.c-grub_util_part_to_di.patch index bd067359..e8af09a5 100644 --- a/0072-grub-core-osdep-linux-getroot.c-grub_util_part_to_di.patch +++ b/0072-grub-core-osdep-linux-getroot.c-grub_util_part_to_di.patch @@ -1,7 +1,7 @@ From c3d9e64a61d17e57ef941a6a46e5a148c51c8519 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 3 Apr 2014 21:31:12 +0200 -Subject: [PATCH 072/140] * grub-core/osdep/linux/getroot.c +Subject: [PATCH 072/143] * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Support NVMe device names. --- diff --git a/0073-Replace-few-instances-of-memcmp-memcpy-in-the-code-t.patch b/0073-Replace-few-instances-of-memcmp-memcpy-in-the-code-t.patch index d38b0fe7..8846511a 100644 --- a/0073-Replace-few-instances-of-memcmp-memcpy-in-the-code-t.patch +++ b/0073-Replace-few-instances-of-memcmp-memcpy-in-the-code-t.patch @@ -1,7 +1,7 @@ From cb2cfc87fad111a539e9645f6a96d0a89a28c8ab Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 4 Apr 2014 07:58:42 +0200 -Subject: [PATCH 073/140] Replace few instances of memcmp/memcpy in the code +Subject: [PATCH 073/143] Replace few instances of memcmp/memcpy in the code that should be grub_memcmp/grub_memcpy. --- diff --git a/0074-include-grub-libgcc.h-Remove-ctzsi2-and-ctzdi2.-They.patch b/0074-include-grub-libgcc.h-Remove-ctzsi2-and-ctzdi2.-They.patch index f371ab1e..564f09e8 100644 --- a/0074-include-grub-libgcc.h-Remove-ctzsi2-and-ctzdi2.-They.patch +++ b/0074-include-grub-libgcc.h-Remove-ctzsi2-and-ctzdi2.-They.patch @@ -1,7 +1,7 @@ From 91152c6e2944e9ad3583482140f8991b972fec08 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 4 Apr 2014 08:02:38 +0200 -Subject: [PATCH 074/140] * include/grub/libgcc.h: Remove ctzsi2 and ctzdi2. +Subject: [PATCH 074/143] * include/grub/libgcc.h: Remove ctzsi2 and ctzdi2. They're no longer pulled from libgcc. --- diff --git a/0075-Add-missing-endif.patch b/0075-Add-missing-endif.patch index f51502af..df7aa60e 100644 --- a/0075-Add-missing-endif.patch +++ b/0075-Add-missing-endif.patch @@ -1,7 +1,7 @@ From fb1b02802aa368f43c8d0a871e017c14cb39b180 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 4 Apr 2014 08:11:15 +0200 -Subject: [PATCH 075/140] Add missing #endif +Subject: [PATCH 075/143] Add missing #endif --- include/grub/libgcc.h | 1 + diff --git a/0076-grub-core-lib-syslinux_parse.c-Fix-timeout-quoting.patch b/0076-grub-core-lib-syslinux_parse.c-Fix-timeout-quoting.patch index 7b0a30d8..c1037c81 100644 --- a/0076-grub-core-lib-syslinux_parse.c-Fix-timeout-quoting.patch +++ b/0076-grub-core-lib-syslinux_parse.c-Fix-timeout-quoting.patch @@ -1,7 +1,7 @@ From fb62186fefaca6b302eb61081bb6281042ff7283 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 6 Apr 2014 00:44:44 +0200 -Subject: [PATCH 076/140] * grub-core/lib/syslinux_parse.c: Fix timeout +Subject: [PATCH 076/143] * grub-core/lib/syslinux_parse.c: Fix timeout quoting. --- diff --git a/0077-Improve-LVM-logical_volumes-string-matching.patch b/0077-Improve-LVM-logical_volumes-string-matching.patch index 12100e1c..3b774c98 100644 --- a/0077-Improve-LVM-logical_volumes-string-matching.patch +++ b/0077-Improve-LVM-logical_volumes-string-matching.patch @@ -1,7 +1,7 @@ From d576e05a7bfe25413f70b54f671f305397bacf5e Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 10 Apr 2014 14:42:41 +0100 -Subject: [PATCH 077/140] Improve LVM "logical_volumes" string matching +Subject: [PATCH 077/143] Improve LVM "logical_volumes" string matching * grub-core/disk/lvm.c (grub_lvm_detect): Search for "logical_volumes" block a little more accurately. diff --git a/0078-Tolerate-devices-with-no-filesystem-UUID-returned-by.patch b/0078-Tolerate-devices-with-no-filesystem-UUID-returned-by.patch index 387cbe9a..f512a755 100644 --- a/0078-Tolerate-devices-with-no-filesystem-UUID-returned-by.patch +++ b/0078-Tolerate-devices-with-no-filesystem-UUID-returned-by.patch @@ -1,7 +1,7 @@ From 0942ce33c5b88d85a6b81f4b3dd75c32fdf21978 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 10 Apr 2014 16:54:33 +0100 -Subject: [PATCH 078/140] Tolerate devices with no filesystem UUID returned by +Subject: [PATCH 078/143] Tolerate devices with no filesystem UUID returned by os-prober * util/grub.d/30_os-prober.in: Tolerate devices with no filesystem diff --git a/0079-Allow-loading-old-kernels-by-placing-GDT-in-conventi.patch b/0079-Allow-loading-old-kernels-by-placing-GDT-in-conventi.patch index 0cab3318..0efba39f 100644 --- a/0079-Allow-loading-old-kernels-by-placing-GDT-in-conventi.patch +++ b/0079-Allow-loading-old-kernels-by-placing-GDT-in-conventi.patch @@ -1,7 +1,7 @@ From 42c1756fd0ff7d94dcc8e9be2e429a2a976f6d41 Mon Sep 17 00:00:00 2001 From: Piotr Krysiuk Date: Sun, 20 Apr 2014 15:58:45 +0200 -Subject: [PATCH 079/140] Allow loading old kernels by placing GDT in +Subject: [PATCH 079/143] Allow loading old kernels by placing GDT in conventional memory. --- diff --git a/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch b/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch index 6943e6ed..aaa22286 100644 --- a/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch +++ b/0080-grub-core-kern-misc.c-__bzero-Don-t-compile-in-GRUB_.patch @@ -1,7 +1,7 @@ From ec4609b70a7deebf6381297aae95dd4bf05bd008 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 20 Apr 2014 16:12:41 +0200 -Subject: [PATCH 080/140] * grub-core/kern/misc.c (__bzero): Don't +Subject: [PATCH 080/143] * grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL. Reported by: Yves Blusseau . diff --git a/0081-grub-core-commands-verify.c-grub_pubkey_open-Fix-mem.patch b/0081-grub-core-commands-verify.c-grub_pubkey_open-Fix-mem.patch index 1e89d64d..67e8193c 100644 --- a/0081-grub-core-commands-verify.c-grub_pubkey_open-Fix-mem.patch +++ b/0081-grub-core-commands-verify.c-grub_pubkey_open-Fix-mem.patch @@ -1,7 +1,7 @@ From 4a307e8fe1298f88641a40c8a8008363aa4b9c17 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 12 May 2014 10:01:48 +0200 -Subject: [PATCH 081/140] * grub-core/commands/verify.c +Subject: [PATCH 081/143] * grub-core/commands/verify.c (grub_pubkey_open): Fix memdisk check. --- diff --git a/0082-grub-core-commands-verify.c-grub_pubkey_open-Trust-p.patch b/0082-grub-core-commands-verify.c-grub_pubkey_open-Trust-p.patch index a65bb264..5ad0e40f 100644 --- a/0082-grub-core-commands-verify.c-grub_pubkey_open-Trust-p.patch +++ b/0082-grub-core-commands-verify.c-grub_pubkey_open-Trust-p.patch @@ -1,7 +1,7 @@ From 61fdf8bebdeaed4b601f0eca847282780380191f Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 15 May 2014 14:36:48 +0200 -Subject: [PATCH 082/140] * grub-core/commands/verify.c +Subject: [PATCH 082/143] * grub-core/commands/verify.c (grub_pubkey_open): Trust procfs. --- diff --git a/0083-util-grub-gen-asciih.c-add_glyph-Fix-uninitialised-v.patch b/0083-util-grub-gen-asciih.c-add_glyph-Fix-uninitialised-v.patch index ab79e129..0189af43 100644 --- a/0083-util-grub-gen-asciih.c-add_glyph-Fix-uninitialised-v.patch +++ b/0083-util-grub-gen-asciih.c-add_glyph-Fix-uninitialised-v.patch @@ -1,7 +1,7 @@ From 473348e663de53939fc077a1e1ef262405712dd8 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Sat, 21 Jun 2014 20:26:47 +0200 -Subject: [PATCH 083/140] * util/grub-gen-asciih.c (add_glyph): Fix +Subject: [PATCH 083/143] * util/grub-gen-asciih.c (add_glyph): Fix uninitialised variable. --- diff --git a/0084-grub-core-commands-efi-lsefisystab.c-grub_cmd_lsefis.patch b/0084-grub-core-commands-efi-lsefisystab.c-grub_cmd_lsefis.patch index 9ce79235..5dc02491 100644 --- a/0084-grub-core-commands-efi-lsefisystab.c-grub_cmd_lsefis.patch +++ b/0084-grub-core-commands-efi-lsefisystab.c-grub_cmd_lsefis.patch @@ -1,7 +1,7 @@ From 9de53cc99ce4c8e404e645443d07324bd9cfc157 Mon Sep 17 00:00:00 2001 From: Stephane Rochoy Date: Sun, 22 Jun 2014 01:34:57 +0200 -Subject: [PATCH 084/140] * grub-core/commands/efi/lsefisystab.c +Subject: [PATCH 084/143] * grub-core/commands/efi/lsefisystab.c (grub_cmd_lsefisystab): Show EFI system table physical address. --- diff --git a/0085-grub-core-loader-i386-bsd.c-grub_netbsd_boot-Pass-po.patch b/0085-grub-core-loader-i386-bsd.c-grub_netbsd_boot-Pass-po.patch index 7e1091e0..5b06a4ed 100644 --- a/0085-grub-core-loader-i386-bsd.c-grub_netbsd_boot-Pass-po.patch +++ b/0085-grub-core-loader-i386-bsd.c-grub_netbsd_boot-Pass-po.patch @@ -1,7 +1,7 @@ From 3be166827cecb977ad47ac4d3d89ec92688307a4 Mon Sep 17 00:00:00 2001 From: Stephane Rochoy Date: Sun, 22 Jun 2014 01:35:52 +0200 -Subject: [PATCH 085/140] * grub-core/loader/i386/bsd.c +Subject: [PATCH 085/143] * grub-core/loader/i386/bsd.c (grub_netbsd_boot): Pass pointer to EFI system table. --- diff --git a/0086-util-grub-install.c-Fix-handling-of-disk-module.patch b/0086-util-grub-install.c-Fix-handling-of-disk-module.patch index 100c45cb..26c86f6d 100644 --- a/0086-util-grub-install.c-Fix-handling-of-disk-module.patch +++ b/0086-util-grub-install.c-Fix-handling-of-disk-module.patch @@ -1,7 +1,7 @@ From d45ed8a6bf7c0c0abacb268da1f6d569743f16a0 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Sun, 22 Jun 2014 01:45:11 +0200 -Subject: [PATCH 086/140] * util/grub-install.c: Fix handling of +Subject: [PATCH 086/143] * util/grub-install.c: Fix handling of --disk-module. --- diff --git a/0087-grub-core-commands-loadenv.c-check_blocklists-Fix-ov.patch b/0087-grub-core-commands-loadenv.c-check_blocklists-Fix-ov.patch index 24af60eb..57e46ef8 100644 --- a/0087-grub-core-commands-loadenv.c-check_blocklists-Fix-ov.patch +++ b/0087-grub-core-commands-loadenv.c-check_blocklists-Fix-ov.patch @@ -2,7 +2,7 @@ From a9c472a7eeec6816868dbccce6decaef3b3c62bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=20=D0=9F=D0=B5=D1=85=D0=BE?= =?UTF-8?q?=D0=B2?= Date: Sun, 22 Jun 2014 03:51:50 +0400 -Subject: [PATCH 087/140] * grub-core/commands/loadenv.c +Subject: [PATCH 087/143] * grub-core/commands/loadenv.c (check_blocklists): Fix overlap check. --- diff --git a/0088-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch b/0088-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch index c66b951a..4df5517c 100644 --- a/0088-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch +++ b/0088-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch @@ -1,7 +1,7 @@ From e4ecf3a1f8eef683feae27ed84c85eb8aeb79e11 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 28 Dec 2013 02:20:27 +0000 -Subject: [PATCH 088/140] * NEWS: The cmosclean command in fact dates back to +Subject: [PATCH 088/143] * NEWS: The cmosclean command in fact dates back to 1.99. Remove mention of it from 2.02. --- diff --git a/0089-Migrate-PPC-from-Yaboot-to-Grub2.patch b/0089-Migrate-PPC-from-Yaboot-to-Grub2.patch index 7c7b4989..0065544a 100644 --- a/0089-Migrate-PPC-from-Yaboot-to-Grub2.patch +++ b/0089-Migrate-PPC-from-Yaboot-to-Grub2.patch @@ -1,7 +1,7 @@ From f01392a68f7f20bcc064a7d28e10805509701c4d Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Wed, 28 Mar 2012 14:46:41 -0500 -Subject: [PATCH 089/140] Migrate PPC from Yaboot to Grub2 +Subject: [PATCH 089/143] Migrate PPC from Yaboot to Grub2 Add configuration support for serial terminal consoles. This will set the maximum screen size so that text is not overwritten. diff --git a/0090-Add-fw_path-variable-revised.patch b/0090-Add-fw_path-variable-revised.patch index ae25235f..5caff3f8 100644 --- a/0090-Add-fw_path-variable-revised.patch +++ b/0090-Add-fw_path-variable-revised.patch @@ -1,7 +1,7 @@ From 5bd3e1f888eeddc2575608516220ffa7b8270c7a Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 19 Sep 2012 21:22:55 -0300 -Subject: [PATCH 090/140] Add fw_path variable (revised) +Subject: [PATCH 090/143] Add fw_path variable (revised) This patch makes grub look for its config file on efi where the app was found. It was originally written by Matthew Garrett, and adapted to fix the diff --git a/0091-Add-support-for-linuxefi.patch b/0091-Add-support-for-linuxefi.patch index 7032b2b7..d3f4172b 100644 --- a/0091-Add-support-for-linuxefi.patch +++ b/0091-Add-support-for-linuxefi.patch @@ -1,7 +1,7 @@ From 70e7bfb2caa9d0f52187b4f6e84762c6459c5903 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Tue, 10 Jul 2012 11:58:52 -0400 -Subject: [PATCH 091/140] Add support for linuxefi +Subject: [PATCH 091/143] Add support for linuxefi --- grub-core/Makefile.core.def | 8 + diff --git a/0092-Use-linuxefi-and-initrdefi-where-appropriate.patch b/0092-Use-linuxefi-and-initrdefi-where-appropriate.patch index 3a1f33c7..e0e1cf26 100644 --- a/0092-Use-linuxefi-and-initrdefi-where-appropriate.patch +++ b/0092-Use-linuxefi-and-initrdefi-where-appropriate.patch @@ -1,7 +1,7 @@ From acc83cfa76a6457be73b1e748a80deb3967e2364 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 16 Jul 2012 18:57:11 -0400 -Subject: [PATCH 092/140] Use "linuxefi" and "initrdefi" where appropriate. +Subject: [PATCH 092/143] Use "linuxefi" and "initrdefi" where appropriate. --- util/grub.d/10_linux.in | 18 ++++++++++++++++-- diff --git a/0093-Don-t-allow-insmod-when-secure-boot-is-enabled.patch b/0093-Don-t-allow-insmod-when-secure-boot-is-enabled.patch index c27ae1f9..79eea04a 100644 --- a/0093-Don-t-allow-insmod-when-secure-boot-is-enabled.patch +++ b/0093-Don-t-allow-insmod-when-secure-boot-is-enabled.patch @@ -1,7 +1,7 @@ From fe7b32ab9e58470fdf930d8efc7c9ebcd69e6ef3 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 23 Oct 2012 10:40:49 -0400 -Subject: [PATCH 093/140] Don't allow insmod when secure boot is enabled. +Subject: [PATCH 093/143] Don't allow insmod when secure boot is enabled. Hi, diff --git a/0094-Pass-x-hex-hex-straight-through-unmolested.patch b/0094-Pass-x-hex-hex-straight-through-unmolested.patch index 0ca33694..83cf4838 100644 --- a/0094-Pass-x-hex-hex-straight-through-unmolested.patch +++ b/0094-Pass-x-hex-hex-straight-through-unmolested.patch @@ -1,7 +1,7 @@ From a4f335a93d417c7f51f715d55ae59621fc9772ad Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 1 Oct 2012 13:24:37 -0400 -Subject: [PATCH 094/140] Pass "\x[[:hex:]][[:hex:]]" straight through +Subject: [PATCH 094/143] Pass "\x[[:hex:]][[:hex:]]" straight through unmolested. --- diff --git a/0095-Fix-crash-on-http.patch b/0095-Fix-crash-on-http.patch index dcab15ff..cf87c9e7 100644 --- a/0095-Fix-crash-on-http.patch +++ b/0095-Fix-crash-on-http.patch @@ -1,7 +1,7 @@ From e5a51c7c96d347cd6cbb7a2aa11f5dd7358c802a Mon Sep 17 00:00:00 2001 From: Gustavo Luiz Duarte Date: Tue, 25 Sep 2012 18:40:55 -0400 -Subject: [PATCH 095/140] Fix crash on http +Subject: [PATCH 095/143] Fix crash on http Don't free file->data on receiving FIN flag since it is used all over without checking. http_close() will be called later to free that memory. diff --git a/0096-IBM-client-architecture-CAS-reboot-support.patch b/0096-IBM-client-architecture-CAS-reboot-support.patch index 0eb04386..93bb5253 100644 --- a/0096-IBM-client-architecture-CAS-reboot-support.patch +++ b/0096-IBM-client-architecture-CAS-reboot-support.patch @@ -1,7 +1,7 @@ From 9d1411ffa7290c1cbdc9ee95bb5fcc5506e63e0f Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Thu, 20 Sep 2012 18:07:39 -0300 -Subject: [PATCH 096/140] IBM client architecture (CAS) reboot support +Subject: [PATCH 096/143] IBM client architecture (CAS) reboot support This is an implementation of IBM client architecture (CAS) reboot for GRUB. diff --git a/0097-Add-vlan-tag-support.patch b/0097-Add-vlan-tag-support.patch index 3cc10134..dad2d5d8 100644 --- a/0097-Add-vlan-tag-support.patch +++ b/0097-Add-vlan-tag-support.patch @@ -1,7 +1,7 @@ From c987623113e2d03e80f0ba1e108bf0a800628f85 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 30 Oct 2012 15:19:39 -0200 -Subject: [PATCH 097/140] Add vlan-tag support +Subject: [PATCH 097/143] Add vlan-tag support This patch adds support for virtual LAN (VLAN) tagging. VLAN tagging allows multiple VLANs in a bridged network to share the same physical network link but diff --git a/0098-Add-X-option-to-printf-functions.patch b/0098-Add-X-option-to-printf-functions.patch index a25ee19a..88659507 100644 --- a/0098-Add-X-option-to-printf-functions.patch +++ b/0098-Add-X-option-to-printf-functions.patch @@ -1,7 +1,7 @@ From d7aaf1651f4b36721f73331753d017d33d7879b4 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 16:58:39 -0200 -Subject: [PATCH 098/140] Add %X option to printf functions. +Subject: [PATCH 098/143] Add %X option to printf functions. --- grub-core/kern/misc.c | 7 +++++-- diff --git a/0099-DHCP-client-ID-and-UUID-options-added.patch b/0099-DHCP-client-ID-and-UUID-options-added.patch index 09f27177..16990247 100644 --- a/0099-DHCP-client-ID-and-UUID-options-added.patch +++ b/0099-DHCP-client-ID-and-UUID-options-added.patch @@ -1,7 +1,7 @@ From 2f3846a557e4ddf83f44e166d959ee460bedf8e1 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 17:18:53 -0200 -Subject: [PATCH 099/140] DHCP client ID and UUID options added. +Subject: [PATCH 099/143] DHCP client ID and UUID options added. --- grub-core/net/bootp.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++----- diff --git a/0100-Search-for-specific-config-file-for-netboot.patch b/0100-Search-for-specific-config-file-for-netboot.patch index 0283e697..26163831 100644 --- a/0100-Search-for-specific-config-file-for-netboot.patch +++ b/0100-Search-for-specific-config-file-for-netboot.patch @@ -1,7 +1,7 @@ From bf19a1e123fd09552165bd0d2b19ccf438c0a46c Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 17:22:07 -0200 -Subject: [PATCH 100/140] Search for specific config file for netboot +Subject: [PATCH 100/143] Search for specific config file for netboot This patch implements a search for a specific configuration when the config file is on a remoteserver. It uses the following order: diff --git a/0101-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch b/0101-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch index 9f6c1bfb..b7dc5dce 100644 --- a/0101-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch +++ b/0101-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch @@ -1,7 +1,7 @@ From ddfb160353df14e9f88affe7498512a553146872 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Tue, 22 Jan 2013 06:31:38 +0100 -Subject: [PATCH 101/140] blscfg: add blscfg module to parse Boot Loader +Subject: [PATCH 101/143] blscfg: add blscfg module to parse Boot Loader Specification snippets http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec diff --git a/0102-Move-bash-completion-script-922997.patch b/0102-Move-bash-completion-script-922997.patch index 180e2744..97d882bd 100644 --- a/0102-Move-bash-completion-script-922997.patch +++ b/0102-Move-bash-completion-script-922997.patch @@ -1,7 +1,7 @@ From f60046d87e55646d36c21520c5f6391c184ec8ad Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 3 Apr 2013 14:35:34 -0400 -Subject: [PATCH 102/140] Move bash completion script (#922997) +Subject: [PATCH 102/143] Move bash completion script (#922997) Apparently these go in a new place now. --- diff --git a/0103-for-ppc-reset-console-display-attr-when-clear-screen.patch b/0103-for-ppc-reset-console-display-attr-when-clear-screen.patch index aad42fb3..0bbfabcb 100644 --- a/0103-for-ppc-reset-console-display-attr-when-clear-screen.patch +++ b/0103-for-ppc-reset-console-display-attr-when-clear-screen.patch @@ -1,7 +1,7 @@ From e52a5b66e765740deea4dbd201ab802c408184b9 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 24 Apr 2013 10:51:48 -0300 -Subject: [PATCH 103/140] for ppc, reset console display attr when clear screen +Subject: [PATCH 103/143] for ppc, reset console display attr when clear screen This should fix this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=908519 diff --git a/0104-Don-t-write-messages-to-the-screen.patch b/0104-Don-t-write-messages-to-the-screen.patch index b020cbc3..c3bb21c8 100644 --- a/0104-Don-t-write-messages-to-the-screen.patch +++ b/0104-Don-t-write-messages-to-the-screen.patch @@ -1,7 +1,7 @@ From 0ee337319fc8c21da04bca1cabb51b3445dba3fd Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 13:30:20 -0400 -Subject: [PATCH 104/140] Don't write messages to the screen +Subject: [PATCH 104/143] Don't write messages to the screen Writing messages to the screen before the menus or boot splash happens so quickly it looks like something is wrong and isn't diff --git a/0105-Don-t-print-GNU-GRUB-header.patch b/0105-Don-t-print-GNU-GRUB-header.patch index 7e034d98..5ae2b7e1 100644 --- a/0105-Don-t-print-GNU-GRUB-header.patch +++ b/0105-Don-t-print-GNU-GRUB-header.patch @@ -1,7 +1,7 @@ From e3cabcd95237fadbad8e6a0e36222d97d16b5365 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 13:53:48 -0400 -Subject: [PATCH 105/140] Don't print GNU GRUB header +Subject: [PATCH 105/143] Don't print GNU GRUB header No one cares. --- diff --git a/0106-Don-t-add-to-highlighted-row.patch b/0106-Don-t-add-to-highlighted-row.patch index 393f63c4..e1bcb39e 100644 --- a/0106-Don-t-add-to-highlighted-row.patch +++ b/0106-Don-t-add-to-highlighted-row.patch @@ -1,7 +1,7 @@ From c89f05d148a1a1416513d22f62d23504b35dd230 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 17:49:45 -0400 -Subject: [PATCH 106/140] Don't add '*' to highlighted row +Subject: [PATCH 106/143] Don't add '*' to highlighted row It is already highlighted. --- diff --git a/0107-Message-string-cleanups.patch b/0107-Message-string-cleanups.patch index ebc6a72b..2c71592b 100644 --- a/0107-Message-string-cleanups.patch +++ b/0107-Message-string-cleanups.patch @@ -1,7 +1,7 @@ From 6c33a9b3a96a5e8c782a8eef97f5d95a3a542921 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 11:09:04 -0400 -Subject: [PATCH 107/140] Message string cleanups +Subject: [PATCH 107/143] Message string cleanups Make use of terminology consistent. Remove jargon. --- diff --git a/0108-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch b/0108-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch index 911c39d1..7d1da282 100644 --- a/0108-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch +++ b/0108-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch @@ -1,7 +1,7 @@ From 6227514ebbfcf1744060eb4bf1b39b669221809d Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:08:23 -0400 -Subject: [PATCH 108/140] Fix border spacing now that we aren't displaying it +Subject: [PATCH 108/143] Fix border spacing now that we aren't displaying it --- grub-core/normal/menu_text.c | 6 +++--- diff --git a/0109-Use-the-correct-indentation-for-the-term-help-text.patch b/0109-Use-the-correct-indentation-for-the-term-help-text.patch index 245d9d16..6911db2d 100644 --- a/0109-Use-the-correct-indentation-for-the-term-help-text.patch +++ b/0109-Use-the-correct-indentation-for-the-term-help-text.patch @@ -1,7 +1,7 @@ From 9cc9edb600ad1acc1598910ed95a8482ff3de6e2 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:08:49 -0400 -Subject: [PATCH 109/140] Use the correct indentation for the term help text +Subject: [PATCH 109/143] Use the correct indentation for the term help text That is consistent with the menu help text --- diff --git a/0110-Indent-menu-entries.patch b/0110-Indent-menu-entries.patch index c21770af..7930d764 100644 --- a/0110-Indent-menu-entries.patch +++ b/0110-Indent-menu-entries.patch @@ -1,7 +1,7 @@ From e52c695e09447f6fbc51c23f1745d50c6db5c7b8 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:30:55 -0400 -Subject: [PATCH 110/140] Indent menu entries +Subject: [PATCH 110/143] Indent menu entries --- grub-core/normal/menu_text.c | 3 ++- diff --git a/0111-Fix-margins.patch b/0111-Fix-margins.patch index 1e210f7b..3c7c493d 100644 --- a/0111-Fix-margins.patch +++ b/0111-Fix-margins.patch @@ -1,7 +1,7 @@ From a623d490ea6a94cc7db68400d3fea5b0c25ccb9c Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:59:36 -0400 -Subject: [PATCH 111/140] Fix margins +Subject: [PATCH 111/143] Fix margins --- grub-core/normal/menu_text.c | 8 +++----- diff --git a/0112-Add-support-for-UEFI-operating-systems-returned-by-o.patch b/0112-Add-support-for-UEFI-operating-systems-returned-by-o.patch index 9a2c7f0e..c8dd53a8 100644 --- a/0112-Add-support-for-UEFI-operating-systems-returned-by-o.patch +++ b/0112-Add-support-for-UEFI-operating-systems-returned-by-o.patch @@ -1,7 +1,7 @@ From 5980cac9e0320a3eb65e7fb73487a565d21361da Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Wed, 12 Jun 2013 11:51:49 -0400 -Subject: [PATCH 112/140] Add support for UEFI operating systems returned by +Subject: [PATCH 112/143] Add support for UEFI operating systems returned by os-prober os-prober returns UEFI operating systems in the form: diff --git a/0113-Disable-GRUB-video-support-for-IBM-power-machines.patch b/0113-Disable-GRUB-video-support-for-IBM-power-machines.patch index 91579830..664682fa 100644 --- a/0113-Disable-GRUB-video-support-for-IBM-power-machines.patch +++ b/0113-Disable-GRUB-video-support-for-IBM-power-machines.patch @@ -1,7 +1,7 @@ From 3fd909cbba26f1f76a64aa095937b00cd1785570 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 11 Jun 2013 15:14:05 -0300 -Subject: [PATCH 113/140] Disable GRUB video support for IBM power machines +Subject: [PATCH 113/143] Disable GRUB video support for IBM power machines Should fix the problem in bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=973205 diff --git a/0114-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch b/0114-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch index 43a9bb35..c7347407 100644 --- a/0114-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch +++ b/0114-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch @@ -1,7 +1,7 @@ From 6550cd89b1dee8c9ad866cbf10bf72dc2ff8a8bc Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 21 Jun 2013 14:44:08 -0400 -Subject: [PATCH 114/140] Use -2 instead of -1 for our right-hand margin, so +Subject: [PATCH 114/143] Use -2 instead of -1 for our right-hand margin, so linewrapping works (#976643). Signed-off-by: Peter Jones diff --git a/0115-Use-linux16-when-appropriate-880840.patch b/0115-Use-linux16-when-appropriate-880840.patch index aeeba477..6cef47e5 100644 --- a/0115-Use-linux16-when-appropriate-880840.patch +++ b/0115-Use-linux16-when-appropriate-880840.patch @@ -1,7 +1,7 @@ From ba749818b7a53df63d887cb17497f82c78ca934c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:05:07 -0400 -Subject: [PATCH 115/140] Use linux16 when appropriate (#880840) +Subject: [PATCH 115/143] Use linux16 when appropriate (#880840) The kernel group really would prefer that we use the 16 bit entry point on x86 bios machines. diff --git a/0116-Enable-pager-by-default.-985860.patch b/0116-Enable-pager-by-default.-985860.patch index f35b8f04..f300fb80 100644 --- a/0116-Enable-pager-by-default.-985860.patch +++ b/0116-Enable-pager-by-default.-985860.patch @@ -1,7 +1,7 @@ From 26f2fbd4fb424ad097ea99578864ae526b79f732 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:09:27 -0400 -Subject: [PATCH 116/140] Enable pager by default. (#985860) +Subject: [PATCH 116/143] Enable pager by default. (#985860) Signed-off-by: Peter Jones --- diff --git a/0117-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch b/0117-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch index 4de90218..0baa67a1 100644 --- a/0117-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch +++ b/0117-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch @@ -1,7 +1,7 @@ From 3e8fad7dba63db810a9626d472de5270b2d1bb75 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:13:27 -0400 -Subject: [PATCH 117/140] F10 doesn't work on serial, so don't tell the user to +Subject: [PATCH 117/143] F10 doesn't work on serial, so don't tell the user to hit it (#987443) Signed-off-by: Peter Jones diff --git a/0118-Don-t-say-GNU-Linux-in-generated-menus.patch b/0118-Don-t-say-GNU-Linux-in-generated-menus.patch index a489c73f..ba22a7ff 100644 --- a/0118-Don-t-say-GNU-Linux-in-generated-menus.patch +++ b/0118-Don-t-say-GNU-Linux-in-generated-menus.patch @@ -1,7 +1,7 @@ From 03d405d9b503c435f3a975c5789a0bda9650a753 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 14 Mar 2011 14:27:42 -0400 -Subject: [PATCH 118/140] Don't say "GNU/Linux" in generated menus. +Subject: [PATCH 118/143] Don't say "GNU/Linux" in generated menus. --- util/grub.d/10_linux.in | 4 ++-- diff --git a/0119-Don-t-draw-a-border-around-the-menu.patch b/0119-Don-t-draw-a-border-around-the-menu.patch index 8c1cf93d..34e0d66b 100644 --- a/0119-Don-t-draw-a-border-around-the-menu.patch +++ b/0119-Don-t-draw-a-border-around-the-menu.patch @@ -1,7 +1,7 @@ From 6bf4deb61df3ecb1e2d108195efa5ac980baa961 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 16:47:33 -0400 -Subject: [PATCH 119/140] Don't draw a border around the menu +Subject: [PATCH 119/143] Don't draw a border around the menu It looks cleaner without it. --- diff --git a/0120-Use-the-standard-margin-for-the-timeout-string.patch b/0120-Use-the-standard-margin-for-the-timeout-string.patch index 76516c6d..4d3af1e4 100644 --- a/0120-Use-the-standard-margin-for-the-timeout-string.patch +++ b/0120-Use-the-standard-margin-for-the-timeout-string.patch @@ -1,7 +1,7 @@ From a3e6964bd3242bd042489bb510e63fc0224fede4 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 10:52:32 -0400 -Subject: [PATCH 120/140] Use the standard margin for the timeout string +Subject: [PATCH 120/143] Use the standard margin for the timeout string So that it aligns with the other messages --- diff --git a/0121-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch b/0121-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch index 05293d92..37e91be7 100644 --- a/0121-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch +++ b/0121-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch @@ -1,7 +1,7 @@ From a7a033ed92a55dd44314ed20f720a3d32fa9c684 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 10 Jan 2014 09:36:24 -0500 -Subject: [PATCH 121/140] Fix grub_script_execute_sourcecode() usage on ppc. +Subject: [PATCH 121/143] Fix grub_script_execute_sourcecode() usage on ppc. 593e430c made it not take the extra argc/argv that this code still passes it. diff --git a/0122-Add-.eh_frame-to-list-of-relocations-stripped.patch b/0122-Add-.eh_frame-to-list-of-relocations-stripped.patch index 921055de..cfc5ec34 100644 --- a/0122-Add-.eh_frame-to-list-of-relocations-stripped.patch +++ b/0122-Add-.eh_frame-to-list-of-relocations-stripped.patch @@ -1,7 +1,7 @@ From 9120cc5592d26a945ead586b71820fb9708f5062 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Mon, 13 Jan 2014 21:50:59 -0500 -Subject: [PATCH 122/140] Add .eh_frame to list of relocations stripped +Subject: [PATCH 122/143] Add .eh_frame to list of relocations stripped --- conf/Makefile.common | 2 +- diff --git a/0123-Make-10_linux-work-with-our-changes-for-linux16-and-.patch b/0123-Make-10_linux-work-with-our-changes-for-linux16-and-.patch index 41e2a1dc..0d77e705 100644 --- a/0123-Make-10_linux-work-with-our-changes-for-linux16-and-.patch +++ b/0123-Make-10_linux-work-with-our-changes-for-linux16-and-.patch @@ -1,7 +1,7 @@ From 1c9518bb506f8f4fa6b388571c76797705e7b566 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 14 Jan 2014 13:12:23 -0500 -Subject: [PATCH 123/140] Make 10_linux work with our changes for linux16 and +Subject: [PATCH 123/143] Make 10_linux work with our changes for linux16 and linuxefi on aarch64 Signed-off-by: Peter Jones diff --git a/0124-Don-t-print-during-fdt-loading-method.patch b/0124-Don-t-print-during-fdt-loading-method.patch index d2783a45..8bf41918 100644 --- a/0124-Don-t-print-during-fdt-loading-method.patch +++ b/0124-Don-t-print-during-fdt-loading-method.patch @@ -1,7 +1,7 @@ From aa8c71086da3a28382b8bd958bac1c5d3b2b2be3 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 14 Jan 2014 16:15:46 -0500 -Subject: [PATCH 124/140] Don't print during fdt loading method. +Subject: [PATCH 124/143] Don't print during fdt loading method. Signed-off-by: Peter Jones --- diff --git a/0125-Honor-a-symlink-when-generating-configuration-by-gru.patch b/0125-Honor-a-symlink-when-generating-configuration-by-gru.patch index 1abbfa63..1958333d 100644 --- a/0125-Honor-a-symlink-when-generating-configuration-by-gru.patch +++ b/0125-Honor-a-symlink-when-generating-configuration-by-gru.patch @@ -1,7 +1,7 @@ From 37ad82c4f11e293e30eea26302624691e80f19b8 Mon Sep 17 00:00:00 2001 From: Marcel Kolaja Date: Tue, 21 Jan 2014 10:57:08 -0500 -Subject: [PATCH 125/140] Honor a symlink when generating configuration by +Subject: [PATCH 125/143] Honor a symlink when generating configuration by grub2-mkconfig Honor a symlink when generating configuration by grub2-mkconfig, so that diff --git a/0126-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch b/0126-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch index e6ea9888..ea0ac8ea 100644 --- a/0126-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch +++ b/0126-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch @@ -1,7 +1,7 @@ From ee6df3680adbe2bb8165c98ed0e39f6258cd873e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 30 Jun 2014 14:16:46 -0400 -Subject: [PATCH 126/140] Don't munge raw spaces when we're doing our cmdline +Subject: [PATCH 126/143] Don't munge raw spaces when we're doing our cmdline escaping (#923374) Signed-off-by: Peter Jones diff --git a/0127-Don-t-require-a-password-to-boot-entries-generated-b.patch b/0127-Don-t-require-a-password-to-boot-entries-generated-b.patch index 45031d36..94ed88d6 100644 --- a/0127-Don-t-require-a-password-to-boot-entries-generated-b.patch +++ b/0127-Don-t-require-a-password-to-boot-entries-generated-b.patch @@ -1,7 +1,7 @@ From 0ce7596ab544955073318a4ed650d7d0615b933e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 11 Feb 2014 11:14:50 -0500 -Subject: [PATCH 127/140] Don't require a password to boot entries generated by +Subject: [PATCH 127/143] Don't require a password to boot entries generated by grub-mkconfig. When we set a password, we just want that to mean you can't /edit/ an entry. diff --git a/0128-Don-t-emit-Booting-.-message.patch b/0128-Don-t-emit-Booting-.-message.patch index a8b73ecf..c7b26c64 100644 --- a/0128-Don-t-emit-Booting-.-message.patch +++ b/0128-Don-t-emit-Booting-.-message.patch @@ -1,7 +1,7 @@ From 34f60bd4d04b142667c5fc0a4287b118834e71bb Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 18 Feb 2014 09:37:49 -0500 -Subject: [PATCH 128/140] Don't emit "Booting ..." message. +Subject: [PATCH 128/143] Don't emit "Booting ..." message. UI team still hates this stuff, so we're disabling it for RHEL 7. diff --git a/0129-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch b/0129-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch index fd8e5570..cb00dcce 100644 --- a/0129-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch +++ b/0129-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch @@ -1,7 +1,7 @@ From fe42ce5fc9eec355027a533861dfe7f2eeefc63c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 3 Feb 2014 15:21:46 -0500 -Subject: [PATCH 129/140] Make CTRL and ALT keys work as expected on EFI +Subject: [PATCH 129/143] Make CTRL and ALT keys work as expected on EFI systems (version 5). This is version 4. diff --git a/0130-May-as-well-try-it.patch b/0130-May-as-well-try-it.patch index 8a6bfcc9..f8b611d8 100644 --- a/0130-May-as-well-try-it.patch +++ b/0130-May-as-well-try-it.patch @@ -1,7 +1,7 @@ From bd4b1ae40c743174fc0236851855dfaf6094f875 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 4 Mar 2014 11:00:23 -0500 -Subject: [PATCH 130/140] May as well try it. +Subject: [PATCH 130/143] May as well try it. --- conf/Makefile.extra-dist | 1 - diff --git a/0131-use-fw_path-prefix-when-fallback-searching-for-grub-.patch b/0131-use-fw_path-prefix-when-fallback-searching-for-grub-.patch index 6a5f0e13..20f0daec 100644 --- a/0131-use-fw_path-prefix-when-fallback-searching-for-grub-.patch +++ b/0131-use-fw_path-prefix-when-fallback-searching-for-grub-.patch @@ -1,7 +1,7 @@ From d60083bf794914c4f26f561adcdd107abe80cd7e Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Wed, 19 Feb 2014 15:58:43 -0500 -Subject: [PATCH 131/140] use fw_path prefix when fallback searching for grub +Subject: [PATCH 131/143] use fw_path prefix when fallback searching for grub config When PXE booting via UEFI firmware, grub was searching for grub.cfg diff --git a/0132-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch b/0132-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch index d9f58ad9..23874fc6 100644 --- a/0132-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch +++ b/0132-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch @@ -1,7 +1,7 @@ From 2927c4943326f09bd626744b8a46fc8ee16fea1c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 6 Mar 2014 11:51:33 -0500 -Subject: [PATCH 132/140] Try mac/guid/etc before grub.cfg on tftp config +Subject: [PATCH 132/143] Try mac/guid/etc before grub.cfg on tftp config files. Signed-off-by: Peter Jones diff --git a/0133-trim-arp-packets-with-abnormal-size.patch b/0133-trim-arp-packets-with-abnormal-size.patch index 884aa753..8887866f 100644 --- a/0133-trim-arp-packets-with-abnormal-size.patch +++ b/0133-trim-arp-packets-with-abnormal-size.patch @@ -1,7 +1,7 @@ From cf2e819b7059f199075b099260983e8108eea74a Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 5 Feb 2014 09:42:42 -0200 -Subject: [PATCH 133/140] trim arp packets with abnormal size +Subject: [PATCH 133/143] trim arp packets with abnormal size GRUB uses arp request to create the arp response. If the incoming packet is foobared, GRUB needs to trim the arp response packet before sending it. diff --git a/0134-Fix-convert-function-to-support-NVMe-devices.patch b/0134-Fix-convert-function-to-support-NVMe-devices.patch index 62617be1..a5b9f8d9 100644 --- a/0134-Fix-convert-function-to-support-NVMe-devices.patch +++ b/0134-Fix-convert-function-to-support-NVMe-devices.patch @@ -1,7 +1,7 @@ From f451ce261bcdb24d3428daac54e32e06c698e2f7 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 18 Feb 2014 11:34:00 -0500 -Subject: [PATCH 134/140] Fix convert function to support NVMe devices +Subject: [PATCH 134/143] Fix convert function to support NVMe devices This is adapted from the patch at https://bugzilla.redhat.com/show_bug.cgi?id=1019660 , which is against diff --git a/0135-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch b/0135-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch index 0e8e2633..afeabe83 100644 --- a/0135-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch +++ b/0135-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch @@ -1,7 +1,7 @@ From da07b568a45d2c87ab2f6e498f0e304c73c5d195 Mon Sep 17 00:00:00 2001 From: Prarit Bhargava Date: Wed, 12 Mar 2014 10:58:16 -0400 -Subject: [PATCH 135/140] Fix bad test on GRUB_DISABLE_SUBMENU. +Subject: [PATCH 135/143] Fix bad test on GRUB_DISABLE_SUBMENU. The file /etc/grub.d/10_linux does diff --git a/0136-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch b/0136-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch index 74065947..13dfa37b 100644 --- a/0136-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch +++ b/0136-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch @@ -1,7 +1,7 @@ From e7ba5525f976930b792c91132eb5ec96c5379797 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Mon, 10 Feb 2014 16:13:10 -0500 -Subject: [PATCH 136/140] Switch to use APM Mustang device tree, for hardware +Subject: [PATCH 136/143] Switch to use APM Mustang device tree, for hardware testing. Signed-off-by: David A. Marlin diff --git a/0137-Use-the-default-device-tree-from-the-grub-default-fi.patch b/0137-Use-the-default-device-tree-from-the-grub-default-fi.patch index 32096161..32d7b616 100644 --- a/0137-Use-the-default-device-tree-from-the-grub-default-fi.patch +++ b/0137-Use-the-default-device-tree-from-the-grub-default-fi.patch @@ -1,7 +1,7 @@ From 5f1ee8ff7170321250874116eb80cbec83cc70ab Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Wed, 12 Feb 2014 14:54:04 -0500 -Subject: [PATCH 137/140] Use the default device tree from the grub default +Subject: [PATCH 137/143] Use the default device tree from the grub default file instead of hardcoding a value. diff --git a/0138-reopen-SNP-protocol-for-exclusive-use-by-grub.patch b/0138-reopen-SNP-protocol-for-exclusive-use-by-grub.patch index 6412f626..1690be3c 100644 --- a/0138-reopen-SNP-protocol-for-exclusive-use-by-grub.patch +++ b/0138-reopen-SNP-protocol-for-exclusive-use-by-grub.patch @@ -1,7 +1,7 @@ From f4bbb76f70ceca4e089e926ee44d8d3fe919f040 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Sat, 15 Feb 2014 15:10:22 -0500 -Subject: [PATCH 138/140] reopen SNP protocol for exclusive use by grub +Subject: [PATCH 138/143] reopen SNP protocol for exclusive use by grub --- grub-core/net/drivers/efi/efinet.c | 16 ++++++++++++++++ diff --git a/0139-Reduce-timer-event-frequency-by-10.patch b/0139-Reduce-timer-event-frequency-by-10.patch index 01403b13..df6e3853 100644 --- a/0139-Reduce-timer-event-frequency-by-10.patch +++ b/0139-Reduce-timer-event-frequency-by-10.patch @@ -1,7 +1,7 @@ From 3aed1012cb8f559a0241569d6ec6b1be23844b05 Mon Sep 17 00:00:00 2001 From: Mark Salter Date: Thu, 20 Feb 2014 12:54:52 -0500 -Subject: [PATCH 139/140] Reduce timer event frequency by 10 +Subject: [PATCH 139/143] Reduce timer event frequency by 10 Timer event to keep grub msec counter was running at 1000HZ. This was too fast for UEFI timer driver and resulted in a 10x slowdown in grub time diff --git a/0140-always-return-error-to-UEFI.patch b/0140-always-return-error-to-UEFI.patch index b53f2708..78ffebf2 100644 --- a/0140-always-return-error-to-UEFI.patch +++ b/0140-always-return-error-to-UEFI.patch @@ -1,7 +1,7 @@ From 36a34ede9dfa34840c59c7b331c1bc8d8ae7442e Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Wed, 26 Feb 2014 21:49:12 -0500 -Subject: [PATCH 140/140] always return error to UEFI +Subject: [PATCH 140/143] always return error to UEFI --- grub-core/kern/efi/efi.c | 2 +- diff --git a/0141-Add-powerpc-little-endian-ppc64le-flags.patch b/0141-Add-powerpc-little-endian-ppc64le-flags.patch new file mode 100644 index 00000000..0a5460d9 --- /dev/null +++ b/0141-Add-powerpc-little-endian-ppc64le-flags.patch @@ -0,0 +1,96 @@ +From 8014cad21bb2cc986f10f0a927036851f490a8ec Mon Sep 17 00:00:00 2001 +From: Paulo Flabiano Smorigo +Date: Wed, 13 Aug 2014 18:59:58 +0000 +Subject: [PATCH 141/143] Add powerpc little-endian (ppc64le) flags + +libgcc dependency was removed *just* for this target because +the distros that use ppc64el doesn't have 32-bit support on it. + +* configure.ac: Add targets for powerpc64el and skip libgcc. +* Makefile.am: Likewise. +--- + configure.ac | 17 +++++++++++++++-- + grub-core/Makefile.am | 2 ++ + 2 files changed, 17 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2632e2d..53fd7c7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -142,6 +142,7 @@ if test "x$with_platform" = x; then + x86_64-*) platform=pc ;; + powerpc-*) platform=ieee1275 ;; + powerpc64-*) platform=ieee1275 ;; ++ powerpc64le-*) platform=ieee1275 ;; + sparc64-*) platform=ieee1275 ;; + mipsel-*) platform=loongson ;; + mips-*) platform=arc ;; +@@ -160,6 +161,7 @@ case "$target_cpu"-"$platform" in + x86_64-xen) ;; + x86_64-*) target_cpu=i386 ;; + powerpc64-ieee1275) target_cpu=powerpc ;; ++ powerpc64le-ieee1275) target_cpu=powerpc ;; + esac + + # Check if the platform is supported, make final adjustments. +@@ -604,6 +606,13 @@ if test "x$target_cpu" = xi386 && test "x$platform" != xemu; then + TARGET_CFLAGS="$TARGET_CFLAGS -march=i386" + fi + ++if test x$target_cpu = xpowerpc && test x$ac_cv_c_bigendian = xno; then ++ LD_FORCE_LE=1 ++ TARGET_CFLAGS="$TARGET_CFLAGS -mbig-endian -DNO_LIBGCC=1" ++ TARGET_CCASFLAGS="$TARGET_CCASFLAGS -mbig-endian" ++ TARGET_LDFLAGS="$TARGET_LDFLAGS -static -mbig-endian" ++fi ++ + if test "x$target_m32" = x1; then + # Force 32-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m32" +@@ -1047,7 +1056,8 @@ else + CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" + fi + CPPFLAGS="$TARGET_CPPFLAGS" +-if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 || test "x$grub_cv_cc_target_clang" = xyes ; then ++if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 || test "x$grub_cv_cc_target_clang" = xyes \ ++ || ( test x$target_cpu = xpowerpc && test x$ac_cv_c_bigendian = xno ); then + TARGET_LIBGCC= + else + TARGET_LIBGCC=-lgcc +@@ -1631,7 +1641,9 @@ if test x"$enable_werror" != xno ; then + HOST_CFLAGS="$HOST_CFLAGS -Werror" + fi + +-if test "x$grub_cv_cc_target_clang" = xno; then ++# if not clang or power LE, use static libgcc ++if test "x$grub_cv_cc_target_clang" = xno \ ++ || ! ( test x$target_cpu = xpowerpc && test x$ac_cv_c_bigendian = xno ); then + TARGET_LDFLAGS_STATIC_LIBGCC="-static-libgcc" + else + TARGET_LDFLAGS_STATIC_LIBGCC= +@@ -1694,6 +1706,7 @@ AM_CONDITIONAL([COND_mips_arc], [test "(" x$target_cpu = xmips -o x$target_cpu = + AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275]) + AM_CONDITIONAL([COND_sparc64_emu], [test x$target_cpu = xsparc64 -a x$platform = xemu]) + AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275]) ++AM_CONDITIONAL([COND_powerpc_le], [test x$target_cpu = xpowerpc -a x$ac_cv_c_bigendian = xno]) + AM_CONDITIONAL([COND_mips], [test x$target_cpu = xmips -o x$target_cpu = xmipsel]) + AM_CONDITIONAL([COND_mipsel], [test x$target_cpu = xmipsel]) + AM_CONDITIONAL([COND_mipseb], [test x$target_cpu = xmips]) +diff --git a/grub-core/Makefile.am b/grub-core/Makefile.am +index 5c087c8..cb7fd9f 100644 +--- a/grub-core/Makefile.am ++++ b/grub-core/Makefile.am +@@ -84,8 +84,10 @@ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/time.h + KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/mm_private.h + KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/net.h + if !COND_clang ++if !COND_powerpc_le + KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/libgcc.h + endif ++endif + KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/memory.h + + if COND_i386_pc +-- +1.9.3 + diff --git a/0142-Files-reorganization-and-include-some-libgcc-fuction.patch b/0142-Files-reorganization-and-include-some-libgcc-fuction.patch new file mode 100644 index 00000000..9d345948 --- /dev/null +++ b/0142-Files-reorganization-and-include-some-libgcc-fuction.patch @@ -0,0 +1,439 @@ +From a4ea9134214da4801400129cdf7108a5f9e98a10 Mon Sep 17 00:00:00 2001 +From: Paulo Flabiano Smorigo +Date: Wed, 13 Aug 2014 19:00:19 +0000 +Subject: [PATCH 142/143] Files reorganization and include some libgcc fuctions + +As we avoid libgcc dependency for powerpc64el, we moved some functions +to other files and add the necessary ones. + +* Makefile.core.def: Include compiler-rt.S. +* misc.c: Add the necessary libgcc functions. +* compiler-rt.S: New file. +* libgcc.h: Move some content from here ... +* compiler.h: ... to here. + +Also-By: Brent Baude +Also-By: Vladimir 'phcoder' Serbinenko +--- + grub-core/Makefile.core.def | 1 + + grub-core/kern/misc.c | 107 ++++++++++++++++++++++++++++ + grub-core/kern/powerpc/compiler-rt.S | 130 +++++++++++++++++++++++++++++++++++ + include/grub/compiler.h | 61 ++++++++++++++++ + include/grub/libgcc.h | 67 ------------------ + 5 files changed, 299 insertions(+), 67 deletions(-) + create mode 100644 grub-core/kern/powerpc/compiler-rt.S + +diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def +index 7bf1c8a..9ff9ae5 100644 +--- a/grub-core/Makefile.core.def ++++ b/grub-core/Makefile.core.def +@@ -252,6 +252,7 @@ kernel = { + + powerpc_ieee1275 = kern/powerpc/cache.S; + powerpc_ieee1275 = kern/powerpc/dl.c; ++ powerpc_ieee1275 = kern/powerpc/compiler-rt.S; + + sparc64_ieee1275 = kern/sparc64/cache.S; + sparc64_ieee1275 = kern/sparc64/dl.c; +diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c +index a56cfe7..a3e5056 100644 +--- a/grub-core/kern/misc.c ++++ b/grub-core/kern/misc.c +@@ -1345,3 +1345,110 @@ grub_real_boot_time (const char *file, + grub_error_pop (); + } + #endif ++ ++#if defined (NO_LIBGCC) ++ ++/* Based on libgcc2.c from gcc suite. */ ++int ++__ucmpdi2 (grub_uint64_t a, grub_uint64_t b) ++{ ++ union component64 ac, bc; ++ ac.full = a; ++ bc.full = b; ++ ++ if (ac.high < bc.high) ++ return 0; ++ else if (ac.high > bc.high) ++ return 2; ++ ++ if (ac.low < bc.low) ++ return 0; ++ else if (ac.low > bc.low) ++ return 2; ++ return 1; ++} ++ ++ ++/* Based on libgcc2.c from gcc suite. */ ++grub_uint64_t ++__lshrdi3 (grub_uint64_t u, int b) ++{ ++ if (b == 0) ++ return u; ++ ++ const union component64 uu = {.full = u}; ++ const int bm = 32 - b; ++ union component64 w; ++ ++ if (bm <= 0) ++ { ++ w.high = 0; ++ w.low = (grub_uint32_t) uu.high >> -bm; ++ } ++ else ++ { ++ const grub_uint32_t carries = (grub_uint32_t) uu.high << bm; ++ ++ w.high = (grub_uint32_t) uu.high >> b; ++ w.low = ((grub_uint32_t) uu.low >> b) | carries; ++ } ++ ++ return w.full; ++} ++ ++/* Based on libgcc2.c from gcc suite. */ ++grub_uint64_t ++__ashrdi3 (grub_uint64_t u, int b) ++{ ++ if (b == 0) ++ return u; ++ ++ const union component64 uu = {.full = u}; ++ const int bm = 32 - b; ++ union component64 w; ++ ++ if (bm <= 0) ++ { ++ /* w.high = 1..1 or 0..0 */ ++ w.high = uu.high >> (32 - 1); ++ w.low = uu.high >> -bm; ++ } ++ else ++ { ++ const grub_uint32_t carries = (grub_uint32_t) uu.high << bm; ++ ++ w.high = uu.high >> b; ++ w.low = ((grub_uint32_t) uu.low >> b) | carries; ++ } ++ ++ return w.full; ++} ++ ++/* Based on libgcc2.c from gcc suite. */ ++grub_uint64_t ++__ashldi3 (grub_uint64_t u, int b) ++{ ++ if (b == 0) ++ return u; ++ ++ const union component64 uu = {.full = u}; ++ const int bm = 32 - b; ++ union component64 w; ++ ++ if (bm <= 0) ++ { ++ w.low = 0; ++ w.high = (grub_uint32_t) uu.low << -bm; ++ } ++ else ++ { ++ const grub_uint32_t carries = (grub_uint32_t) uu.low >> bm; ++ ++ w.low = (grub_uint32_t) uu.low << b; ++ w.high = ((grub_uint32_t) uu.high << b) | carries; ++ } ++ ++ return w.full; ++} ++ ++#endif +diff --git a/grub-core/kern/powerpc/compiler-rt.S b/grub-core/kern/powerpc/compiler-rt.S +new file mode 100644 +index 0000000..63e3a0d +--- /dev/null ++++ b/grub-core/kern/powerpc/compiler-rt.S +@@ -0,0 +1,130 @@ ++/* ++ * Special support for eabi and SVR4 ++ * ++ * Copyright (C) 1995-2014 Free Software Foundation, Inc. ++ * Written By Michael Meissner ++ * 64-bit support written by David Edelsohn ++ * ++ * This file is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; either version 3, or (at your option) any ++ * later version. ++ * ++ * This file is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ * ++ * Under Section 7 of GPL version 3, you are granted additional ++ * permissions described in the GCC Runtime Library Exception, version ++ * 3.1, as published by the Free Software Foundation. ++ * ++ * You should have received a copy of the GNU General Public License and ++ * a copy of the GCC Runtime Library Exception along with this program; ++ * see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ++ * . ++ */ ++ ++/* Do any initializations needed for the eabi environment */ ++ ++#include ++#include ++ ++ .section ".text" ++ ++#define CFI_RESTORE(reg) .cfi_restore reg ++#define CFI_OFFSET(reg, off) .cfi_offset reg, off ++#define CFI_DEF_CFA_REGISTER(reg) .cfi_def_cfa_register reg ++#define CFI_STARTPROC .cfi_startproc ++#define CFI_ENDPROC .cfi_endproc ++ ++/* Routines for restoring integer registers, called by the compiler. */ ++/* Called with r11 pointing to the stack header word of the caller of the */ ++/* function, just beyond the end of the integer restore area. */ ++ ++CFI_STARTPROC ++CFI_DEF_CFA_REGISTER (11) ++CFI_OFFSET (65, 4) ++CFI_OFFSET (14, -72) ++CFI_OFFSET (15, -68) ++CFI_OFFSET (16, -64) ++CFI_OFFSET (17, -60) ++CFI_OFFSET (18, -56) ++CFI_OFFSET (19, -52) ++CFI_OFFSET (20, -48) ++CFI_OFFSET (21, -44) ++CFI_OFFSET (22, -40) ++CFI_OFFSET (23, -36) ++CFI_OFFSET (24, -32) ++CFI_OFFSET (25, -28) ++CFI_OFFSET (26, -24) ++CFI_OFFSET (27, -20) ++CFI_OFFSET (28, -16) ++CFI_OFFSET (29, -12) ++CFI_OFFSET (30, -8) ++CFI_OFFSET (31, -4) ++FUNCTION(_restgpr_14_x) lwz 14,-72(11) /* restore gp registers */ ++CFI_RESTORE (14) ++FUNCTION(_restgpr_15_x) lwz 15,-68(11) ++CFI_RESTORE (15) ++FUNCTION(_restgpr_16_x) lwz 16,-64(11) ++CFI_RESTORE (16) ++FUNCTION(_restgpr_17_x) lwz 17,-60(11) ++CFI_RESTORE (17) ++FUNCTION(_restgpr_18_x) lwz 18,-56(11) ++CFI_RESTORE (18) ++FUNCTION(_restgpr_19_x) lwz 19,-52(11) ++CFI_RESTORE (19) ++FUNCTION(_restgpr_20_x) lwz 20,-48(11) ++CFI_RESTORE (20) ++FUNCTION(_restgpr_21_x) lwz 21,-44(11) ++CFI_RESTORE (21) ++FUNCTION(_restgpr_22_x) lwz 22,-40(11) ++CFI_RESTORE (22) ++FUNCTION(_restgpr_23_x) lwz 23,-36(11) ++CFI_RESTORE (23) ++FUNCTION(_restgpr_24_x) lwz 24,-32(11) ++CFI_RESTORE (24) ++FUNCTION(_restgpr_25_x) lwz 25,-28(11) ++CFI_RESTORE (25) ++FUNCTION(_restgpr_26_x) lwz 26,-24(11) ++CFI_RESTORE (26) ++FUNCTION(_restgpr_27_x) lwz 27,-20(11) ++CFI_RESTORE (27) ++FUNCTION(_restgpr_28_x) lwz 28,-16(11) ++CFI_RESTORE (28) ++FUNCTION(_restgpr_29_x) lwz 29,-12(11) ++CFI_RESTORE (29) ++FUNCTION(_restgpr_30_x) lwz 30,-8(11) ++CFI_RESTORE (30) ++FUNCTION(_restgpr_31_x) lwz 0,4(11) ++ lwz 31,-4(11) ++CFI_RESTORE (31) ++ mtlr 0 ++CFI_RESTORE (65) ++ mr 1,11 ++CFI_DEF_CFA_REGISTER (1) ++ blr ++CFI_ENDPROC ++ ++CFI_STARTPROC ++FUNCTION(_savegpr_14) stw 14,-72(11) /* save gp registers */ ++FUNCTION(_savegpr_15) stw 15,-68(11) ++FUNCTION(_savegpr_16) stw 16,-64(11) ++FUNCTION(_savegpr_17) stw 17,-60(11) ++FUNCTION(_savegpr_18) stw 18,-56(11) ++FUNCTION(_savegpr_19) stw 19,-52(11) ++FUNCTION(_savegpr_20) stw 20,-48(11) ++FUNCTION(_savegpr_21) stw 21,-44(11) ++FUNCTION(_savegpr_22) stw 22,-40(11) ++FUNCTION(_savegpr_23) stw 23,-36(11) ++FUNCTION(_savegpr_24) stw 24,-32(11) ++FUNCTION(_savegpr_25) stw 25,-28(11) ++FUNCTION(_savegpr_26) stw 26,-24(11) ++FUNCTION(_savegpr_27) stw 27,-20(11) ++FUNCTION(_savegpr_28) stw 28,-16(11) ++FUNCTION(_savegpr_29) stw 29,-12(11) ++FUNCTION(_savegpr_30) stw 30,-8(11) ++FUNCTION(_savegpr_31) stw 31,-4(11) ++ blr ++CFI_ENDPROC +diff --git a/include/grub/compiler.h b/include/grub/compiler.h +index c9e1d7a..a9a684c 100644 +--- a/include/grub/compiler.h ++++ b/include/grub/compiler.h +@@ -48,4 +48,65 @@ + # define WARN_UNUSED_RESULT + #endif + ++#include "types.h" ++ ++union component64 ++{ ++ grub_uint64_t full; ++ struct ++ { ++#ifdef GRUB_CPU_WORDS_BIGENDIAN ++ grub_uint32_t high; ++ grub_uint32_t low; ++#else ++ grub_uint32_t low; ++ grub_uint32_t high; ++#endif ++ }; ++}; ++ ++#if defined (__powerpc__) ++grub_uint64_t EXPORT_FUNC (__lshrdi3) (grub_uint64_t u, int b); ++grub_uint64_t EXPORT_FUNC (__ashrdi3) (grub_uint64_t u, int b); ++grub_uint64_t EXPORT_FUNC (__ashldi3) (grub_uint64_t u, int b); ++int EXPORT_FUNC(__ucmpdi2) (grub_uint64_t a, grub_uint64_t b); ++void EXPORT_FUNC (_restgpr_14_x) (void); ++void EXPORT_FUNC (_restgpr_15_x) (void); ++void EXPORT_FUNC (_restgpr_16_x) (void); ++void EXPORT_FUNC (_restgpr_17_x) (void); ++void EXPORT_FUNC (_restgpr_18_x) (void); ++void EXPORT_FUNC (_restgpr_19_x) (void); ++void EXPORT_FUNC (_restgpr_20_x) (void); ++void EXPORT_FUNC (_restgpr_21_x) (void); ++void EXPORT_FUNC (_restgpr_22_x) (void); ++void EXPORT_FUNC (_restgpr_23_x) (void); ++void EXPORT_FUNC (_restgpr_24_x) (void); ++void EXPORT_FUNC (_restgpr_25_x) (void); ++void EXPORT_FUNC (_restgpr_26_x) (void); ++void EXPORT_FUNC (_restgpr_27_x) (void); ++void EXPORT_FUNC (_restgpr_28_x) (void); ++void EXPORT_FUNC (_restgpr_29_x) (void); ++void EXPORT_FUNC (_restgpr_30_x) (void); ++void EXPORT_FUNC (_restgpr_31_x) (void); ++void EXPORT_FUNC (_savegpr_14) (void); ++void EXPORT_FUNC (_savegpr_15) (void); ++void EXPORT_FUNC (_savegpr_16) (void); ++void EXPORT_FUNC (_savegpr_17) (void); ++void EXPORT_FUNC (_savegpr_18) (void); ++void EXPORT_FUNC (_savegpr_19) (void); ++void EXPORT_FUNC (_savegpr_20) (void); ++void EXPORT_FUNC (_savegpr_21) (void); ++void EXPORT_FUNC (_savegpr_22) (void); ++void EXPORT_FUNC (_savegpr_23) (void); ++void EXPORT_FUNC (_savegpr_24) (void); ++void EXPORT_FUNC (_savegpr_25) (void); ++void EXPORT_FUNC (_savegpr_26) (void); ++void EXPORT_FUNC (_savegpr_27) (void); ++void EXPORT_FUNC (_savegpr_28) (void); ++void EXPORT_FUNC (_savegpr_29) (void); ++void EXPORT_FUNC (_savegpr_30) (void); ++void EXPORT_FUNC (_savegpr_31) (void); ++ ++#endif ++ + #endif /* ! GRUB_COMPILER_HEADER */ +diff --git a/include/grub/libgcc.h b/include/grub/libgcc.h +index 8e93b67..5bdb8fb 100644 +--- a/include/grub/libgcc.h ++++ b/include/grub/libgcc.h +@@ -16,73 +16,6 @@ + * along with GRUB. If not, see . + */ + +-/* We need to include config-util.h.in for HAVE_*. */ +-#ifndef __STDC_VERSION__ +-#define __STDC_VERSION__ 0 +-#endif +-#include +- +-/* On x86 these functions aren't really needed. Save some space. */ +-#if !defined (__i386__) && !defined (__x86_64__) +-# ifdef HAVE___ASHLDI3 +-void EXPORT_FUNC (__ashldi3) (void); +-# endif +-# ifdef HAVE___ASHRDI3 +-void EXPORT_FUNC (__ashrdi3) (void); +-# endif +-# ifdef HAVE___LSHRDI3 +-void EXPORT_FUNC (__lshrdi3) (void); +-# endif +-# ifdef HAVE___UCMPDI2 +-void EXPORT_FUNC (__ucmpdi2) (void); +-# endif +-# ifdef HAVE___BSWAPSI2 +-void EXPORT_FUNC (__bswapsi2) (void); +-# endif +-# ifdef HAVE___BSWAPDI2 +-void EXPORT_FUNC (__bswapdi2) (void); +-# endif +-#endif +- +-#ifdef HAVE__RESTGPR_14_X +-void EXPORT_FUNC (_restgpr_14_x) (void); +-void EXPORT_FUNC (_restgpr_15_x) (void); +-void EXPORT_FUNC (_restgpr_16_x) (void); +-void EXPORT_FUNC (_restgpr_17_x) (void); +-void EXPORT_FUNC (_restgpr_18_x) (void); +-void EXPORT_FUNC (_restgpr_19_x) (void); +-void EXPORT_FUNC (_restgpr_20_x) (void); +-void EXPORT_FUNC (_restgpr_21_x) (void); +-void EXPORT_FUNC (_restgpr_22_x) (void); +-void EXPORT_FUNC (_restgpr_23_x) (void); +-void EXPORT_FUNC (_restgpr_24_x) (void); +-void EXPORT_FUNC (_restgpr_25_x) (void); +-void EXPORT_FUNC (_restgpr_26_x) (void); +-void EXPORT_FUNC (_restgpr_27_x) (void); +-void EXPORT_FUNC (_restgpr_28_x) (void); +-void EXPORT_FUNC (_restgpr_29_x) (void); +-void EXPORT_FUNC (_restgpr_30_x) (void); +-void EXPORT_FUNC (_restgpr_31_x) (void); +-void EXPORT_FUNC (_savegpr_14) (void); +-void EXPORT_FUNC (_savegpr_15) (void); +-void EXPORT_FUNC (_savegpr_16) (void); +-void EXPORT_FUNC (_savegpr_17) (void); +-void EXPORT_FUNC (_savegpr_18) (void); +-void EXPORT_FUNC (_savegpr_19) (void); +-void EXPORT_FUNC (_savegpr_20) (void); +-void EXPORT_FUNC (_savegpr_21) (void); +-void EXPORT_FUNC (_savegpr_22) (void); +-void EXPORT_FUNC (_savegpr_23) (void); +-void EXPORT_FUNC (_savegpr_24) (void); +-void EXPORT_FUNC (_savegpr_25) (void); +-void EXPORT_FUNC (_savegpr_26) (void); +-void EXPORT_FUNC (_savegpr_27) (void); +-void EXPORT_FUNC (_savegpr_28) (void); +-void EXPORT_FUNC (_savegpr_29) (void); +-void EXPORT_FUNC (_savegpr_30) (void); +-void EXPORT_FUNC (_savegpr_31) (void); +-#endif +- + #if defined (__arm__) + void EXPORT_FUNC (__aeabi_lasr) (void); + void EXPORT_FUNC (__aeabi_llsl) (void); +-- +1.9.3 + diff --git a/0143-Suport-for-bi-endianess-in-elf-file.patch b/0143-Suport-for-bi-endianess-in-elf-file.patch new file mode 100644 index 00000000..6971fc9c --- /dev/null +++ b/0143-Suport-for-bi-endianess-in-elf-file.patch @@ -0,0 +1,202 @@ +From 9facac630985467ee1ad40beaed07d50ee18062c Mon Sep 17 00:00:00 2001 +From: Paulo Flabiano Smorigo +Date: Fri, 15 Aug 2014 14:39:53 -0300 +Subject: [PATCH 143/143] Suport for bi-endianess in elf file + +* grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to + cpu functions. +* grub-core/kern/elfXX.c: Likewise. + +Also-by: Tomohiro B Berry +--- + grub-core/kern/elf.c | 60 +++++++++++++++++++++++++++++++++++++++-- + grub-core/kern/elfXX.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 131 insertions(+), 2 deletions(-) + +diff --git a/grub-core/kern/elf.c b/grub-core/kern/elf.c +index 5f99c43..de90811 100644 +--- a/grub-core/kern/elf.c ++++ b/grub-core/kern/elf.c +@@ -28,6 +28,11 @@ + + GRUB_MOD_LICENSE ("GPLv3+"); + ++void grub_elf32_check_endianess (grub_elf_t elf); ++void grub_elf64_check_endianess (grub_elf_t elf); ++grub_err_t grub_elf32_check_version (grub_elf_t elf); ++grub_err_t grub_elf64_check_version (grub_elf_t elf); ++ + /* Check if EHDR is a valid ELF header. */ + static grub_err_t + grub_elf_check_header (grub_elf_t elf) +@@ -38,10 +43,22 @@ grub_elf_check_header (grub_elf_t elf) + || e->e_ident[EI_MAG1] != ELFMAG1 + || e->e_ident[EI_MAG2] != ELFMAG2 + || e->e_ident[EI_MAG3] != ELFMAG3 +- || e->e_ident[EI_VERSION] != EV_CURRENT +- || e->e_version != EV_CURRENT) ++ || e->e_ident[EI_VERSION] != EV_CURRENT) + return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic")); + ++ if (grub_elf_is_elf32 (elf)) ++ { ++ grub_elf32_check_endianess (elf); ++ grub_elf32_check_version (elf); ++ } ++ else if (grub_elf_is_elf64 (elf)) ++ { ++ grub_elf64_check_endianess (elf); ++ grub_elf64_check_version (elf); ++ } ++ else ++ return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic")); ++ + return GRUB_ERR_NONE; + } + +@@ -127,7 +144,20 @@ grub_elf_open (const char *name) + #define grub_elf_is_elfXX grub_elf_is_elf32 + #define grub_elfXX_load_phdrs grub_elf32_load_phdrs + #define ElfXX_Phdr Elf32_Phdr ++#define ElfXX_Ehdr Elf32_Ehdr + #define grub_uintXX_t grub_uint32_t ++#define grub_be_to_halfXX grub_be_to_cpu16 ++#define grub_be_to_wordXX grub_be_to_cpu32 ++#define grub_be_to_addrXX grub_be_to_cpu32 ++#define grub_be_to_offXX grub_be_to_cpu32 ++#define grub_be_to_XwordXX grub_be_to_wordXX ++#define grub_le_to_halfXX grub_le_to_cpu16 ++#define grub_le_to_wordXX grub_le_to_cpu32 ++#define grub_le_to_addrXX grub_le_to_cpu32 ++#define grub_le_to_offXX grub_le_to_cpu32 ++#define grub_le_to_XwordXX grub_le_to_wordXX ++#define grub_elfXX_check_endianess grub_elf32_check_endianess ++#define grub_elfXX_check_version grub_elf32_check_version + + #include "elfXX.c" + +@@ -140,7 +170,20 @@ grub_elf_open (const char *name) + #undef grub_elf_is_elfXX + #undef grub_elfXX_load_phdrs + #undef ElfXX_Phdr ++#undef ElfXX_Ehdr + #undef grub_uintXX_t ++#undef grub_be_to_halfXX ++#undef grub_be_to_wordXX ++#undef grub_be_to_addrXX ++#undef grub_be_to_offXX ++#undef grub_be_to_XwordXX ++#undef grub_le_to_halfXX ++#undef grub_le_to_wordXX ++#undef grub_le_to_addrXX ++#undef grub_le_to_offXX ++#undef grub_le_to_XwordXX ++#undef grub_elfXX_check_endianess ++#undef grub_elfXX_check_version + + + /* 64-bit */ +@@ -153,6 +196,19 @@ grub_elf_open (const char *name) + #define grub_elf_is_elfXX grub_elf_is_elf64 + #define grub_elfXX_load_phdrs grub_elf64_load_phdrs + #define ElfXX_Phdr Elf64_Phdr ++#define ElfXX_Ehdr Elf64_Ehdr + #define grub_uintXX_t grub_uint64_t ++#define grub_be_to_halfXX grub_be_to_cpu16 ++#define grub_be_to_wordXX grub_be_to_cpu32 ++#define grub_be_to_addrXX grub_be_to_cpu64 ++#define grub_be_to_offXX grub_be_to_cpu64 ++#define grub_be_to_XwordXX grub_be_to_cpu64 ++#define grub_le_to_halfXX grub_le_to_cpu16 ++#define grub_le_to_wordXX grub_le_to_cpu32 ++#define grub_le_to_addrXX grub_le_to_cpu64 ++#define grub_le_to_offXX grub_le_to_cpu64 ++#define grub_le_to_XwordXX grub_le_to_cpu64 ++#define grub_elfXX_check_endianess grub_elf64_check_endianess ++#define grub_elfXX_check_version grub_elf64_check_version + + #include "elfXX.c" +diff --git a/grub-core/kern/elfXX.c b/grub-core/kern/elfXX.c +index 1d09971..ecf9df6 100644 +--- a/grub-core/kern/elfXX.c ++++ b/grub-core/kern/elfXX.c +@@ -154,3 +154,76 @@ grub_elfXX_load (grub_elf_t elf, const char *filename, + + return grub_errno; + } ++ ++void ++grub_elfXX_check_endianess (grub_elf_t elf) ++{ ++ ElfXX_Ehdr *e = &(elf->ehdr.ehdrXX); ++ ElfXX_Phdr *phdr; ++ ++ if (e->e_ident[EI_DATA] == ELFDATA2MSB) ++ { ++ e->e_type = grub_be_to_halfXX (e->e_type); ++ e->e_machine = grub_be_to_halfXX (e->e_machine); ++ e->e_version = grub_be_to_wordXX (e->e_version); ++ e->e_entry = grub_be_to_addrXX (e->e_entry); ++ e->e_phoff = grub_be_to_offXX (e->e_phoff); ++ e->e_shoff = grub_be_to_offXX (e->e_shoff); ++ e->e_flags = grub_be_to_wordXX (e->e_flags); ++ e->e_ehsize = grub_be_to_halfXX (e->e_ehsize); ++ e->e_phentsize = grub_be_to_halfXX (e->e_phentsize); ++ e->e_phnum = grub_be_to_halfXX (e->e_phnum); ++ e->e_shentsize = grub_be_to_halfXX (e->e_shentsize); ++ e->e_shnum = grub_be_to_halfXX (e->e_shnum); ++ e->e_shstrndx = grub_be_to_halfXX (e->e_shstrndx); ++ ++ FOR_ELFXX_PHDRS (elf,phdr) ++ { ++ phdr->p_type = grub_be_to_wordXX (phdr->p_type); ++ phdr->p_flags = grub_be_to_wordXX (phdr->p_flags); ++ phdr->p_offset = grub_be_to_offXX (phdr->p_offset); ++ phdr->p_vaddr = grub_be_to_addrXX (phdr->p_vaddr); ++ phdr->p_paddr = grub_be_to_addrXX (phdr->p_paddr); ++ phdr->p_filesz = grub_be_to_XwordXX (phdr->p_filesz); ++ phdr->p_memsz = grub_be_to_XwordXX (phdr->p_memsz); ++ phdr->p_align = grub_be_to_XwordXX (phdr->p_align); ++ } ++ } ++ else if (e->e_ident[EI_DATA] == ELFDATA2LSB) ++ { ++ e->e_type = grub_le_to_halfXX (e->e_type); ++ e->e_machine = grub_le_to_halfXX (e->e_machine); ++ e->e_version = grub_le_to_wordXX (e->e_version); ++ e->e_entry = grub_le_to_addrXX (e->e_entry); ++ e->e_phoff = grub_le_to_offXX (e->e_phoff); ++ e->e_shoff = grub_le_to_offXX (e->e_shoff); ++ e->e_flags = grub_le_to_wordXX (e->e_flags); ++ e->e_ehsize = grub_le_to_halfXX (e->e_ehsize); ++ e->e_phentsize = grub_le_to_halfXX (e->e_phentsize); ++ e->e_phnum = grub_le_to_halfXX (e->e_phnum); ++ e->e_shentsize = grub_le_to_halfXX (e->e_shentsize); ++ e->e_shnum = grub_le_to_halfXX (e->e_shnum); ++ e->e_shstrndx = grub_le_to_halfXX (e->e_shstrndx); ++ ++ FOR_ELFXX_PHDRS (elf,phdr) ++ { ++ phdr->p_type = grub_le_to_wordXX (phdr->p_type); ++ phdr->p_flags = grub_le_to_wordXX (phdr->p_flags); ++ phdr->p_offset = grub_le_to_offXX (phdr->p_offset); ++ phdr->p_vaddr = grub_le_to_addrXX (phdr->p_vaddr); ++ phdr->p_paddr = grub_le_to_addrXX (phdr->p_paddr); ++ phdr->p_filesz = grub_le_to_XwordXX (phdr->p_filesz); ++ phdr->p_memsz = grub_le_to_XwordXX (phdr->p_memsz); ++ phdr->p_align = grub_le_to_XwordXX (phdr->p_align); ++ } ++ } ++} ++ ++grub_err_t ++grub_elfXX_check_version (grub_elf_t elf) ++{ ++ if (elf->ehdr.ehdrXX.e_version != EV_CURRENT) ++ return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic")); ++ ++ return GRUB_ERR_NONE; ++} +-- +1.9.3 + diff --git a/grub2.spec b/grub2.spec index 0b16a9b9..0e6df263 100644 --- a/grub2.spec +++ b/grub2.spec @@ -47,7 +47,7 @@ Name: grub2 Epoch: 1 Version: 2.02 -Release: 0.7%{?dist} +Release: 0.8%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base @@ -58,6 +58,7 @@ Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz #Source0: ftp://ftp.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz Source5: theme.tar.bz2 +Source6: gitignore #Source6: grub-cd.cfg Patch0001: 0001-fix-EFI-detection-on-Windows.patch @@ -200,11 +201,14 @@ Patch0137: 0137-Use-the-default-device-tree-from-the-grub-default-fi.patch Patch0138: 0138-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Patch0139: 0139-Reduce-timer-event-frequency-by-10.patch Patch0140: 0140-always-return-error-to-UEFI.patch +Patch0141: 0141-Add-powerpc-little-endian-ppc64le-flags.patch +Patch0142: 0142-Files-reorganization-and-include-some-libgcc-fuction.patch +Patch0143: 0143-Suport-for-bi-endianess-in-elf-file.patch BuildRequires: flex bison binutils python BuildRequires: ncurses-devel xz-devel bzip2-devel BuildRequires: freetype-devel libusb-devel -%ifarch %{sparc} x86_64 aarch64 +%ifarch %{sparc} x86_64 aarch64 ppc64le # sparc builds need 64 bit glibc-devel - also for 32 bit userland BuildRequires: /usr/lib64/crt1.o glibc-static %else @@ -293,6 +297,7 @@ provides an example theme for the grub screen. cd grub-%{tarversion} # place unifont in the '.' from which configure is run cp %{SOURCE4} unifont.pcf.gz +cp %{SOURCE6} .gitignore git init git config user.email "grub2-owner@fedoraproject.org" git config user.name "Fedora Ninjas" @@ -310,6 +315,7 @@ ln -s grub-efi-%{tarversion} grub-%{tarversion} cd grub-%{tarversion} # place unifont in the '.' from which configure is run cp %{SOURCE4} unifont.pcf.gz +cp %{SOURCE6} .gitignore git init git config user.email "grub2-owner@fedoraproject.org" git config user.name "Fedora Ninjas" @@ -368,7 +374,7 @@ cd grub-%{tarversion} ./autogen.sh # -static is needed so that autoconf script is able to link # test that looks for _start symbol on 64 bit platforms -%ifarch %{sparc} ppc ppc64 +%ifarch %{sparc} ppc ppc64 ppc64le %define platform ieee1275 %else %define platform pc @@ -628,6 +634,10 @@ fi %{_datarootdir}/grub/themes/ %changelog +* Tue Aug 19 2014 Peter Jones - 2.02-0.8 +- Add ppc64le support. + Resolves: rhbz#1125540 + * Thu Jul 24 2014 Peter Jones - 2.02-0.7 - Enabled syslinuxcfg module. diff --git a/sources b/sources index 47997fea..d38dd1ae 100644 --- a/sources +++ b/sources @@ -2,3 +2,4 @@ a1043102fbc7bcedbf53e7ee3d17ab91 grub-2.00.tar.xz 566c4668b90b610c1f6c0c402cbd6ab0 theme.tar.bz2 8c28087c5fcb3188f1244b390efffdbe unifont-5.1.20080820.pcf.gz be62932eade308a364ea4bbc91295930 grub-2.02~beta2.tar.xz +48aed0db12324053babfa40feaae3d78 gitignore