diff --git a/0001-fix-EFI-detection-on-Windows.patch b/0001-fix-EFI-detection-on-Windows.patch index 4d9593f..b201774 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/112] fix EFI detection on Windows +Subject: [PATCH 001/103] fix EFI detection on Windows We are on legacy BIOS if GetFirmwareEnvironmentVariable fails (returns zero) *and* extended error information is ERROR_INVALID_FUNCTION. @@ -39,5 +39,5 @@ index f2b9d71..d217efe 100644 platform = PLAT_BIOS; return; -- -1.8.5.3 +1.9.0 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 376adb1..33702e5 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,28 +1,21 @@ -From d2e7d923bf3ed70bb4aa38cb880d0677f2b8646f Mon Sep 17 00:00:00 2001 +From 5bda44d7f98c36f87144869ec58b518f80a69b56 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 25 Dec 2013 23:31:42 +0100 -Subject: [PATCH 002/112] * grub-core/kern/arm/cache_armv6.S: Remove +Subject: [PATCH 002/103] * 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 to make assembler assume that architecture is higher than default one. --- - ChangeLog | 12 ++++++++++++ - INSTALL | 10 +++++----- - docs/grub-dev.texi | 8 ++++---- - grub-core/kern/arm/cache_armv6.S | 1 - - 4 files changed, 21 insertions(+), 10 deletions(-) + ChangeLog | 7 +++++++ + grub-core/kern/arm/cache_armv6.S | 1 - + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 21ec1c7..bbb0f31 100644 +index 21ec1c7..153bc43 100644 --- a/ChangeLog +++ b/ChangeLog -@@ -1,3 +1,15 @@ -+2013-12-27 Colin Watson -+ -+ * INSTALL (Cross-compiling the GRUB): Fix some spelling mistakes. -+ * docs/grub.texi (Getting the source code): Likewise. -+ +@@ -1,3 +1,10 @@ +2013-12-25 Vladimir Serbinenko + + * grub-core/kern/arm/cache_armv6.S: Remove .arch directive. @@ -33,66 +26,6 @@ index 21ec1c7..bbb0f31 100644 2013-12-25 Andrey Borzenkov * grub-core/osdep/windows/platform.c (get_platform): Fix EFI -diff --git a/INSTALL b/INSTALL -index afc957c..db12530 100644 ---- a/INSTALL -+++ b/INSTALL -@@ -140,7 +140,7 @@ If build and host are different make check isn't available. - If build and host are different man pages are not generated. - - As an example imagine you have a build system running on FreeBSD on sparc --which prepares packages for developpers running amd64 GNU/Linux laptop and -+which prepares packages for developers running amd64 GNU/Linux laptop and - they need to make images for ARM board running U-boot. In this case: - - build=sparc64-freebsd -@@ -149,7 +149,7 @@ target=arm-uboot - - For this example the configure line might look like (more details below) - (some options are optional and included here for completeness but some rarely --used options are omited): -+used options are omitted): - - ./configure BUILD_CC=gcc BUILD_FREETYPE=freetype-config --host=amd64-linux-gnu - CC=amd64-linux-gnu-gcc CFLAGS="-g -O2" FREETYPE=amd64-linux-gnu-freetype-config -@@ -196,9 +196,9 @@ corresponding platform are not needed for the platform in question. - 11. TARGET_RANLIB= for ranlib for target. - - - Additionally for emu, for host and target. -- 1. SDL is looked for in stadard linker directories (-lSDL) (optional) -- 2. libpciaccess is looked for in stadard linker directories (-lpciaccess) (optional) -- 3. libusb is looked for in stadard linker directories (-lusb) (optional) -+ 1. SDL is looked for in standard linker directories (-lSDL) (optional) -+ 2. libpciaccess is looked for in standard linker directories (-lpciaccess) (optional) -+ 3. libusb is looked for in standard linker directories (-lusb) (optional) - - - Platform-agnostic tools and data. - 1. make is the tool you execute after ./configure. -diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi -index c796850..7c6244c 100644 ---- a/docs/grub-dev.texi -+++ b/docs/grub-dev.texi -@@ -108,16 +108,16 @@ The branches available are: - - @table @samp - @item master -- Main developpement branch. -+ Main development branch. - @item grub-legacy - GRUB 0.97 codebase. Kept for reference and legal reasons - @item multiboot - Multiboot specfication - @item multiboot2 - Multiboot2 specfication --@item developper branches -- Prefixed with developper name. Every developper of a team manages his own branches. -- Developper branches do not need changelog entries. -+@item developer branches -+ Prefixed with developer name. Every developer of a team manages his own branches. -+ Developer branches do not need changelog entries. - @end table - - Once you have used @kbd{git clone} to fetch an initial copy of a branch, you diff --git a/grub-core/kern/arm/cache_armv6.S b/grub-core/kern/arm/cache_armv6.S index 39da1df..dfaded0 100644 --- a/grub-core/kern/arm/cache_armv6.S @@ -106,5 +39,5 @@ index 39da1df..dfaded0 100644 # define DMB mcr p15, 0, r0, c7, c10, 5 # define DSB mcr p15, 0, r0, c7, c10, 4 -- -1.8.5.3 +1.9.0 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 new file mode 100644 index 0000000..c7c62b0 --- /dev/null +++ b/0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch @@ -0,0 +1,90 @@ +From b3a04ee7745f9db87475ed926569ca1b3ba63994 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Tue, 6 May 2014 10:47:21 -0400 +Subject: [PATCH 003/103] * INSTALL (Cross-compiling the GRUB): Fix some + spelling mistakes. * docs/grub.texi (Getting the source code): Likewise. + +Conflicts: + ChangeLog +--- + ChangeLog | 5 +++++ + INSTALL | 10 +++++----- + docs/grub-dev.texi | 8 ++++---- + 3 files changed, 14 insertions(+), 9 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 153bc43..bbb0f31 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,8 @@ ++2013-12-27 Colin Watson ++ ++ * INSTALL (Cross-compiling the GRUB): Fix some spelling mistakes. ++ * docs/grub.texi (Getting the source code): Likewise. ++ + 2013-12-25 Vladimir Serbinenko + + * grub-core/kern/arm/cache_armv6.S: Remove .arch directive. +diff --git a/INSTALL b/INSTALL +index afc957c..db12530 100644 +--- a/INSTALL ++++ b/INSTALL +@@ -140,7 +140,7 @@ If build and host are different make check isn't available. + If build and host are different man pages are not generated. + + As an example imagine you have a build system running on FreeBSD on sparc +-which prepares packages for developpers running amd64 GNU/Linux laptop and ++which prepares packages for developers running amd64 GNU/Linux laptop and + they need to make images for ARM board running U-boot. In this case: + + build=sparc64-freebsd +@@ -149,7 +149,7 @@ target=arm-uboot + + For this example the configure line might look like (more details below) + (some options are optional and included here for completeness but some rarely +-used options are omited): ++used options are omitted): + + ./configure BUILD_CC=gcc BUILD_FREETYPE=freetype-config --host=amd64-linux-gnu + CC=amd64-linux-gnu-gcc CFLAGS="-g -O2" FREETYPE=amd64-linux-gnu-freetype-config +@@ -196,9 +196,9 @@ corresponding platform are not needed for the platform in question. + 11. TARGET_RANLIB= for ranlib for target. + + - Additionally for emu, for host and target. +- 1. SDL is looked for in stadard linker directories (-lSDL) (optional) +- 2. libpciaccess is looked for in stadard linker directories (-lpciaccess) (optional) +- 3. libusb is looked for in stadard linker directories (-lusb) (optional) ++ 1. SDL is looked for in standard linker directories (-lSDL) (optional) ++ 2. libpciaccess is looked for in standard linker directories (-lpciaccess) (optional) ++ 3. libusb is looked for in standard linker directories (-lusb) (optional) + + - Platform-agnostic tools and data. + 1. make is the tool you execute after ./configure. +diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi +index c796850..7c6244c 100644 +--- a/docs/grub-dev.texi ++++ b/docs/grub-dev.texi +@@ -108,16 +108,16 @@ The branches available are: + + @table @samp + @item master +- Main developpement branch. ++ Main development branch. + @item grub-legacy + GRUB 0.97 codebase. Kept for reference and legal reasons + @item multiboot + Multiboot specfication + @item multiboot2 + Multiboot2 specfication +-@item developper branches +- Prefixed with developper name. Every developper of a team manages his own branches. +- Developper branches do not need changelog entries. ++@item developer branches ++ Prefixed with developer name. Every developer of a team manages his own branches. ++ Developer branches do not need changelog entries. + @end table + + Once you have used @kbd{git clone} to fetch an initial copy of a branch, you +-- +1.9.0 + diff --git a/0003-NEWS-First-draft-of-2.02-entry.patch b/0004-NEWS-First-draft-of-2.02-entry.patch similarity index 86% rename from 0003-NEWS-First-draft-of-2.02-entry.patch rename to 0004-NEWS-First-draft-of-2.02-entry.patch index 0c5285f..4ef0581 100644 --- a/0003-NEWS-First-draft-of-2.02-entry.patch +++ b/0004-NEWS-First-draft-of-2.02-entry.patch @@ -1,42 +1,32 @@ -From ef30fb83d10ce26adfc613837eb69366ab02338f Mon Sep 17 00:00:00 2001 +From 4b4eebb6b2cb81455337137d75467db0e00c7d99 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 27 Dec 2013 03:05:38 +0000 -Subject: [PATCH 003/112] * NEWS: First draft of 2.02 entry. +Subject: [PATCH 004/103] * NEWS: First draft of 2.02 entry. --- - ChangeLog | 16 +++++++++ - NEWS | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 134 insertions(+) + ChangeLog | 4 +++ + NEWS | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 123 insertions(+) diff --git a/ChangeLog b/ChangeLog -index bbb0f31..5639fdc 100644 +index bbb0f31..82dc61d 100644 --- a/ChangeLog +++ b/ChangeLog -@@ -1,3 +1,19 @@ -+2013-12-28 Colin Watson -+ -+ * NEWS: The cmosclean command in fact dates back to 1.99. Remove -+ mention of it from 2.02. -+ -+2013-12-27 Vladimir Serbinenko -+ -+ * 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 -+ to make assembler assume that architecture is higher than default one. +@@ -1,5 +1,9 @@ + 2013-12-27 Colin Watson + ++ * NEWS: First draft of 2.02 entry. + +2013-12-27 Colin Watson + -+ * NEWS: First draft of 2.02 entry. -+ - 2013-12-27 Colin Watson - * INSTALL (Cross-compiling the GRUB): Fix some spelling mistakes. + * docs/grub.texi (Getting the source code): Likewise. + diff --git a/NEWS b/NEWS -index 4bb5f98..b74c05f 100644 +index 4bb5f98..577d9fd 100644 --- a/NEWS +++ b/NEWS -@@ -1,3 +1,121 @@ +@@ -1,3 +1,122 @@ +New in 2.02: + +* New/improved filesystem and disk support: @@ -85,7 +75,8 @@ index 4bb5f98..b74c05f 100644 + +* New/improved platform support: + * New `efifwsetup' and `lsefi' commands on EFI platforms. -+ * New `cmosdump' and `cmosset' commands on platforms with CMOS support. ++ * New `cmosclean', `cmosdump', and `cmosset' commands on platforms with ++ CMOS support. + * New `cbmemc', `coreboot_boottime', and `lscoreboot' commands on + coreboot. + * Improve opcode parsing in ACPI halt implementation. @@ -159,5 +150,5 @@ index 4bb5f98..b74c05f 100644 * Appearance: -- -1.8.5.3 +1.9.0 diff --git a/0005-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch b/0005-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch new file mode 100644 index 0000000..99b3650 --- /dev/null +++ b/0005-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch @@ -0,0 +1,41 @@ +From 41a4b6d4b2fcf14e6f8dcc03dda3eb807a64c428 Mon Sep 17 00:00:00 2001 +From: Colin Watson +Date: Sat, 28 Dec 2013 02:20:27 +0000 +Subject: [PATCH 005/103] * NEWS: The cmosclean command in fact dates back to + 1.99. Remove mention of it from 2.02. + +--- + ChangeLog | 5 +++++ + NEWS | 3 +-- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 82dc61d..a606ca5 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,8 @@ ++2013-12-28 Colin Watson ++ ++ * NEWS: The cmosclean command in fact dates back to 1.99. Remove ++ mention of it from 2.02. ++ + 2013-12-27 Colin Watson + + * NEWS: First draft of 2.02 entry. +diff --git a/NEWS b/NEWS +index 577d9fd..b74c05f 100644 +--- a/NEWS ++++ b/NEWS +@@ -46,8 +46,7 @@ New in 2.02: + + * New/improved platform support: + * New `efifwsetup' and `lsefi' commands on EFI platforms. +- * New `cmosclean', `cmosdump', and `cmosset' commands on platforms with +- CMOS support. ++ * New `cmosdump' and `cmosset' commands on platforms with CMOS support. + * New `cbmemc', `coreboot_boottime', and `lscoreboot' commands on + coreboot. + * Improve opcode parsing in ACPI halt implementation. +-- +1.9.0 + diff --git a/0004-remove-unused-error.h-from-kern-emu-misc.c.patch b/0006-remove-unused-error.h-from-kern-emu-misc.c.patch similarity index 84% rename from 0004-remove-unused-error.h-from-kern-emu-misc.c.patch rename to 0006-remove-unused-error.h-from-kern-emu-misc.c.patch index e49fd08..4785b61 100644 --- a/0004-remove-unused-error.h-from-kern-emu-misc.c.patch +++ b/0006-remove-unused-error.h-from-kern-emu-misc.c.patch @@ -1,7 +1,7 @@ -From de40a1e74bd16b419f71f8e79cf7d62f69ef25a4 Mon Sep 17 00:00:00 2001 +From bdabacb90e48becc55a4f84e0166c573663879d4 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 28 Dec 2013 09:01:20 +0400 -Subject: [PATCH 004/112] remove unused error.h from kern/emu/misc.c +Subject: [PATCH 006/103] remove unused error.h from kern/emu/misc.c Fixes compilation on mingw32, where include is apparently missing. --- @@ -10,7 +10,7 @@ Fixes compilation on mingw32, where include is apparently missing. 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 5639fdc..d2e9f19 100644 +index a606ca5..17c1c31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -35,5 +35,5 @@ index 43471b4..bb606da 100644 #include #include -- -1.8.5.3 +1.9.0 diff --git a/0005-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch b/0007-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch similarity index 92% rename from 0005-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch rename to 0007-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch index da4e477..7f53d4e 100644 --- a/0005-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch +++ b/0007-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch @@ -1,7 +1,7 @@ -From e0589d5bbec8c6203ba299b782438030295803d5 Mon Sep 17 00:00:00 2001 +From 52bc775fbd3b6e4bb68fe3f5644a23a475ff0b26 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 28 Dec 2013 17:25:14 +0100 -Subject: [PATCH 005/112] Don't abort() on unavailable coreboot tables +Subject: [PATCH 007/103] Don't abort() on unavailable coreboot tables if not running on coreboot. --- @@ -11,7 +11,7 @@ Subject: [PATCH 005/112] Don't abort() on unavailable coreboot tables 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index d2e9f19..67d80bd 100644 +index 17c1c31..140b2d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -66,5 +66,5 @@ index 6b150b4..3314f02 100644 grub_video_coreboot_fb_late_init (); -- -1.8.5.3 +1.9.0 diff --git a/0006-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch b/0008-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch similarity index 96% rename from 0006-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch rename to 0008-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch index 54dd1ba..1fe3522 100644 --- a/0006-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch +++ b/0008-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch @@ -1,7 +1,7 @@ -From 300c13fa40729ad32e85610a650c26516c66a560 Mon Sep 17 00:00:00 2001 +From e556fb6be8a3b3155723c26d02437a0a5bf26183 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 30 Dec 2013 06:49:15 +0100 -Subject: [PATCH 006/112] * NEWS: Add few missing entries. Correct +Subject: [PATCH 008/103] * NEWS: Add few missing entries. Correct existing ones. --- @@ -10,7 +10,7 @@ Subject: [PATCH 006/112] * NEWS: Add few missing entries. Correct 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 67d80bd..226f2a3 100644 +index 140b2d8..447dece 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -117,5 +117,5 @@ index b74c05f..49a2459 100644 * HFS string is now treated like mac-roman and not UTF-8 * HFS mtime support. -- -1.8.5.3 +1.9.0 diff --git a/0007-strip-.eh_frame-section-from-arm64-efi-kernel.patch b/0009-strip-.eh_frame-section-from-arm64-efi-kernel.patch similarity index 88% rename from 0007-strip-.eh_frame-section-from-arm64-efi-kernel.patch rename to 0009-strip-.eh_frame-section-from-arm64-efi-kernel.patch index e935324..5426d24 100644 --- a/0007-strip-.eh_frame-section-from-arm64-efi-kernel.patch +++ b/0009-strip-.eh_frame-section-from-arm64-efi-kernel.patch @@ -1,7 +1,7 @@ -From b0e9367a147134da3599cf4d5485c0f29c93a73a Mon Sep 17 00:00:00 2001 +From e5b01b454769cec291160ffdeef706d04bedb342 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Mon, 30 Dec 2013 12:56:19 +0000 -Subject: [PATCH 007/112] strip .eh_frame section from arm64-efi kernel +Subject: [PATCH 009/103] strip .eh_frame section from arm64-efi kernel Fixes grub-mkimage error "relocation 0x105 is not implemented yet." --- @@ -10,7 +10,7 @@ Fixes grub-mkimage error "relocation 0x105 is not implemented yet." 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 226f2a3..16372cd 100644 +index 447dece..d2e5193 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -35,5 +35,5 @@ index c916246..42443bc 100644 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000'; -- -1.8.5.3 +1.9.0 diff --git a/0008-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch b/0010-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch similarity index 88% rename from 0008-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch rename to 0010-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch index 4c0c6d9..360dd31 100644 --- a/0008-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch +++ b/0010-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch @@ -1,7 +1,7 @@ -From d0bf697add07d1bcc2d4c648d66f5b49de8ba80d Mon Sep 17 00:00:00 2001 +From 907365b13dc4a1fb5a17dea673ad65130ebbcf7a Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 10:38:54 +0400 -Subject: [PATCH 008/112] use {grub,boot}aa64.efi for boot images on AArch64 +Subject: [PATCH 010/103] 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 @@ -33,5 +33,5 @@ index 8cfe0ea..4608b80 100644 default: efi_file = "grub.efi"; -- -1.8.5.3 +1.9.0 diff --git a/0009-fix-32-bit-compilation-on-MinGW-w64.patch b/0011-fix-32-bit-compilation-on-MinGW-w64.patch similarity index 88% rename from 0009-fix-32-bit-compilation-on-MinGW-w64.patch rename to 0011-fix-32-bit-compilation-on-MinGW-w64.patch index 3b0234f..3ea78fb 100644 --- a/0009-fix-32-bit-compilation-on-MinGW-w64.patch +++ b/0011-fix-32-bit-compilation-on-MinGW-w64.patch @@ -1,7 +1,7 @@ -From 5a062ab806006fd9f1d9268ddc7eb706782a1c22 Mon Sep 17 00:00:00 2001 +From 9ce80256f3246f13d083374980018e937737f101 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 18:43:02 +0400 -Subject: [PATCH 009/112] fix 32 bit compilation on MinGW-w64 +Subject: [PATCH 011/103] 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 @@ -12,7 +12,7 @@ redefinition which it already does in case of _FILE_OFFSET_BITS=64. 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 16372cd..3489d53 100644 +index d2e5193..761e8c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -41,5 +41,5 @@ index 36615b2..79efcfa 100644 #endif -- -1.8.5.3 +1.9.0 diff --git a/0010-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch b/0012-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch similarity index 89% rename from 0010-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch rename to 0012-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch index e7810a3..d9b8b98 100644 --- a/0010-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch +++ b/0012-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch @@ -1,7 +1,7 @@ -From 510402f407ab09f1e4892fbc33833818d6561eeb Mon Sep 17 00:00:00 2001 +From abb042d2a8c3787de2509eb6f7c219f9c921ab28 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 7 Jan 2014 20:34:25 +0400 -Subject: [PATCH 010/112] Change grub-mkrescue to use bootaa64.efi too +Subject: [PATCH 012/103] Change grub-mkrescue to use bootaa64.efi too Also add ChangeLog entry for previous change. --- @@ -10,7 +10,7 @@ Also add ChangeLog entry for previous change. 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 3489d53..bb73343 100644 +index 761e8c6..735748f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ @@ -40,5 +40,5 @@ index 317879d..0d03e55 100644 imgname); free (imgname); -- -1.8.5.3 +1.9.0 diff --git a/0011-arm64-set-correct-length-of-device-path-end-entry.patch b/0013-arm64-set-correct-length-of-device-path-end-entry.patch similarity index 88% rename from 0011-arm64-set-correct-length-of-device-path-end-entry.patch rename to 0013-arm64-set-correct-length-of-device-path-end-entry.patch index b740427..3d71bcf 100644 --- a/0011-arm64-set-correct-length-of-device-path-end-entry.patch +++ b/0013-arm64-set-correct-length-of-device-path-end-entry.patch @@ -1,7 +1,7 @@ -From c02a376131f807a04ed2cf8e9160a461b1568854 Mon Sep 17 00:00:00 2001 +From 60431c470d8ae9001d34e76f7b80d2b55007fd64 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Tue, 7 Jan 2014 17:52:50 +0000 -Subject: [PATCH 011/112] arm64: set correct length of device path end entry +Subject: [PATCH 013/103] 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 @@ -14,7 +14,7 @@ Set it to sizeof (grub_efi_device_path_t). 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index bb73343..13f3273 100644 +index 735748f..a1ecbe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -39,5 +39,5 @@ index 9d15aad..75ad871 100644 b = grub_efi_system_table->boot_services; status = b->load_image (0, grub_efi_image_handle, -- -1.8.5.3 +1.9.0 diff --git a/0012-Makefile.util.def-grub-macbless-Change-mansection-to.patch b/0014-Makefile.util.def-grub-macbless-Change-mansection-to.patch similarity index 84% rename from 0012-Makefile.util.def-grub-macbless-Change-mansection-to.patch rename to 0014-Makefile.util.def-grub-macbless-Change-mansection-to.patch index b954ce6..2407073 100644 --- a/0012-Makefile.util.def-grub-macbless-Change-mansection-to.patch +++ b/0014-Makefile.util.def-grub-macbless-Change-mansection-to.patch @@ -1,7 +1,7 @@ -From efb1d140dd18b4e1141e443c96dfd87e613e8dad Mon Sep 17 00:00:00 2001 +From ad0412ef8b5dcc14499d4ba318493db298ac7a79 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 8 Jan 2014 11:05:20 +0000 -Subject: [PATCH 012/112] * Makefile.util.def (grub-macbless): Change +Subject: [PATCH 014/103] * Makefile.util.def (grub-macbless): Change mansection to 8. --- @@ -10,7 +10,7 @@ Subject: [PATCH 012/112] * Makefile.util.def (grub-macbless): Change 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 13f3273..61f33ce 100644 +index a1ecbe2..6a382e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -35,5 +35,5 @@ index 985e76c..3c99be2 100644 common = grub-core/osdep/init.c; common = grub-core/kern/emu/argp_common.c; -- -1.8.5.3 +1.9.0 diff --git a/0013-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch b/0015-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch similarity index 92% rename from 0013-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch rename to 0015-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch index 0c8a14e..8560900 100644 --- a/0013-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch +++ b/0015-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch @@ -1,7 +1,7 @@ -From f887a3908a5f3ad124e6f447c64514e5e45a9192 Mon Sep 17 00:00:00 2001 +From ae32118428c545d74dcf2d708660b490d4740ca9 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sun, 12 Jan 2014 15:29:21 +0400 -Subject: [PATCH 013/112] add part_apple to EFI rescue image to fix missing +Subject: [PATCH 015/103] add part_apple to EFI rescue image to fix missing prefix On Mac rescue image is booted from HFS+ partition, so bootpath looks like @@ -44,5 +44,5 @@ index 0d03e55..34e0b7a 100644 if (source_dirs[GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275]) { -- -1.8.5.3 +1.9.0 diff --git a/0014-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch b/0016-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch similarity index 89% rename from 0014-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch rename to 0016-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch index cc899a3..8e8e67f 100644 --- a/0014-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch +++ b/0016-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch @@ -1,7 +1,7 @@ -From 1ce3cb44b6488abe1ae0eb58902a5e968ee9aca8 Mon Sep 17 00:00:00 2001 +From 76455c52e6315685813dd1f880977d4781f3fe73 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 02:30:52 +0000 -Subject: [PATCH 014/112] freebsd/hostdisk.c is only ever compiled on FreeBSD +Subject: [PATCH 016/103] freebsd/hostdisk.c is only ever compiled on FreeBSD * grub-core/osdep/freebsd/hostdisk.c (grub_util_fd_open): Remove redundant preprocessor conditional. @@ -11,7 +11,7 @@ redundant preprocessor conditional. 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 61f33ce..4268e76 100644 +index 6a382e4..a80f172 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -44,5 +44,5 @@ index bd5fddb..eb202dc 100644 return ret; } -- -1.8.5.3 +1.9.0 diff --git a/0015-Prefer-more-portable-test-1-constructs.patch b/0017-Prefer-more-portable-test-1-constructs.patch similarity index 96% rename from 0015-Prefer-more-portable-test-1-constructs.patch rename to 0017-Prefer-more-portable-test-1-constructs.patch index 9a317a3..a9ea359 100644 --- a/0015-Prefer-more-portable-test-1-constructs.patch +++ b/0017-Prefer-more-portable-test-1-constructs.patch @@ -1,7 +1,7 @@ -From ae7cb4e6c3d74ddc3c3e61e62380d1807358a901 Mon Sep 17 00:00:00 2001 +From 942d03cf562e626418a0553a6e22e5c9cb7e7de4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 15:24:50 +0000 -Subject: [PATCH 015/112] Prefer more portable test(1) constructs +Subject: [PATCH 017/103] Prefer more portable test(1) constructs * util/grub.d/00_header.in (make_timeout): Use && rather than test -a. @@ -19,7 +19,7 @@ rather than test -o. 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 4268e76..0710c08 100644 +index a80f172..30084cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,14 @@ @@ -105,5 +105,5 @@ index 0470e66..7cf8487 100644 continue fi -- -1.8.5.3 +1.9.0 diff --git a/0016-NEWS-Add-few-missing-entries.patch b/0018-NEWS-Add-few-missing-entries.patch similarity index 95% rename from 0016-NEWS-Add-few-missing-entries.patch rename to 0018-NEWS-Add-few-missing-entries.patch index 1aa0483..c95ece5 100644 --- a/0016-NEWS-Add-few-missing-entries.patch +++ b/0018-NEWS-Add-few-missing-entries.patch @@ -1,7 +1,7 @@ -From 30ad0dfbb129fb6d7d072fd52fe127a5f053aa9c Mon Sep 17 00:00:00 2001 +From ed742dc11fee69471c07101c814fc27a36b83768 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:31:10 +0100 -Subject: [PATCH 016/112] * NEWS: Add few missing entries. +Subject: [PATCH 018/103] * NEWS: Add few missing entries. --- ChangeLog | 4 ++++ @@ -9,7 +9,7 @@ Subject: [PATCH 016/112] * NEWS: Add few missing entries. 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 0710c08..a5474d1 100644 +index 30084cf..5eea8a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -96,5 +96,5 @@ index 49a2459..a61df94 100644 improvements to the build system. * Remove variable length arrays. -- -1.8.5.3 +1.9.0 diff --git a/0017-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch b/0019-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch similarity index 93% rename from 0017-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch rename to 0019-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch index 1f172df..8631ddf 100644 --- a/0017-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch +++ b/0019-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch @@ -1,7 +1,7 @@ -From dc4cae71d718d12f6ddc01dd7296ad8d659e35ad Mon Sep 17 00:00:00 2001 +From cadbf009147f14d3e7f33bf0f29cefb7a26aeb26 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:41:47 +0100 -Subject: [PATCH 017/112] * grub-core/kern/efi/efi.c: Ensure that the +Subject: [PATCH 019/103] * grub-core/kern/efi/efi.c: Ensure that the result starts with / and has no //. --- @@ -10,7 +10,7 @@ Subject: [PATCH 017/112] * grub-core/kern/efi/efi.c: Ensure that the 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog -index a5474d1..9dd67e4 100644 +index 5eea8a3..b42fd65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -86,5 +86,5 @@ index b253141..b9eb1ab 100644 return name; } -- -1.8.5.3 +1.9.0 diff --git a/0018-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch b/0020-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch similarity index 87% rename from 0018-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch rename to 0020-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch index d938cba..c1933ff 100644 --- a/0018-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch +++ b/0020-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch @@ -1,7 +1,7 @@ -From c7c98ae6f72c00c569b2977e0a3e2a931286562b Mon Sep 17 00:00:00 2001 +From a97ddeedaa2d65158ea9489cb73ff187fd8ff306 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:43:29 +0100 -Subject: [PATCH 018/112] * util/grub-mount.c: Extend GCC warning +Subject: [PATCH 020/103] * util/grub-mount.c: Extend GCC warning workaround to grub-mount. --- @@ -10,7 +10,7 @@ Subject: [PATCH 018/112] * util/grub-mount.c: Extend GCC warning 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 9dd67e4..acebfc5 100644 +index b42fd65..7241046 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ @@ -43,5 +43,5 @@ index 118881e..19de2e6 100644 static const char *root = NULL; grub_device_t dev = NULL; -- -1.8.5.3 +1.9.0 diff --git a/0019-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch b/0021-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch similarity index 97% rename from 0019-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch rename to 0021-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch index a064b02..595a654 100644 --- a/0019-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch +++ b/0021-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch @@ -1,7 +1,7 @@ -From 823eab7afd99564aebcf6c553de97a5dde8cc140 Mon Sep 17 00:00:00 2001 +From 270a7a0d557ecdedc7aaba8dfba01d45635455e9 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 19:50:54 +0400 -Subject: [PATCH 019/112] reintroduce BUILD_LDFLAGS for the cross-compile case +Subject: [PATCH 021/103] 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 @@ -20,7 +20,7 @@ for build and host now. 5 files changed, 24 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog -index acebfc5..8a82048 100644 +index 7241046..86053ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ @@ -149,5 +149,5 @@ index 1b3142d..13b7979 100644 # trigtables.c -- -1.8.5.3 +1.9.0 diff --git a/0020-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch b/0022-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch similarity index 95% rename from 0020-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch rename to 0022-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch index c0bfd91..f195f50 100644 --- a/0020-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch +++ b/0022-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch @@ -1,7 +1,7 @@ -From aee2201f80c42a44da152d918849860be73fd6a7 Mon Sep 17 00:00:00 2001 +From e5f0bfe517d7b07bcc940c16bbfe89daed17163f Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 16:57:35 +0100 -Subject: [PATCH 020/112] * grub-core/term/terminfo.c: Recognize keys +Subject: [PATCH 022/103] * grub-core/term/terminfo.c: Recognize keys F1-F12. --- @@ -10,7 +10,7 @@ Subject: [PATCH 020/112] * grub-core/term/terminfo.c: Recognize keys 2 files changed, 54 insertions(+), 36 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 8a82048..57f77be 100644 +index 86053ae..1d530ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -151,5 +151,5 @@ index 3d48b19..f0d3e3d 100644 } #undef CONTINUE_READ -- -1.8.5.3 +1.9.0 diff --git a/0021-Fix-ChangeLog-date.patch b/0023-Fix-ChangeLog-date.patch similarity index 78% rename from 0021-Fix-ChangeLog-date.patch rename to 0023-Fix-ChangeLog-date.patch index 2d5c433..67908d4 100644 --- a/0021-Fix-ChangeLog-date.patch +++ b/0023-Fix-ChangeLog-date.patch @@ -1,14 +1,14 @@ -From c2e61b87fb4f7d7b9363bb1b5c58c03a0566e106 Mon Sep 17 00:00:00 2001 +From d55d279aaf9e05f5adee41f70eeca2533fa2bc03 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:01:16 +0400 -Subject: [PATCH 021/112] Fix ChangeLog date +Subject: [PATCH 023/103] Fix ChangeLog date --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 57f77be..459ac23 100644 +index 1d530ce..da20112 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,7 @@ @@ -21,5 +21,5 @@ index 57f77be..459ac23 100644 * configure.ac: Add support for BUILD_LDFLAGS. * Makefile.am: Use BUILD_LDFLAGS for build time programs here ... -- -1.8.5.3 +1.9.0 diff --git a/0022-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch b/0024-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch similarity index 90% rename from 0022-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch rename to 0024-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch index 6087714..e164d26 100644 --- a/0022-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch +++ b/0024-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch @@ -1,7 +1,7 @@ -From b6f6d31b007ddbc4c6f7285afb36010af8f2af7a Mon Sep 17 00:00:00 2001 +From 458248c36f2ec209cfdd7564c8dedf0e443ced5e Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:04:11 +0400 -Subject: [PATCH 022/112] Use _W64 to detect MinGW W64-32 instead of +Subject: [PATCH 024/103] Use _W64 to detect MinGW W64-32 instead of _FILE_OFFSET_BITS In 94cee4a4c201bb506377b2c26e072eee8cb19d6f I overlooked that config.h @@ -15,7 +15,7 @@ http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00723.html 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 459ac23..3c45a35 100644 +index da20112..21fc87f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -43,5 +43,5 @@ index 79efcfa..bf6451b 100644 #define ftello ftello64 #endif -- -1.8.5.3 +1.9.0 diff --git a/0023-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch b/0025-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch similarity index 98% rename from 0023-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch rename to 0025-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch index 6e8f0f9..8f2aeed 100644 --- a/0023-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch +++ b/0025-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch @@ -1,7 +1,7 @@ -From 53478c3297bdc638f3742d35c8ace197f2abba3a Mon Sep 17 00:00:00 2001 +From 75db309b99ac486e9c6b5508722796c034cb36d6 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 20:41:24 +0400 -Subject: [PATCH 023/112] add BUILD_EXEEXT support to fix make clean on Windows +Subject: [PATCH 025/103] add BUILD_EXEEXT support to fix make clean on Windows Add $(BUILD_EXEEXT) to ensure files are removed. Also add CLEANFILES where appropriate. @@ -14,7 +14,7 @@ appropriate. 5 files changed, 40 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 3c45a35..130888a 100644 +index 21fc87f..8ae23e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ @@ -170,5 +170,5 @@ index 13b7979..826b3dd 100644 # XXX Use Automake's LEX & YACC support -- -1.8.5.3 +1.9.0 diff --git a/0024-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch b/0026-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch similarity index 98% rename from 0024-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch rename to 0026-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch index 3f178a9..39ea1a7 100644 --- a/0024-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch +++ b/0026-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch @@ -1,7 +1,7 @@ -From 389b0154fe3978f7e74a7193be2d0d7a8cf0ef74 Mon Sep 17 00:00:00 2001 +From 925662e61e6becd12efb438d386b5aee45be4ecf Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 21:22:57 +0400 -Subject: [PATCH 024/112] fix include loop on MinGW due to libintl.h pulling +Subject: [PATCH 026/103] fix include loop on MinGW due to libintl.h pulling stdio.h In file included from ./include/grub/dl.h:23:0, @@ -45,7 +45,7 @@ into separate file grub/compiler.h and include it instead. create mode 100644 include/grub/compiler.h diff --git a/ChangeLog b/ChangeLog -index 130888a..283dd80 100644 +index 8ae23e5..50ac180 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ @@ -277,5 +277,5 @@ index d393da7..8cc331d 100644 struct grub_procfs_entry { -- -1.8.5.3 +1.9.0 diff --git a/0025-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch b/0027-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch similarity index 90% rename from 0025-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch rename to 0027-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch index c68a0bb..d5202a0 100644 --- a/0025-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch +++ b/0027-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch @@ -1,7 +1,7 @@ -From 2b945debd84085f04f45fe16db750528b12b3e6e Mon Sep 17 00:00:00 2001 +From 82a8398294fbb8ef767860e27d648df3e44f9b87 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:26:40 +0100 -Subject: [PATCH 025/112] * grub-core/commands/macbless.c: Rename FILE +Subject: [PATCH 027/103] * grub-core/commands/macbless.c: Rename FILE and DIR to avoid conflicts. Reported by: Andrey Borzenkov. @@ -11,7 +11,7 @@ Subject: [PATCH 025/112] * grub-core/commands/macbless.c: Rename FILE 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 283dd80..7d11c52 100644 +index 50ac180..75ecd5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ @@ -57,5 +57,5 @@ index c521083..4724edd 100644 static grub_err_t -- -1.8.5.3 +1.9.0 diff --git a/0026-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch b/0028-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch similarity index 85% rename from 0026-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch rename to 0028-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch index 5907f9b..9eda460 100644 --- a/0026-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch +++ b/0028-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch @@ -1,7 +1,7 @@ -From a088c0ebf38e54325e10e2872bb56a02b3c97703 Mon Sep 17 00:00:00 2001 +From 5fd5c957af6bce9d59324a54e94c879285bd2897 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 18 Jan 2014 19:41:15 +0100 -Subject: [PATCH 026/112] * Makefile.util.def: Link grub-ofpathname with +Subject: [PATCH 028/103] * Makefile.util.def: Link grub-ofpathname with zfs libs. --- @@ -10,7 +10,7 @@ Subject: [PATCH 026/112] * Makefile.util.def: Link grub-ofpathname with 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 7d11c52..0629bfc 100644 +index 75ecd5f..40ffd93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -35,5 +35,5 @@ index 83df212..a286a89 100644 program = { -- -1.8.5.3 +1.9.0 diff --git a/0027-Makefile.am-default_payload.elf-Add-modules.patch b/0029-Makefile.am-default_payload.elf-Add-modules.patch similarity index 92% rename from 0027-Makefile.am-default_payload.elf-Add-modules.patch rename to 0029-Makefile.am-default_payload.elf-Add-modules.patch index 163e133..6b42bf3 100644 --- a/0027-Makefile.am-default_payload.elf-Add-modules.patch +++ b/0029-Makefile.am-default_payload.elf-Add-modules.patch @@ -1,7 +1,7 @@ -From dddf94cbf0d8e07744f28d24684aa6e29f8c1780 Mon Sep 17 00:00:00 2001 +From e7bf7f69fa55a08430efcd81472daf253fd1b7f3 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:43:19 +0100 -Subject: [PATCH 027/112] * Makefile.am (default_payload.elf): Add +Subject: [PATCH 029/103] * Makefile.am (default_payload.elf): Add modules multiboot cbmemc linux16 gzio echo help. --- @@ -10,7 +10,7 @@ Subject: [PATCH 027/112] * Makefile.am (default_payload.elf): Add 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 0629bfc..ef0ab77 100644 +index 40ffd93..23fa27e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ @@ -38,5 +38,5 @@ index aa526f5..97c062d 100644 windowsdir=$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows -- -1.8.5.3 +1.9.0 diff --git a/0028-fix-removal-of-cpu-machine-links-on-mingw-msys.patch b/0030-fix-removal-of-cpu-machine-links-on-mingw-msys.patch similarity index 90% rename from 0028-fix-removal-of-cpu-machine-links-on-mingw-msys.patch rename to 0030-fix-removal-of-cpu-machine-links-on-mingw-msys.patch index d11884c..74d976e 100644 --- a/0028-fix-removal-of-cpu-machine-links-on-mingw-msys.patch +++ b/0030-fix-removal-of-cpu-machine-links-on-mingw-msys.patch @@ -1,7 +1,7 @@ -From 02a2b7039c54c1786fc31ab2d34027eaec1c826a Mon Sep 17 00:00:00 2001 +From bad3b8b7be801e2213955727277f55d88325e714 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 22:48:04 +0400 -Subject: [PATCH 028/112] fix removal of {cpu,machine} links on mingw/msys +Subject: [PATCH 030/103] 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. @@ -15,7 +15,7 @@ Make it more clear in message that we are checking "ln -s". 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog -index ef0ab77..3c24157 100644 +index 23fa27e..58ae4f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -51,5 +51,5 @@ index 32d5477..b2bb88d 100644 [link_dir=yes else -- -1.8.5.3 +1.9.0 diff --git a/0029-grub-core-normal-main.c-read_config_file-Buffer-conf.patch b/0031-grub-core-normal-main.c-read_config_file-Buffer-conf.patch similarity index 91% rename from 0029-grub-core-normal-main.c-read_config_file-Buffer-conf.patch rename to 0031-grub-core-normal-main.c-read_config_file-Buffer-conf.patch index b2b203f..2c529cc 100644 --- a/0029-grub-core-normal-main.c-read_config_file-Buffer-conf.patch +++ b/0031-grub-core-normal-main.c-read_config_file-Buffer-conf.patch @@ -1,7 +1,7 @@ -From b5453504f83bd29248fbae94d7c5ceea54ed65c6 Mon Sep 17 00:00:00 2001 +From 1e0b6198696c7ba23945468d81dff7a8ba28c361 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 19:54:09 +0100 -Subject: [PATCH 029/112] * grub-core/normal/main.c (read_config_file): +Subject: [PATCH 031/103] * grub-core/normal/main.c (read_config_file): Buffer config file. Reduces boot time. --- @@ -10,7 +10,7 @@ Subject: [PATCH 029/112] * grub-core/normal/main.c (read_config_file): 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 3c24157..66e00d5 100644 +index 58ae4f5..0609420 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -64,5 +64,5 @@ index c36663f..3a926fc 100644 if (ctmp) old_file = grub_strdup (ctmp); -- -1.8.5.3 +1.9.0 diff --git a/0030-util-grub-install.c-Fix-a-typo.patch b/0032-util-grub-install.c-Fix-a-typo.patch similarity index 87% rename from 0030-util-grub-install.c-Fix-a-typo.patch rename to 0032-util-grub-install.c-Fix-a-typo.patch index 3dbd4fb..80345c2 100644 --- a/0030-util-grub-install.c-Fix-a-typo.patch +++ b/0032-util-grub-install.c-Fix-a-typo.patch @@ -1,7 +1,7 @@ -From f11a0491a9ee60d66d5bd084841c7548db876be7 Mon Sep 17 00:00:00 2001 +From caa0ecbe148f596f021967fc4ef02cb4f6a02852 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Jan 2014 20:02:51 +0100 -Subject: [PATCH 030/112] * util/grub-install.c: Fix a typo. +Subject: [PATCH 032/103] * util/grub-install.c: Fix a typo. --- ChangeLog | 4 ++++ @@ -9,7 +9,7 @@ Subject: [PATCH 030/112] * util/grub-install.c: Fix a typo. 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 66e00d5..1b53ccd 100644 +index 0609420..dc6df34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ @@ -36,5 +36,5 @@ index 4608b80..5903f34 100644 if (disk_module && grub_strcmp (disk_module, "ata") == 0) -- -1.8.5.3 +1.9.0 diff --git a/0031-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch b/0033-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch similarity index 94% rename from 0031-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch rename to 0033-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch index 0b9811f..8347a02 100644 --- a/0031-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch +++ b/0033-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch @@ -1,7 +1,7 @@ -From 9cc802e03875429ff772eb3f007ee11eb1ad0c25 Mon Sep 17 00:00:00 2001 +From 656469fae69a5b7c6ddaaef717433b101c60e8c3 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 18 Jan 2014 23:15:40 +0400 -Subject: [PATCH 031/112] use MODULE_FILES for genemuinit* instead of MOD_FILES +Subject: [PATCH 033/103] use MODULE_FILES for genemuinit* instead of MOD_FILES MinGW native nm does not support ELF binaries. --- @@ -12,7 +12,7 @@ MinGW native nm does not support ELF binaries. 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 1b53ccd..7d207e4 100644 +index dc6df34..9073b1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ @@ -87,5 +87,5 @@ index 6b83f59..a99a15d 100644 fi done -- -1.8.5.3 +1.9.0 diff --git a/0032-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch b/0034-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch similarity index 93% rename from 0032-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch rename to 0034-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch index 3ab062f..988e5e0 100644 --- a/0032-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch +++ b/0034-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch @@ -1,7 +1,7 @@ -From d03d817508bd52995ce9ea6c1fa697856b66de46 Mon Sep 17 00:00:00 2001 +From aa4a525fe853594ed566b2bafa7b8bc101c78a88 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Jan 2014 02:28:46 +0000 -Subject: [PATCH 032/112] Ignore EPERM when modifying kern.geom.debugflags +Subject: [PATCH 034/103] 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, @@ -16,7 +16,7 @@ perfectly reasonable operations. 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 7d207e4..cdeea66 100644 +index 9073b1e..a7aee43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ @@ -54,5 +54,5 @@ index eb202dc..6145d07 100644 ret = open (os_dev, flags, S_IROTH | S_IRGRP | S_IRUSR | S_IWUSR); -- -1.8.5.3 +1.9.0 diff --git a/0033-change-stop-condition-to-avoid-infinite-loops.patch b/0035-change-stop-condition-to-avoid-infinite-loops.patch similarity index 90% rename from 0033-change-stop-condition-to-avoid-infinite-loops.patch rename to 0035-change-stop-condition-to-avoid-infinite-loops.patch index 3cb9cfa..12d8f2c 100644 --- a/0033-change-stop-condition-to-avoid-infinite-loops.patch +++ b/0035-change-stop-condition-to-avoid-infinite-loops.patch @@ -1,7 +1,7 @@ -From f18970e0e0c37f5407f3259fe343dc825dfa4170 Mon Sep 17 00:00:00 2001 +From fe1f47e9190113ad7318f46e0e66a4497ebb6135 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 21 Jan 2014 10:49:39 -0200 -Subject: [PATCH 033/112] change stop condition to avoid infinite loops +Subject: [PATCH 035/103] 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. @@ -15,7 +15,7 @@ this never happens. 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index cdeea66..bbbe539 100644 +index a7aee43..0df6854 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ @@ -48,5 +48,5 @@ index 0e57e93..56355f3 100644 /* Maybe should be better have a fixed number of packets for each card and just mark them as used and not used. */ -- -1.8.5.3 +1.9.0 diff --git a/0034-increase-network-try-interval-gradually.patch b/0036-increase-network-try-interval-gradually.patch similarity index 95% rename from 0034-increase-network-try-interval-gradually.patch rename to 0036-increase-network-try-interval-gradually.patch index 5894025..d8d92bf 100644 --- a/0034-increase-network-try-interval-gradually.patch +++ b/0036-increase-network-try-interval-gradually.patch @@ -1,7 +1,7 @@ -From 7533a737e4965d314c86f06a35a5f3f9cffb8318 Mon Sep 17 00:00:00 2001 +From ec46305a8533a9880dbfd157c2ba8cc1354ab504 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 21 Jan 2014 11:03:51 -0200 -Subject: [PATCH 034/112] increase network try interval gradually +Subject: [PATCH 036/103] increase network try interval gradually * grub-core/net/arp.c (grub_net_arp_send_request): Increase network try interval gradually. @@ -19,7 +19,7 @@ interval gradually. 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog -index bbbe539..33fa6b1 100644 +index 0df6854..b35563e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ @@ -107,5 +107,5 @@ index de6259e..0e0a605 100644 #endif /* ! GRUB_NET_HEADER */ -- -1.8.5.3 +1.9.0 diff --git a/0035-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch b/0037-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch similarity index 87% rename from 0035-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch rename to 0037-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch index c1ec284..bd41e32 100644 --- a/0035-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch +++ b/0037-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch @@ -1,7 +1,7 @@ -From 35a28bea958018b24f6a2a7dc3cf2e72bc9e2953 Mon Sep 17 00:00:00 2001 +From e9cbf597953d597dd15c0dc0be77a9583fa733f7 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 19:29:33 +0400 -Subject: [PATCH 035/112] look for DejaVu also in /usr/share/fonts/truetype +Subject: [PATCH 037/103] look for DejaVu also in /usr/share/fonts/truetype It is installed in this path on openSUSE. --- @@ -10,7 +10,7 @@ It is installed in this path on openSUSE. 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 33fa6b1..e884b4e 100644 +index b35563e..b2e6d39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -35,5 +35,5 @@ index cf3de3b..120263e 100644 DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext" break 2 -- -1.8.5.3 +1.9.0 diff --git a/0036-Show-detected-path-to-DejaVuSans-in-configure-summar.patch b/0038-Show-detected-path-to-DejaVuSans-in-configure-summar.patch similarity index 83% rename from 0036-Show-detected-path-to-DejaVuSans-in-configure-summar.patch rename to 0038-Show-detected-path-to-DejaVuSans-in-configure-summar.patch index da8efb1..5c878cd 100644 --- a/0036-Show-detected-path-to-DejaVuSans-in-configure-summar.patch +++ b/0038-Show-detected-path-to-DejaVuSans-in-configure-summar.patch @@ -1,7 +1,7 @@ -From 85db438f517cda4f9b9acfc0281ebf6cf7c47e1a Mon Sep 17 00:00:00 2001 +From 8dd8e1c0e27070d2f172ddaf4e7528496dfd8b45 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 19:41:11 +0400 -Subject: [PATCH 036/112] Show detected path to DejaVuSans in configure summary +Subject: [PATCH 038/103] Show detected path to DejaVuSans in configure summary --- ChangeLog | 1 + @@ -9,7 +9,7 @@ Subject: [PATCH 036/112] Show detected path to DejaVuSans in configure summary 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog -index e884b4e..f463e8b 100644 +index b2e6d39..30b8e8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ @@ -33,5 +33,5 @@ index 120263e..8888c2f 100644 echo starfield theme: No "($starfield_excuse)" fi -- -1.8.5.3 +1.9.0 diff --git a/0037-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch b/0039-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch similarity index 91% rename from 0037-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch rename to 0039-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch index 693ac4e..ce66ea7 100644 --- a/0037-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch +++ b/0039-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch @@ -1,7 +1,7 @@ -From 7954e6250ac4f0e1287c5a89dd13539dfaa711e8 Mon Sep 17 00:00:00 2001 +From b56a7569613e59c14d09c77b428884a9acb19e7d Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 21 Jan 2014 20:54:09 +0400 -Subject: [PATCH 037/112] add GRUB_WINDOWS_EXTRA_DIST to allow shipping runtime +Subject: [PATCH 039/103] add GRUB_WINDOWS_EXTRA_DIST to allow shipping runtime files Not all toolkits provide static libraries. This patch enables creation of self @@ -24,7 +24,7 @@ targets. 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog -index f463e8b..749d27c 100644 +index 30b8e8a..f2c75dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -58,5 +58,5 @@ index 97c062d..f02ae0a 100644 EXTRA_DIST += linguas.sh -- -1.8.5.3 +1.9.0 diff --git a/0038-util-grub-install.c-write_to_disk-Add-an-info-messag.patch b/0040-util-grub-install.c-write_to_disk-Add-an-info-messag.patch similarity index 84% rename from 0038-util-grub-install.c-write_to_disk-Add-an-info-messag.patch rename to 0040-util-grub-install.c-write_to_disk-Add-an-info-messag.patch index f3b7458..2d958e1 100644 --- a/0038-util-grub-install.c-write_to_disk-Add-an-info-messag.patch +++ b/0040-util-grub-install.c-write_to_disk-Add-an-info-messag.patch @@ -1,7 +1,7 @@ -From 898e360b77d581651cdb098d920868676055decf Mon Sep 17 00:00:00 2001 +From 4a640fa8d9e9f463dfc9a1c1e9adfc758c58ed16 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 23 Jan 2014 12:05:36 +0000 -Subject: [PATCH 038/112] * util/grub-install.c (write_to_disk): Add an info +Subject: [PATCH 040/103] * util/grub-install.c (write_to_disk): Add an info message. --- @@ -10,7 +10,7 @@ Subject: [PATCH 038/112] * util/grub-install.c (write_to_disk): Add an info 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 749d27c..925e448 100644 +index f2c75dc..21417f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -34,5 +34,5 @@ index 5903f34..787dc90 100644 core_size, core_img); free (core_img); -- -1.8.5.3 +1.9.0 diff --git a/0039-util-grub-install.c-List-available-targets.patch b/0041-util-grub-install.c-List-available-targets.patch similarity index 95% rename from 0039-util-grub-install.c-List-available-targets.patch rename to 0041-util-grub-install.c-List-available-targets.patch index 3ba942b..7e37557 100644 --- a/0039-util-grub-install.c-List-available-targets.patch +++ b/0041-util-grub-install.c-List-available-targets.patch @@ -1,7 +1,7 @@ -From d9a6e0c6231786a9f2e003606ee6ba16f1fb5f79 Mon Sep 17 00:00:00 2001 +From 9779a803f3368df23a4a90f2475d6d78672e83c0 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 24 Jan 2014 18:09:25 +0100 -Subject: [PATCH 039/112] * util/grub-install.c: List available targets. +Subject: [PATCH 041/103] * util/grub-install.c: List available targets. --- ChangeLog | 4 ++++ @@ -11,7 +11,7 @@ Subject: [PATCH 039/112] * util/grub-install.c: List available targets. 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 925e448..f37f8b1 100644 +index 21417f8..f3bb077 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -105,5 +105,5 @@ index 787dc90..2e6226a 100644 return xasprintf (text, program_name, GRUB_BOOT_DIR_NAME "/" GRUB_DIR_NAME); default: -- -1.8.5.3 +1.9.0 diff --git a/0040-Fix-several-translatable-strings.patch b/0042-Fix-several-translatable-strings.patch similarity index 95% rename from 0040-Fix-several-translatable-strings.patch rename to 0042-Fix-several-translatable-strings.patch index 6de4ec5..6408813 100644 --- a/0040-Fix-several-translatable-strings.patch +++ b/0042-Fix-several-translatable-strings.patch @@ -1,7 +1,7 @@ -From a02fb69a9f830c19f5bf541a2c8e5ddd905e5904 Mon Sep 17 00:00:00 2001 +From 3886fbac17202ede59c051ef90046b01d199ecc9 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 24 Jan 2014 18:20:27 +0100 -Subject: [PATCH 040/112] Fix several translatable strings. +Subject: [PATCH 042/103] Fix several translatable strings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -15,7 +15,7 @@ Content-Transfer-Encoding: 8bit 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog -index f37f8b1..192faac 100644 +index f3bb077..bc1a08a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ @@ -74,5 +74,5 @@ index 5e944c2..f4fda6d 100644 {"output", 'o', N_("FILE"), 0, N_("write output to FILE [default=stdout]."), 0}, {"isolinux", 'i', 0, 0, N_("assume input is an isolinux configuration file."), 0}, -- -1.8.5.3 +1.9.0 diff --git a/0041-do-not-set-default-prefix-in-grub-mkimage.patch b/0043-do-not-set-default-prefix-in-grub-mkimage.patch similarity index 93% rename from 0041-do-not-set-default-prefix-in-grub-mkimage.patch rename to 0043-do-not-set-default-prefix-in-grub-mkimage.patch index 8798daa..3b7d6c5 100644 --- a/0041-do-not-set-default-prefix-in-grub-mkimage.patch +++ b/0043-do-not-set-default-prefix-in-grub-mkimage.patch @@ -1,7 +1,7 @@ -From 1394cba424ec21b2d7f87b89517aeaa80125cb80 Mon Sep 17 00:00:00 2001 +From 7a7665be5063a4f2aa97fb7e8f8585d38f7821ac Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 25 Jan 2014 19:54:51 +0400 -Subject: [PATCH 041/112] do not set default prefix in grub-mkimage +Subject: [PATCH 043/103] 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. @@ -11,7 +11,7 @@ Let caller set it explicitly to avoid any ambiguity. 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 192faac..000cfe3 100644 +index bc1a08a..3b39980 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -71,5 +71,5 @@ index a2bd4c1..1e0bcf1 100644 arguments.memdisk, arguments.pubkeys, arguments.npubkeys, arguments.config, -- -1.8.5.3 +1.9.0 diff --git a/0042-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch b/0044-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch similarity index 96% rename from 0042-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch rename to 0044-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch index d9920b3..6a1b24a 100644 --- a/0042-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch +++ b/0044-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch @@ -1,7 +1,7 @@ -From 9a999c97353bddd8c3e6bfdbe7fd19d9f3d54a22 Mon Sep 17 00:00:00 2001 +From 67c5e4180039d4b98039620f1d109a9323e4d2fe Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 25 Jan 2014 21:49:41 +0400 -Subject: [PATCH 042/112] fix Mingw W64-32 cross compile failure due to printf +Subject: [PATCH 044/103] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h In file included from util/misc.c:36:0: @@ -25,7 +25,7 @@ v3: modify g10lib.h during import 5 files changed, 21 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 000cfe3..5707a2a 100644 +index 3b39980..50d07c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ @@ -104,5 +104,5 @@ index 63ebb90..2b3322d 100644 f.close () fw.close () -- -1.8.5.3 +1.9.0 diff --git a/0043-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch b/0045-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch similarity index 90% rename from 0043-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch rename to 0045-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch index 60f7f65..cc8a31a 100644 --- a/0043-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch +++ b/0045-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch @@ -1,7 +1,7 @@ -From 9c84b40fa784f6c991f1ad16327843f3998134e2 Mon Sep 17 00:00:00 2001 +From 7cb3659aebdd85ceb3b582b5c342b5c2ba84e904 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 26 Jan 2014 02:36:05 +0100 -Subject: [PATCH 043/112] * grub-core/term/serial.c +Subject: [PATCH 045/103] * 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. @@ -11,7 +11,7 @@ Subject: [PATCH 043/112] * grub-core/term/serial.c 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 5707a2a..1bb6bff 100644 +index 50d07c8..6727e6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -56,5 +56,5 @@ index b581a76..c9b5574 100644 } -- -1.8.5.3 +1.9.0 diff --git a/0044-grub-install-support-for-partitioned-partx-loop-devi.patch b/0046-grub-install-support-for-partitioned-partx-loop-devi.patch similarity index 89% rename from 0044-grub-install-support-for-partitioned-partx-loop-devi.patch rename to 0046-grub-install-support-for-partitioned-partx-loop-devi.patch index 8847546..ea01129 100644 --- a/0044-grub-install-support-for-partitioned-partx-loop-devi.patch +++ b/0046-grub-install-support-for-partitioned-partx-loop-devi.patch @@ -1,7 +1,7 @@ -From 36e229c5a97a946fa5312e8c2db8deaa9ab19c5c Mon Sep 17 00:00:00 2001 +From bb87dccc37bf223ecf207660511efc93bd021a40 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 26 Jan 2014 02:56:04 +0100 -Subject: [PATCH 044/112] grub-install: support for partitioned partx +Subject: [PATCH 046/103] grub-install: support for partitioned partx loop devices. * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect @@ -12,7 +12,7 @@ Subject: [PATCH 044/112] grub-install: support for partitioned partx 2 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 1bb6bff..a0fd566 100644 +index 6727e6e..b80896b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ @@ -51,5 +51,5 @@ index 772de0a..19581d3 100644 return path; -- -1.8.5.3 +1.9.0 diff --git a/0047-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch b/0047-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch new file mode 100644 index 0000000..478eafa --- /dev/null +++ b/0047-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch @@ -0,0 +1,40 @@ +From 2919748f67c5e4cf7ec9ce67604c5a82fb09036f Mon Sep 17 00:00:00 2001 +From: Vladimir Serbinenko +Date: Sun, 26 Jan 2014 03:31:10 +0100 +Subject: [PATCH 047/103] * grub-core/term/at_keyboard.c: Tolerate + missing keyboard. + +--- + ChangeLog | 4 ++++ + grub-core/term/at_keyboard.c | 3 +++ + 2 files changed, 7 insertions(+) + +diff --git a/ChangeLog b/ChangeLog +index b80896b..44f018b 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,7 @@ ++2014-01-26 Vladimir Serbinenko ++ ++ * grub-core/term/at_keyboard.c: Tolerate missing keyboard. ++ + 2014-01-26 Mike Gilbert + + grub-install: support for partitioned partx loop devices. +diff --git a/grub-core/term/at_keyboard.c b/grub-core/term/at_keyboard.c +index f5071ce..b4257e8 100644 +--- a/grub-core/term/at_keyboard.c ++++ b/grub-core/term/at_keyboard.c +@@ -396,6 +396,9 @@ fetch_key (int *is_break) + if (! KEYBOARD_ISREADY (grub_inb (KEYBOARD_REG_STATUS))) + return -1; + at_key = grub_inb (KEYBOARD_REG_DATA); ++ /* May happen if no keyboard is connected. Just ignore this. */ ++ if (at_key == 0xff) ++ return -1; + if (at_key == 0xe0) + { + e0_received = 1; +-- +1.9.0 + diff --git a/0048-.gitignore-add-missing-files-and-.exe-variants.patch b/0048-.gitignore-add-missing-files-and-.exe-variants.patch new file mode 100644 index 0000000..3c13ced --- /dev/null +++ b/0048-.gitignore-add-missing-files-and-.exe-variants.patch @@ -0,0 +1,34 @@ +From 23537251e8447ea8a43b0ddc7c4e15fde69adfb2 Mon Sep 17 00:00:00 2001 +From: Paulo Flabiano Smorigo +Date: Wed, 29 Jan 2014 13:26:00 -0200 +Subject: [PATCH 048/103] .gitignore: add missing files and .exe variants. + +--- + .gitignore | 7 +++++++ + ChangeLog | 6 +++++- + 2 files changed, 12 insertions(+), 1 deletion(-) + +diff --git a/ChangeLog b/ChangeLog +index 44f018b..f4cf40f 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,7 @@ ++2014-01-29 Paulo Flabiano Smorigo ++ ++ * .gitignore: add missing files and .exe variants. ++ + 2014-01-26 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c: Tolerate missing keyboard. +@@ -1113,7 +1117,7 @@ + + 2013-12-14 Vladimir Serbinenko + +- * .gitignore: Add .exe variants. Add missing files. Remove few outdated ++ * .gitignore: add .exe variants. add missing files. remove few outdated + entries. + + 2013-12-14 Vladimir Serbinenko +-- +1.9.0 + diff --git a/0045-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch b/0049-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch similarity index 53% rename from 0045-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch rename to 0049-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch index 19bc1a3..b127be8 100644 --- a/0045-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch +++ b/0049-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch @@ -1,64 +1,27 @@ -From 47239a0fa4ac48ad86071d1bf6e1f9b0dc70b46b Mon Sep 17 00:00:00 2001 +From c3011bbece033baf950468e9c538a58822c839bc Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko -Date: Sun, 26 Jan 2014 03:31:10 +0100 -Subject: [PATCH 045/112] * grub-core/term/at_keyboard.c: Tolerate - missing keyboard. +Date: Wed, 29 Jan 2014 23:41:48 +0100 +Subject: [PATCH 049/103] * util/grub-mkfont.c: Downgrade warnings about + unhandled features to debug. --- - .gitignore | 7 +++++++ - ChangeLog | 19 ++++++++++++++++++- - grub-core/term/at_keyboard.c | 3 +++ - util/grub-mkfont.c | 14 ++++++++------ - 4 files changed, 36 insertions(+), 7 deletions(-) + ChangeLog | 5 +++++ + util/grub-mkfont.c | 14 ++++++++------ + 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog -index a0fd566..fe06210 100644 +index f4cf40f..7aac69a 100644 --- a/ChangeLog +++ b/ChangeLog -@@ -1,3 +1,20 @@ +@@ -1,3 +1,8 @@ +2014-01-29 Vladimir Serbinenko + + * util/grub-mkfont.c: Downgrade warnings about unhandled features + to debug. + -+2014-01-29 Vladimir Serbinenko -+ -+ * grub-core/term/at_keyboard.c: Tolerate missing keyboard. -+ -+2014-01-29 Paulo Flabiano Smorigo -+ -+ * .gitignore: add missing files and .exe variants. -+ -+2014-01-26 Vladimir Serbinenko -+ -+ * grub-core/term/at_keyboard.c: Tolerate missing keyboard. -+ - 2014-01-26 Mike Gilbert + 2014-01-29 Paulo Flabiano Smorigo - grub-install: support for partitioned partx loop devices. -@@ -1116,7 +1133,7 @@ - - 2013-12-14 Vladimir Serbinenko - -- * .gitignore: Add .exe variants. Add missing files. Remove few outdated -+ * .gitignore: add .exe variants. add missing files. remove few outdated - entries. - - 2013-12-14 Vladimir Serbinenko -diff --git a/grub-core/term/at_keyboard.c b/grub-core/term/at_keyboard.c -index f5071ce..b4257e8 100644 ---- a/grub-core/term/at_keyboard.c -+++ b/grub-core/term/at_keyboard.c -@@ -396,6 +396,9 @@ fetch_key (int *is_break) - if (! KEYBOARD_ISREADY (grub_inb (KEYBOARD_REG_STATUS))) - return -1; - at_key = grub_inb (KEYBOARD_REG_DATA); -+ /* May happen if no keyboard is connected. Just ignore this. */ -+ if (at_key == 0xff) -+ return -1; - if (at_key == 0xe0) - { - e0_received = 1; + * .gitignore: add missing files and .exe variants. diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c index 3cb02ad..3de07ee 100644 --- a/util/grub-mkfont.c @@ -106,5 +69,5 @@ index 3cb02ad..3de07ee 100644 } } -- -1.8.5.3 +1.9.0 diff --git a/0046-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch b/0050-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch similarity index 91% rename from 0046-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch rename to 0050-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch index 5b15386..17bc496 100644 --- a/0046-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch +++ b/0050-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch @@ -1,7 +1,7 @@ -From 8ce75765ddc6b174873e7d05c15e86535c4780e8 Mon Sep 17 00:00:00 2001 +From 8a51c8b80452b6156148177dff95532160a88541 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:43:25 +0100 -Subject: [PATCH 046/112] * grub-core/disk/ahci.c: Do not enable I/O +Subject: [PATCH 050/103] * grub-core/disk/ahci.c: Do not enable I/O decoding and keep enabling busmaster for the end. --- @@ -10,7 +10,7 @@ Subject: [PATCH 046/112] * grub-core/disk/ahci.c: Do not enable I/O 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog -index fe06210..db12dad 100644 +index 7aac69a..1b8aae2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -53,5 +53,5 @@ index 0b13fb8..18c1327 100644 if (adevs[i]) { -- -1.8.5.3 +1.9.0 diff --git a/0047-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch b/0051-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch similarity index 91% rename from 0047-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch rename to 0051-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch index afef38a..5203c0c 100644 --- a/0047-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch +++ b/0051-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch @@ -1,7 +1,7 @@ -From cc6729328fa91ee4fab14686cb892ecaf7681345 Mon Sep 17 00:00:00 2001 +From 8465dd514df3e1bbdec7e001c7d3c343cd355d42 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:45:18 +0100 -Subject: [PATCH 047/112] * grub-core/disk/ahci.c: Allocate and clean +Subject: [PATCH 051/103] * grub-core/disk/ahci.c: Allocate and clean space for all possible 32 slots to avoid pointing to uninited area. --- @@ -10,7 +10,7 @@ Subject: [PATCH 047/112] * grub-core/disk/ahci.c: Allocate and clean 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index db12dad..734f762 100644 +index 1b8aae2..2a8f372 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -51,5 +51,5 @@ index 18c1327..d63fd09 100644 = grub_dma_get_phys (adevs[i]->command_table_chunk); -- -1.8.5.3 +1.9.0 diff --git a/0048-grub-core-disk-ahci.c-Add-safety-cleanups.patch b/0052-grub-core-disk-ahci.c-Add-safety-cleanups.patch similarity index 92% rename from 0048-grub-core-disk-ahci.c-Add-safety-cleanups.patch rename to 0052-grub-core-disk-ahci.c-Add-safety-cleanups.patch index d21a5a9..ca412da 100644 --- a/0048-grub-core-disk-ahci.c-Add-safety-cleanups.patch +++ b/0052-grub-core-disk-ahci.c-Add-safety-cleanups.patch @@ -1,7 +1,7 @@ -From baf35aa3bad71e184058a348e33469db74c88ac2 Mon Sep 17 00:00:00 2001 +From 1d7a31631db690d4159e1c1415cb074c9ef25c1f Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:46:17 +0100 -Subject: [PATCH 048/112] * grub-core/disk/ahci.c: Add safety cleanups. +Subject: [PATCH 052/103] * grub-core/disk/ahci.c: Add safety cleanups. --- ChangeLog | 4 ++++ @@ -9,7 +9,7 @@ Subject: [PATCH 048/112] * grub-core/disk/ahci.c: Add safety cleanups. 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 734f762..b144c49 100644 +index 2a8f372..0385937 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ @@ -58,5 +58,5 @@ index d63fd09..643e691 100644 while ((dev->hba->ports[dev->port].command & GRUB_AHCI_HBA_PORT_CMD_CR)) if (grub_get_time_ms () > endtime) -- -1.8.5.3 +1.9.0 diff --git a/0049-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch b/0053-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch similarity index 91% rename from 0049-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch rename to 0053-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch index 17f33ea..90fc13f 100644 --- a/0049-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch +++ b/0053-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch @@ -1,7 +1,7 @@ -From bb56ea0f455c89c582d41ef090ac9844cbf6d554 Mon Sep 17 00:00:00 2001 +From 056070c0cadb1af383d46ca6441f34d79c0298ca Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:49:51 +0100 -Subject: [PATCH 049/112] * grub-core/disk/ahci.c: Properly handle +Subject: [PATCH 053/103] * grub-core/disk/ahci.c: Properly handle transactions with no transferred data. --- @@ -10,7 +10,7 @@ Subject: [PATCH 049/112] * grub-core/disk/ahci.c: Properly handle 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog -index b144c49..3ca4bb4 100644 +index 0385937..d84aff0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -50,5 +50,5 @@ index 643e691..fdd40c6 100644 | (parms->write ? GRUB_AHCI_CONFIG_WRITE : GRUB_AHCI_CONFIG_READ) | (parms->taskfile.cmd == 8 ? (1 << 8) : 0); -- -1.8.5.3 +1.9.0 diff --git a/0050-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch b/0054-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch similarity index 88% rename from 0050-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch rename to 0054-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch index 815610d..f61eac4 100644 --- a/0050-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch +++ b/0054-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch @@ -1,7 +1,7 @@ -From dcff0582978093e3aa995a50120c35553e105edd Mon Sep 17 00:00:00 2001 +From a50391c562f002d026dad5ef14ab7fd175154e07 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 29 Jan 2014 23:50:49 +0100 -Subject: [PATCH 050/112] * grub-core/disk/ahci.c: Increase timeout. +Subject: [PATCH 054/103] * grub-core/disk/ahci.c: Increase timeout. Some SSDs take up to 7 seconds to recover if last poweroff was bad. --- @@ -10,7 +10,7 @@ Subject: [PATCH 050/112] * grub-core/disk/ahci.c: Increase timeout. 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 3ca4bb4..1151ced 100644 +index d84aff0..9d0b00b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -38,5 +38,5 @@ index fdd40c6..5e4a639 100644 if (grub_get_time_ms () > endtime) { -- -1.8.5.3 +1.9.0 diff --git a/0051-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch b/0055-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch similarity index 85% rename from 0051-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch rename to 0055-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch index 08c7494..dc77541 100644 --- a/0051-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch +++ b/0055-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch @@ -1,7 +1,7 @@ -From 54d09228116ac505407e380bd123fddf64f0fb79 Mon Sep 17 00:00:00 2001 +From e4aba2a9e4a0e2f7966c8225fc4f500a65c81361 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 3 Feb 2014 14:34:27 +0100 -Subject: [PATCH 051/112] * util/grub-mkfont.c: Build fix for argp.h +Subject: [PATCH 055/103] * util/grub-mkfont.c: Build fix for argp.h with older gcc. --- @@ -10,7 +10,7 @@ Subject: [PATCH 051/112] * util/grub-mkfont.c: Build fix for argp.h 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 1151ced..2605dda 100644 +index 9d0b00b..f5472af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ @@ -38,5 +38,5 @@ index 3de07ee..e6485b4 100644 #include -- -1.8.5.3 +1.9.0 diff --git a/0052-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch b/0056-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch similarity index 87% rename from 0052-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch rename to 0056-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch index cf675ea..a267e6b 100644 --- a/0052-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch +++ b/0056-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch @@ -1,7 +1,7 @@ -From a598e74ddc4b0c4716b57ed65e804e4db8941486 Mon Sep 17 00:00:00 2001 +From 51490b569b3c08672685eaf85431f7015f55b86d Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 3 Feb 2014 14:35:51 +0100 -Subject: [PATCH 052/112] * util/grub-mkrescue.c: Build fix for argp.h +Subject: [PATCH 056/103] * util/grub-mkrescue.c: Build fix for argp.h with older gcc. --- @@ -10,7 +10,7 @@ Subject: [PATCH 052/112] * util/grub-mkrescue.c: Build fix for argp.h 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog -index 2605dda..8307e11 100644 +index f5472af..2e0bdfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ @@ -40,5 +40,5 @@ index 34e0b7a..e719839 100644 #include #include -- -1.8.5.3 +1.9.0 diff --git a/0053-add-grub_env_set_net_property-function.patch b/0057-add-grub_env_set_net_property-function.patch similarity index 97% rename from 0053-add-grub_env_set_net_property-function.patch rename to 0057-add-grub_env_set_net_property-function.patch index 68bc180..b086708 100644 --- a/0053-add-grub_env_set_net_property-function.patch +++ b/0057-add-grub_env_set_net_property-function.patch @@ -1,7 +1,7 @@ -From eefe8e5ad98edc3adedf6432969574ab3b68e090 Mon Sep 17 00:00:00 2001 +From d2f5eb3848747a696b94baf9bbc525d93dc0a81c Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 4 Feb 2014 18:41:38 -0200 -Subject: [PATCH 053/112] add grub_env_set_net_property function +Subject: [PATCH 057/103] 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. @@ -14,7 +14,7 @@ Subject: [PATCH 053/112] add grub_env_set_net_property function 4 files changed, 66 insertions(+), 47 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 8307e11..675475c 100644 +index 2e0bdfc..f7338f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ @@ -195,5 +195,5 @@ index 0e0a605..538baa3 100644 grub_net_poll_cards (unsigned time, int *stop_condition); -- -1.8.5.3 +1.9.0 diff --git a/0054-add-bootpath-parser-for-open-firmware.patch b/0058-add-bootpath-parser-for-open-firmware.patch similarity index 97% rename from 0054-add-bootpath-parser-for-open-firmware.patch rename to 0058-add-bootpath-parser-for-open-firmware.patch index e79676b..ed964ea 100644 --- a/0054-add-bootpath-parser-for-open-firmware.patch +++ b/0058-add-bootpath-parser-for-open-firmware.patch @@ -1,7 +1,7 @@ -From 91824aaef6ac5080f6c5419f33fdcc8efe329ebc Mon Sep 17 00:00:00 2001 +From bec34a014c4bad329869b5316204cd07e53fd0ac Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 4 Feb 2014 19:00:55 -0200 -Subject: [PATCH 054/112] add bootpath parser for open firmware +Subject: [PATCH 058/103] add bootpath parser for open firmware It enables net boot even when there is no bootp/dhcp server. @@ -17,7 +17,7 @@ call it at grub_ieee1275_net_config_real. 4 files changed, 125 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog -index 675475c..d026637 100644 +index f7338f4..5e8eded 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ @@ -207,5 +207,5 @@ index dc54bea..8e42513 100644 /* Maps a device alias to a pathname. */ extern grub_ieee1275_phandle_t EXPORT_VAR(grub_ieee1275_chosen); -- -1.8.5.3 +1.9.0 diff --git a/0055-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch b/0059-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch similarity index 86% rename from 0055-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch rename to 0059-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch index 984e8bc..c4baef9 100644 --- a/0055-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch +++ b/0059-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch @@ -1,7 +1,7 @@ -From f8cb2c7aec369b3f12d2a05289b6f65716264079 Mon Sep 17 00:00:00 2001 +From 009445ef577c51c6b9041f5525d8138977bc24ef Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 20 Feb 2014 10:11:43 +0100 -Subject: [PATCH 055/112] * grub-core/disk/ahci.c: Ignore NPORTS field +Subject: [PATCH 059/103] * grub-core/disk/ahci.c: Ignore NPORTS field and rely on PI exclusively. --- @@ -10,7 +10,7 @@ Subject: [PATCH 055/112] * grub-core/disk/ahci.c: Ignore NPORTS field 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index d026637..b6bcfd0 100644 +index 5e8eded..19e13d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -36,5 +36,5 @@ index 5e4a639..89365cd 100644 grub_dprintf ("ahci", "%d AHCI ports, PI = 0x%x\n", nports, hba->ports_implemented); -- -1.8.5.3 +1.9.0 diff --git a/0056-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch b/0060-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch similarity index 94% rename from 0056-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch rename to 0060-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch index cc02759..10cf522 100644 --- a/0056-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch +++ b/0060-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch @@ -1,7 +1,7 @@ -From 454a98fa890038be4581226c28727481a5d174d6 Mon Sep 17 00:00:00 2001 +From 77a4d6620a9a9a9ef83fc746d14b330d842b7298 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:47:57 +0100 -Subject: [PATCH 056/112] * grub-core/kern/i386/coreboot/mmap.c: Filter +Subject: [PATCH 060/103] * grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000 region. --- @@ -10,7 +10,7 @@ Subject: [PATCH 056/112] * grub-core/kern/i386/coreboot/mmap.c: Filter 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog -index b6bcfd0..6aa347b 100644 +index 19e13d8..6af559a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ @@ -78,5 +78,5 @@ index 1197975..4d29f6b 100644 return 0; -- -1.8.5.3 +1.9.0 diff --git a/0057-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch b/0061-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch similarity index 88% rename from 0057-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch rename to 0061-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch index f4253e9..4b3bb9d 100644 --- a/0057-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch +++ b/0061-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch @@ -1,7 +1,7 @@ -From 131dca6803c35679d8ff9bc60a96f3060f44fda9 Mon Sep 17 00:00:00 2001 +From e1c64869c163e44957cca04844753c1dae60ebad Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:48:57 +0100 -Subject: [PATCH 057/112] * grub-core/loader/i386/multiboot_mbi.c +Subject: [PATCH 061/103] * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit location to 640K. --- @@ -10,7 +10,7 @@ Subject: [PATCH 057/112] * grub-core/loader/i386/multiboot_mbi.c 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 6aa347b..74485f3 100644 +index 6af559a..8087595 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -38,5 +38,5 @@ index 7431aa4..f10c087 100644 GRUB_RELOCATOR_PREFERENCE_NONE, 0); if (err) -- -1.8.5.3 +1.9.0 diff --git a/0058-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch b/0062-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch similarity index 87% rename from 0058-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch rename to 0062-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch index abb1a9b..2ad8c90 100644 --- a/0058-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch +++ b/0062-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch @@ -1,7 +1,7 @@ -From f523d8c3a8d328369672320dbd43c1bbffa119ab Mon Sep 17 00:00:00 2001 +From 710c688efe8b10b3e6b889158d80d11cca6655ec Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 09:50:47 +0100 -Subject: [PATCH 058/112] * grub-core/mmap/i386/uppermem.c (lower_hook) +Subject: [PATCH 062/103] * grub-core/mmap/i386/uppermem.c (lower_hook) [COREBOOT]: Ignore low tables for low memory calculations. --- @@ -10,7 +10,7 @@ Subject: [PATCH 058/112] * grub-core/mmap/i386/uppermem.c (lower_hook) 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog -index 74485f3..f827cde 100644 +index 8087595..76ae629 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -43,5 +43,5 @@ index bd8b429..a6be989 100644 } -- -1.8.5.3 +1.9.0 diff --git a/0059-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch b/0063-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch similarity index 93% rename from 0059-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch rename to 0063-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch index cf22700..6694c5d 100644 --- a/0059-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch +++ b/0063-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch @@ -1,7 +1,7 @@ -From 31373f6367113bff201df6d9f8fcf47119e4e961 Mon Sep 17 00:00:00 2001 +From 2fecc871c9094c82a78d057d340fb4d83b895cdb Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 10:07:11 +0100 -Subject: [PATCH 059/112] * grub-core/kern/i386/pc/mmap.c: Fallback to +Subject: [PATCH 063/103] * grub-core/kern/i386/pc/mmap.c: Fallback to EISA memory map if E820 failed to return any regions. --- @@ -10,7 +10,7 @@ Subject: [PATCH 059/112] * grub-core/kern/i386/pc/mmap.c: Fallback to 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog -index f827cde..a79fafb 100644 +index 76ae629..25ca7db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ @@ -84,5 +84,5 @@ index 8009e83..f1375f3 100644 grub_uint32_t eisa_mmap = grub_get_eisa_mmap (); -- -1.8.5.3 +1.9.0 diff --git a/0060-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch b/0064-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch similarity index 93% rename from 0060-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch rename to 0064-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch index 39178a0..4ab2528 100644 --- a/0060-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch +++ b/0064-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch @@ -1,7 +1,7 @@ -From 27c4fcc66ec41707cd67ed4d7d789d437c391d07 Mon Sep 17 00:00:00 2001 +From d69dfa96c2765e9759d99bc808566b46c599ede0 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Fri, 28 Feb 2014 10:50:05 +0100 -Subject: [PATCH 060/112] * include/grub/i386/openbsd_bootarg.h: Add +Subject: [PATCH 064/103] * 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 @@ -16,7 +16,7 @@ Content-Transfer-Encoding: 8bit 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog -index a79fafb..bd34ec4 100644 +index 25ca7db..1b17e1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ @@ -66,5 +66,5 @@ index 01ca486..9ebe6b4 100644 struct grub_openbsd_bootarg_pcibios -- -1.8.5.3 +1.9.0 diff --git a/0061-Migrate-PPC-from-Yaboot-to-Grub2.patch b/0065-Migrate-PPC-from-Yaboot-to-Grub2.patch similarity index 96% rename from 0061-Migrate-PPC-from-Yaboot-to-Grub2.patch rename to 0065-Migrate-PPC-from-Yaboot-to-Grub2.patch index adff1f6..3f1b501 100644 --- a/0061-Migrate-PPC-from-Yaboot-to-Grub2.patch +++ b/0065-Migrate-PPC-from-Yaboot-to-Grub2.patch @@ -1,7 +1,7 @@ -From ba24acd4e6ee6f96ded477a062213879e06bac19 Mon Sep 17 00:00:00 2001 +From 4d75121a7fa86a60b646c96e2d75caa0d70c408e Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Wed, 28 Mar 2012 14:46:41 -0500 -Subject: [PATCH 061/112] Migrate PPC from Yaboot to Grub2 +Subject: [PATCH 065/103] 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. @@ -150,5 +150,5 @@ index 0000000..10d6658 + terminfo -g ${X}x${Y} ${TERMINAL} +EOF -- -1.8.5.3 +1.9.0 diff --git a/0062-Add-fw_path-variable-revised.patch b/0066-Add-fw_path-variable-revised.patch similarity index 94% rename from 0062-Add-fw_path-variable-revised.patch rename to 0066-Add-fw_path-variable-revised.patch index 2cd53b6..ade4f17 100644 --- a/0062-Add-fw_path-variable-revised.patch +++ b/0066-Add-fw_path-variable-revised.patch @@ -1,7 +1,7 @@ -From 43043c52e35c5e10917680785ffa424dded3ee2b Mon Sep 17 00:00:00 2001 +From ae053ae71b4d7e3168f6d97398f0d137929fafd0 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 19 Sep 2012 21:22:55 -0300 -Subject: [PATCH 062/112] Add fw_path variable (revised) +Subject: [PATCH 066/103] 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 @@ -77,5 +77,5 @@ index 3a926fc..6f4970f 100644 prefix = grub_env_get ("prefix"); if (prefix) -- -1.8.5.3 +1.9.0 diff --git a/0063-Add-support-for-linuxefi.patch b/0067-Add-support-for-linuxefi.patch similarity index 99% rename from 0063-Add-support-for-linuxefi.patch rename to 0067-Add-support-for-linuxefi.patch index c144376..079da3d 100644 --- a/0063-Add-support-for-linuxefi.patch +++ b/0067-Add-support-for-linuxefi.patch @@ -1,7 +1,7 @@ -From cfff39b9ce8df82b953b43fae15bbff32d3d0e86 Mon Sep 17 00:00:00 2001 +From f84fdfda066a9b46598847f7af0f02c97fb8cdc5 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Tue, 10 Jul 2012 11:58:52 -0400 -Subject: [PATCH 063/112] Add support for linuxefi +Subject: [PATCH 067/103] Add support for linuxefi --- grub-core/Makefile.core.def | 8 + @@ -478,5 +478,5 @@ index da0ca3b..fc36bda 100644 /* Boot parameters for Linux based on 2.6.12. This is used by the setup -- -1.8.5.3 +1.9.0 diff --git a/0064-Use-linuxefi-and-initrdefi-where-appropriate.patch b/0068-Use-linuxefi-and-initrdefi-where-appropriate.patch similarity index 91% rename from 0064-Use-linuxefi-and-initrdefi-where-appropriate.patch rename to 0068-Use-linuxefi-and-initrdefi-where-appropriate.patch index b8dbd2c..f378b24 100644 --- a/0064-Use-linuxefi-and-initrdefi-where-appropriate.patch +++ b/0068-Use-linuxefi-and-initrdefi-where-appropriate.patch @@ -1,7 +1,7 @@ -From 8fbe65e81f9f2d1c8595174b52e9652fd9ba1f2f Mon Sep 17 00:00:00 2001 +From f606b7dfc35082809dd68dccf47d16db7d741085 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 16 Jul 2012 18:57:11 -0400 -Subject: [PATCH 064/112] Use "linuxefi" and "initrdefi" where appropriate. +Subject: [PATCH 068/103] Use "linuxefi" and "initrdefi" where appropriate. --- util/grub.d/10_linux.in | 18 ++++++++++++++++-- @@ -46,5 +46,5 @@ index 00d1931..ad34cc0 100644 sed "s/^/$submenu_indentation/" << EOF } -- -1.8.5.3 +1.9.0 diff --git a/0065-Don-t-allow-insmod-when-secure-boot-is-enabled.patch b/0069-Don-t-allow-insmod-when-secure-boot-is-enabled.patch similarity index 96% rename from 0065-Don-t-allow-insmod-when-secure-boot-is-enabled.patch rename to 0069-Don-t-allow-insmod-when-secure-boot-is-enabled.patch index d4970fa..6c9e02c 100644 --- a/0065-Don-t-allow-insmod-when-secure-boot-is-enabled.patch +++ b/0069-Don-t-allow-insmod-when-secure-boot-is-enabled.patch @@ -1,7 +1,7 @@ -From 5bea89dbabf74ecc9214fe007af2332badc8539a Mon Sep 17 00:00:00 2001 +From 87edbb7d2e669de75f05d28329f72464ce5d4ee3 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 23 Oct 2012 10:40:49 -0400 -Subject: [PATCH 065/112] Don't allow insmod when secure boot is enabled. +Subject: [PATCH 069/103] Don't allow insmod when secure boot is enabled. Hi, @@ -113,5 +113,5 @@ index 9370fd5..a000c38 100644 EXPORT_FUNC (grub_efi_compare_device_paths) (const grub_efi_device_path_t *dp1, const grub_efi_device_path_t *dp2); -- -1.8.5.3 +1.9.0 diff --git a/0066-Pass-x-hex-hex-straight-through-unmolested.patch b/0070-Pass-x-hex-hex-straight-through-unmolested.patch similarity index 97% rename from 0066-Pass-x-hex-hex-straight-through-unmolested.patch rename to 0070-Pass-x-hex-hex-straight-through-unmolested.patch index c9239c3..225bed3 100644 --- a/0066-Pass-x-hex-hex-straight-through-unmolested.patch +++ b/0070-Pass-x-hex-hex-straight-through-unmolested.patch @@ -1,7 +1,7 @@ -From 6e8b72a26bc7a42903b6c75b131981ceac59f6ef Mon Sep 17 00:00:00 2001 +From 438e7306ea31c03ee86c4cdf97b2802443e5e4dd Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 1 Oct 2012 13:24:37 -0400 -Subject: [PATCH 066/112] Pass "\x[[:hex:]][[:hex:]]" straight through +Subject: [PATCH 070/103] Pass "\x[[:hex:]][[:hex:]]" straight through unmolested. --- @@ -179,5 +179,5 @@ index afd5513..8f01c1b 100644 case '$': if (escaped) -- -1.8.5.3 +1.9.0 diff --git a/0067-Fix-crash-on-http.patch b/0071-Fix-crash-on-http.patch similarity index 87% rename from 0067-Fix-crash-on-http.patch rename to 0071-Fix-crash-on-http.patch index 2ee43a6..21a0c2b 100644 --- a/0067-Fix-crash-on-http.patch +++ b/0071-Fix-crash-on-http.patch @@ -1,7 +1,7 @@ -From 811019810ebfa189f344c0b383edd2b1e1c2642e Mon Sep 17 00:00:00 2001 +From 0a40f0fc38bf46df57c411b673299c20120cf9b2 Mon Sep 17 00:00:00 2001 From: Gustavo Luiz Duarte Date: Tue, 25 Sep 2012 18:40:55 -0400 -Subject: [PATCH 067/112] Fix crash on http +Subject: [PATCH 071/103] 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. @@ -24,5 +24,5 @@ index 4684f8b..ef9538c 100644 if (!data->sock) { -- -1.8.5.3 +1.9.0 diff --git a/0068-IBM-client-architecture-CAS-reboot-support.patch b/0072-IBM-client-architecture-CAS-reboot-support.patch similarity index 97% rename from 0068-IBM-client-architecture-CAS-reboot-support.patch rename to 0072-IBM-client-architecture-CAS-reboot-support.patch index 8983032..8065777 100644 --- a/0068-IBM-client-architecture-CAS-reboot-support.patch +++ b/0072-IBM-client-architecture-CAS-reboot-support.patch @@ -1,7 +1,7 @@ -From 63142e7aa720617eb8bbf36d6b6eb78b78337332 Mon Sep 17 00:00:00 2001 +From 751b9439b85ba9f6a6da7b08bc261fcf68f6ea94 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Thu, 20 Sep 2012 18:07:39 -0300 -Subject: [PATCH 068/112] IBM client architecture (CAS) reboot support +Subject: [PATCH 072/103] IBM client architecture (CAS) reboot support This is an implementation of IBM client architecture (CAS) reboot for GRUB. @@ -170,5 +170,5 @@ index 8e42513..9f26c69 100644 #define FOR_IEEE1275_DEVALIASES(alias) for (grub_ieee1275_devalias_init_iterator (&(alias)); grub_ieee1275_devalias_next (&(alias));) -- -1.8.5.3 +1.9.0 diff --git a/0069-Add-vlan-tag-support.patch b/0073-Add-vlan-tag-support.patch similarity index 98% rename from 0069-Add-vlan-tag-support.patch rename to 0073-Add-vlan-tag-support.patch index 8a4b22a..6525097 100644 --- a/0069-Add-vlan-tag-support.patch +++ b/0073-Add-vlan-tag-support.patch @@ -1,7 +1,7 @@ -From 6ab7728e1097f9f6968627b26c61c08af1b2643c Mon Sep 17 00:00:00 2001 +From e6fbb3e8b50fb1e41f1466d2ef11c88868702f49 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 30 Oct 2012 15:19:39 -0200 -Subject: [PATCH 069/112] Add vlan-tag support +Subject: [PATCH 073/103] 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 @@ -182,5 +182,5 @@ index 538baa3..a799e6b 100644 + #endif /* ! GRUB_NET_HEADER */ -- -1.8.5.3 +1.9.0 diff --git a/0070-Add-X-option-to-printf-functions.patch b/0074-Add-X-option-to-printf-functions.patch similarity index 91% rename from 0070-Add-X-option-to-printf-functions.patch rename to 0074-Add-X-option-to-printf-functions.patch index 8ba5252..4e4bd86 100644 --- a/0070-Add-X-option-to-printf-functions.patch +++ b/0074-Add-X-option-to-printf-functions.patch @@ -1,7 +1,7 @@ -From 2f091e824e81e17008f0ba6bf36ac659e82df371 Mon Sep 17 00:00:00 2001 +From 6831a99c8594a644adb7da3fe8191c01b42f1912 Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 16:58:39 -0200 -Subject: [PATCH 070/112] Add %X option to printf functions. +Subject: [PATCH 074/103] Add %X option to printf functions. --- grub-core/kern/misc.c | 7 +++++-- @@ -54,5 +54,5 @@ index 54db2e1..50f7f53 100644 case 'd': { -- -1.8.5.3 +1.9.0 diff --git a/0071-DHCP-client-ID-and-UUID-options-added.patch b/0075-DHCP-client-ID-and-UUID-options-added.patch similarity index 62% rename from 0071-DHCP-client-ID-and-UUID-options-added.patch rename to 0075-DHCP-client-ID-and-UUID-options-added.patch index d921f43..98b17d4 100644 --- a/0071-DHCP-client-ID-and-UUID-options-added.patch +++ b/0075-DHCP-client-ID-and-UUID-options-added.patch @@ -1,21 +1,56 @@ -From 018833135590fe2791e44e4f3248f6d2908d0793 Mon Sep 17 00:00:00 2001 +From 3eb31d2652b19eb38b2a01bdc83540cbd67d96be Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 17:18:53 -0200 -Subject: [PATCH 071/112] DHCP client ID and UUID options added. +Subject: [PATCH 075/103] DHCP client ID and UUID options added. --- - grub-core/net/bootp.c | 52 +++++++++++++++++++++++++++++++++++++++++++-------- + grub-core/net/bootp.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++----- include/grub/net.h | 2 ++ - 2 files changed, 46 insertions(+), 8 deletions(-) + 2 files changed, 81 insertions(+), 8 deletions(-) diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c -index 6310ed4..420ec8a 100644 +index 6310ed4..88f2056 100644 --- a/grub-core/net/bootp.c +++ b/grub-core/net/bootp.c -@@ -25,6 +25,14 @@ +@@ -25,6 +25,49 @@ #include #include ++static char * ++grub_env_write_readonly (struct grub_env_var *var __attribute__ ((unused)), ++ const char *val __attribute__ ((unused))) ++{ ++ return NULL; ++} ++ ++static void ++set_env_limn_ro (const char *intername, const char *suffix, ++ const char *value, grub_size_t len) ++{ ++ char *varname, *varvalue; ++ char *ptr; ++ varname = grub_xasprintf ("net_%s_%s", intername, suffix); ++ if (!varname) ++ return; ++ for (ptr = varname; *ptr; ptr++) ++ if (*ptr == ':') ++ *ptr = '_'; ++ varvalue = grub_malloc (len + 1); ++ if (!varvalue) ++ { ++ grub_free (varname); ++ return; ++ } ++ ++ grub_memcpy (varvalue, value, len); ++ varvalue[len] = 0; ++ grub_env_set (varname, varvalue); ++ grub_register_variable_hook (varname, 0, grub_env_write_readonly); ++ grub_env_export (varname); ++ grub_free (varname); ++ grub_free (varvalue); ++} ++ +static char +hexdigit (grub_uint8_t val) +{ @@ -27,7 +62,7 @@ index 6310ed4..420ec8a 100644 static void parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) { -@@ -55,6 +63,9 @@ parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) +@@ -55,6 +98,9 @@ parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) taglength = *ptr++; @@ -37,12 +72,12 @@ index 6310ed4..420ec8a 100644 switch (tagtype) { case GRUB_NET_BOOTP_NETMASK: -@@ -120,6 +131,39 @@ parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) +@@ -120,6 +166,39 @@ parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) taglength); break; + case GRUB_NET_BOOTP_CLIENT_ID: -+ grub_env_set_net_property (name, "clientid", (char *) ptr, taglength); ++ set_env_limn_ro (name, "clientid", (char *) ptr, taglength); + break; + + case GRUB_NET_BOOTP_CLIENT_UUID: @@ -70,14 +105,14 @@ index 6310ed4..420ec8a 100644 + } + } + -+ grub_env_set_net_property (name, "clientuuid", (char *) val, 2 * taglength + 4); ++ set_env_limn_ro (name, "clientuuid", (char *) val, 2 * taglength + 4); + } + break; + /* If you need any other options please contact GRUB development team. */ } -@@ -288,14 +332,6 @@ grub_net_process_dhcp (struct grub_net_buff *nb, +@@ -288,14 +367,6 @@ grub_net_process_dhcp (struct grub_net_buff *nb, } } @@ -106,5 +141,5 @@ index a799e6b..59e5975 100644 }; -- -1.8.5.3 +1.9.0 diff --git a/0072-Search-for-specific-config-file-for-netboot.patch b/0076-Search-for-specific-config-file-for-netboot.patch similarity index 97% rename from 0072-Search-for-specific-config-file-for-netboot.patch rename to 0076-Search-for-specific-config-file-for-netboot.patch index bb69943..dfda2de 100644 --- a/0072-Search-for-specific-config-file-for-netboot.patch +++ b/0076-Search-for-specific-config-file-for-netboot.patch @@ -1,7 +1,7 @@ -From ff234fd6fe2cdc8514c16ee786d7b66bed123371 Mon Sep 17 00:00:00 2001 +From 430bea1ee5b48877f8ffd461b4a0c6e147a3c24e Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 27 Nov 2012 17:22:07 -0200 -Subject: [PATCH 072/112] Search for specific config file for netboot +Subject: [PATCH 076/103] 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: @@ -199,5 +199,5 @@ index 59e5975..88fc71c 100644 + #endif /* ! GRUB_NET_HEADER */ -- -1.8.5.3 +1.9.0 diff --git a/0073-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch b/0077-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch similarity index 97% rename from 0073-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch rename to 0077-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch index 2510adb..9063b61 100644 --- a/0073-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch +++ b/0077-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch @@ -1,7 +1,7 @@ -From af6d85a2f3a57b142e1f746e132a5a786d3d7a2b Mon Sep 17 00:00:00 2001 +From 8721b76fad30cce6f152f119a031422acd6ae13a Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Tue, 22 Jan 2013 06:31:38 +0100 -Subject: [PATCH 073/112] blscfg: add blscfg module to parse Boot Loader +Subject: [PATCH 077/103] blscfg: add blscfg module to parse Boot Loader Specification snippets http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec @@ -247,5 +247,5 @@ index 0000000..4274aca + grub_unregister_extcmd (cmd); +} -- -1.8.5.3 +1.9.0 diff --git a/0074-Move-bash-completion-script-922997.patch b/0078-Move-bash-completion-script-922997.patch similarity index 85% rename from 0074-Move-bash-completion-script-922997.patch rename to 0078-Move-bash-completion-script-922997.patch index cf1cb98..70d859f 100644 --- a/0074-Move-bash-completion-script-922997.patch +++ b/0078-Move-bash-completion-script-922997.patch @@ -1,7 +1,7 @@ -From b1a735a85211fb6485df569c68ccbff0d802f419 Mon Sep 17 00:00:00 2001 +From 35cc854569fc68a336072775fc7e3dc7debc99bc Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 3 Apr 2013 14:35:34 -0400 -Subject: [PATCH 074/112] Move bash completion script (#922997) +Subject: [PATCH 078/103] Move bash completion script (#922997) Apparently these go in a new place now. --- @@ -22,5 +22,5 @@ index 136287c..0bcdb06 100644 $(bash_completion_script): $(bash_completion_source) $(top_builddir)/config.status -- -1.8.5.3 +1.9.0 diff --git a/0075-for-ppc-reset-console-display-attr-when-clear-screen.patch b/0079-for-ppc-reset-console-display-attr-when-clear-screen.patch similarity index 88% rename from 0075-for-ppc-reset-console-display-attr-when-clear-screen.patch rename to 0079-for-ppc-reset-console-display-attr-when-clear-screen.patch index 8d7c234..94fab7a 100644 --- a/0075-for-ppc-reset-console-display-attr-when-clear-screen.patch +++ b/0079-for-ppc-reset-console-display-attr-when-clear-screen.patch @@ -1,7 +1,7 @@ -From 5e088d722e5429cfa240d892651a5e2b10a21ed8 Mon Sep 17 00:00:00 2001 +From 9364753f4e7eaa65dceadba5652ddd2becabce0a Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Wed, 24 Apr 2013 10:51:48 -0300 -Subject: [PATCH 075/112] for ppc, reset console display attr when clear screen +Subject: [PATCH 079/103] for ppc, reset console display attr when clear screen This should fix this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=908519 @@ -23,5 +23,5 @@ index f0d3e3d..7cb7909 100644 data->reverse_video_off = grub_strdup ("\e[m"); if (grub_strcmp ("ieee1275", str) == 0) -- -1.8.5.3 +1.9.0 diff --git a/0076-Don-t-write-messages-to-the-screen.patch b/0080-Don-t-write-messages-to-the-screen.patch similarity index 97% rename from 0076-Don-t-write-messages-to-the-screen.patch rename to 0080-Don-t-write-messages-to-the-screen.patch index ebfd733..fc8c628 100644 --- a/0076-Don-t-write-messages-to-the-screen.patch +++ b/0080-Don-t-write-messages-to-the-screen.patch @@ -1,7 +1,7 @@ -From c363af23257c228d2380b4ddcc10bcd9081ebae7 Mon Sep 17 00:00:00 2001 +From 56d9ef35cfe88fdfc82f8b16908e839d62801b38 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 13:30:20 -0400 -Subject: [PATCH 076/112] Don't write messages to the screen +Subject: [PATCH 080/103] 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 @@ -154,5 +154,5 @@ index ad34cc0..e762e1f 100644 EOF fi -- -1.8.5.3 +1.9.0 diff --git a/0077-Don-t-print-GNU-GRUB-header.patch b/0081-Don-t-print-GNU-GRUB-header.patch similarity index 85% rename from 0077-Don-t-print-GNU-GRUB-header.patch rename to 0081-Don-t-print-GNU-GRUB-header.patch index 3615d58..996a65a 100644 --- a/0077-Don-t-print-GNU-GRUB-header.patch +++ b/0081-Don-t-print-GNU-GRUB-header.patch @@ -1,7 +1,7 @@ -From 13d4be835d61ce8deba306472ad26a8fe04fce79 Mon Sep 17 00:00:00 2001 +From c3cb9d2a7a43ef15f361e142be2a1abaa4067655 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 13:53:48 -0400 -Subject: [PATCH 077/112] Don't print GNU GRUB header +Subject: [PATCH 081/103] Don't print GNU GRUB header No one cares. --- @@ -29,5 +29,5 @@ index 85d2a28..3777cd2 100644 static void -- -1.8.5.3 +1.9.0 diff --git a/0078-Don-t-add-to-highlighted-row.patch b/0082-Don-t-add-to-highlighted-row.patch similarity index 84% rename from 0078-Don-t-add-to-highlighted-row.patch rename to 0082-Don-t-add-to-highlighted-row.patch index 1242ff5..1175260 100644 --- a/0078-Don-t-add-to-highlighted-row.patch +++ b/0082-Don-t-add-to-highlighted-row.patch @@ -1,7 +1,7 @@ -From 01cd2e5801596931a09a3c4b6759915f7b04c08a Mon Sep 17 00:00:00 2001 +From 6a89fe8eff74f03b19a850e260c971b9ac3129ca Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 17:49:45 -0400 -Subject: [PATCH 078/112] Don't add '*' to highlighted row +Subject: [PATCH 082/103] Don't add '*' to highlighted row It is already highlighted. --- @@ -22,5 +22,5 @@ index 2ff2941..daf92b5 100644 grub_print_ucs4_menu (unicode_title, unicode_title + len, -- -1.8.5.3 +1.9.0 diff --git a/0079-Don-t-add-to-highlighted-row.patch b/0083-Don-t-add-to-highlighted-row.patch similarity index 83% rename from 0079-Don-t-add-to-highlighted-row.patch rename to 0083-Don-t-add-to-highlighted-row.patch index 3221af7..1181345 100644 --- a/0079-Don-t-add-to-highlighted-row.patch +++ b/0083-Don-t-add-to-highlighted-row.patch @@ -1,7 +1,7 @@ -From ad87f63c1936729ae09871cfed7a5900cdabe626 Mon Sep 17 00:00:00 2001 +From ceaa93bab3ce4b8ed8ac4448e39bbf017749a757 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 17:49:45 -0400 -Subject: [PATCH 079/112] Don't add '*' to highlighted row +Subject: [PATCH 083/103] Don't add '*' to highlighted row It is already highlighted. --- @@ -22,5 +22,5 @@ index daf92b5..2f84fcc 100644 grub_print_ucs4_menu (unicode_title, unicode_title + len, -- -1.8.5.3 +1.9.0 diff --git a/0080-Message-string-cleanups.patch b/0084-Message-string-cleanups.patch similarity index 96% rename from 0080-Message-string-cleanups.patch rename to 0084-Message-string-cleanups.patch index ab0be39..99c8ea1 100644 --- a/0080-Message-string-cleanups.patch +++ b/0084-Message-string-cleanups.patch @@ -1,7 +1,7 @@ -From a235208d5de23499f7d6e801116fceea170ccd08 Mon Sep 17 00:00:00 2001 +From db36eff4717d7a05a9c17dabbf46ebf6a30d056b Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 11:09:04 -0400 -Subject: [PATCH 080/112] Message string cleanups +Subject: [PATCH 084/103] Message string cleanups Make use of terminology consistent. Remove jargon. --- @@ -67,5 +67,5 @@ index 2f84fcc..9d20c6b 100644 { grub_print_error (); -- -1.8.5.3 +1.9.0 diff --git a/0081-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch b/0085-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch similarity index 86% rename from 0081-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch rename to 0085-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch index 843f12f..9971dcd 100644 --- a/0081-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch +++ b/0085-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch @@ -1,7 +1,7 @@ -From 8f07fb007025c69cb13fa0a9f3c74c89bd85e75a Mon Sep 17 00:00:00 2001 +From 7c1b0d6c8c79bfb55fcc9f81c4db225e63ba57a9 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:08:23 -0400 -Subject: [PATCH 081/112] Fix border spacing now that we aren't displaying it +Subject: [PATCH 085/103] Fix border spacing now that we aren't displaying it --- grub-core/normal/menu_text.c | 6 +++--- @@ -28,5 +28,5 @@ index 9d20c6b..aa3454f 100644 geo->timeout_lines = 2; -- -1.8.5.3 +1.9.0 diff --git a/0082-Use-the-correct-indentation-for-the-term-help-text.patch b/0086-Use-the-correct-indentation-for-the-term-help-text.patch similarity index 87% rename from 0082-Use-the-correct-indentation-for-the-term-help-text.patch rename to 0086-Use-the-correct-indentation-for-the-term-help-text.patch index f417716..7eab53d 100644 --- a/0082-Use-the-correct-indentation-for-the-term-help-text.patch +++ b/0086-Use-the-correct-indentation-for-the-term-help-text.patch @@ -1,7 +1,7 @@ -From 1ec2c6847fcf55a2fce2f1fdef5d3f5b3e0d55d2 Mon Sep 17 00:00:00 2001 +From 7188fc2fc1cc381e3ad0ca765c205bdc9ce44b1a Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:08:49 -0400 -Subject: [PATCH 082/112] Use the correct indentation for the term help text +Subject: [PATCH 086/103] Use the correct indentation for the term help text That is consistent with the menu help text --- @@ -24,5 +24,5 @@ index 3777cd2..0da2a52 100644 grub_print_message_indented (msg_formatted, 0, 0, term); grub_putcode ('\n', term); -- -1.8.5.3 +1.9.0 diff --git a/0083-Indent-menu-entries.patch b/0087-Indent-menu-entries.patch similarity index 85% rename from 0083-Indent-menu-entries.patch rename to 0087-Indent-menu-entries.patch index 0c9cf1e..b41cecf 100644 --- a/0083-Indent-menu-entries.patch +++ b/0087-Indent-menu-entries.patch @@ -1,7 +1,7 @@ -From ed8061445a585b697a74946d9b6e7d3dcd611824 Mon Sep 17 00:00:00 2001 +From 90dbb7aaa066c84e514af72530018ec71735c9d7 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:30:55 -0400 -Subject: [PATCH 083/112] Indent menu entries +Subject: [PATCH 087/103] Indent menu entries --- grub-core/normal/menu_text.c | 3 ++- @@ -22,5 +22,5 @@ index aa3454f..01b6f1c 100644 grub_print_ucs4_menu (unicode_title, unicode_title + len, -- -1.8.5.3 +1.9.0 diff --git a/0084-Fix-margins.patch b/0088-Fix-margins.patch similarity index 91% rename from 0084-Fix-margins.patch rename to 0088-Fix-margins.patch index 567de5c..fc6224d 100644 --- a/0084-Fix-margins.patch +++ b/0088-Fix-margins.patch @@ -1,7 +1,7 @@ -From 0bbd90ced7f33ffd5d8de3c552a2bd4c513f5024 Mon Sep 17 00:00:00 2001 +From 69d78859f1c3d2841a2519dddabcb656b0d61ad7 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 14:59:36 -0400 -Subject: [PATCH 084/112] Fix margins +Subject: [PATCH 088/103] Fix margins --- grub-core/normal/menu_text.c | 8 +++----- @@ -33,5 +33,5 @@ index 01b6f1c..ead3391 100644 - geo->timeout_lines /* timeout */ - 1 /* empty final line */; -- -1.8.5.3 +1.9.0 diff --git a/0085-Add-support-for-UEFI-operating-systems-returned-by-o.patch b/0089-Add-support-for-UEFI-operating-systems-returned-by-o.patch similarity index 90% rename from 0085-Add-support-for-UEFI-operating-systems-returned-by-o.patch rename to 0089-Add-support-for-UEFI-operating-systems-returned-by-o.patch index 6b336f2..9f170f9 100644 --- a/0085-Add-support-for-UEFI-operating-systems-returned-by-o.patch +++ b/0089-Add-support-for-UEFI-operating-systems-returned-by-o.patch @@ -1,7 +1,7 @@ -From 04f3190eefe364984e6f46cb22e1852baf6a2b52 Mon Sep 17 00:00:00 2001 +From 57af230410edac066aa54ee1d008ead9e0405039 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Wed, 12 Jun 2013 11:51:49 -0400 -Subject: [PATCH 085/112] Add support for UEFI operating systems returned by +Subject: [PATCH 089/103] Add support for UEFI operating systems returned by os-prober os-prober returns UEFI operating systems in the form: @@ -47,5 +47,5 @@ index 7cf8487..390bb0e 100644 esac done -- -1.8.5.3 +1.9.0 diff --git a/0086-Disable-GRUB-video-support-for-IBM-power-machines.patch b/0090-Disable-GRUB-video-support-for-IBM-power-machines.patch similarity index 94% rename from 0086-Disable-GRUB-video-support-for-IBM-power-machines.patch rename to 0090-Disable-GRUB-video-support-for-IBM-power-machines.patch index b41bd7f..26a4f75 100644 --- a/0086-Disable-GRUB-video-support-for-IBM-power-machines.patch +++ b/0090-Disable-GRUB-video-support-for-IBM-power-machines.patch @@ -1,7 +1,7 @@ -From 177a0a8aa023838195f34802125707428042a159 Mon Sep 17 00:00:00 2001 +From bd0e85e1590dec600e0a46fca6f88fa32d38701f Mon Sep 17 00:00:00 2001 From: Paulo Flabiano Smorigo Date: Tue, 11 Jun 2013 15:14:05 -0300 -Subject: [PATCH 086/112] Disable GRUB video support for IBM power machines +Subject: [PATCH 090/103] Disable GRUB video support for IBM power machines Should fix the problem in bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=973205 @@ -61,5 +61,5 @@ index 6a21f5d..663935d 100644 extern int EXPORT_FUNC(grub_ieee1275_test_flag) (enum grub_ieee1275_flag flag); -- -1.8.5.3 +1.9.0 diff --git a/0087-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch b/0091-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch similarity index 84% rename from 0087-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch rename to 0091-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch index a97a324..f05e677 100644 --- a/0087-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch +++ b/0091-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch @@ -1,7 +1,7 @@ -From 5155dc7742218bf40ec1c28430af4a8758dc101e Mon Sep 17 00:00:00 2001 +From dc24706a6f889f3562f642ab5c6a19fe0eeb49b5 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 21 Jun 2013 14:44:08 -0400 -Subject: [PATCH 087/112] Use -2 instead of -1 for our right-hand margin, so +Subject: [PATCH 091/103] Use -2 instead of -1 for our right-hand margin, so linewrapping works (#976643). Signed-off-by: Peter Jones @@ -23,5 +23,5 @@ index ead3391..bc1fc71 100644 geo->first_entry_y = 3; /* three empty lines*/ -- -1.8.5.3 +1.9.0 diff --git a/0088-Use-linux16-when-appropriate-880840.patch b/0092-Use-linux16-when-appropriate-880840.patch similarity index 90% rename from 0088-Use-linux16-when-appropriate-880840.patch rename to 0092-Use-linux16-when-appropriate-880840.patch index 9f25948..aee4441 100644 --- a/0088-Use-linux16-when-appropriate-880840.patch +++ b/0092-Use-linux16-when-appropriate-880840.patch @@ -1,7 +1,7 @@ -From 30e29a3cad6153c188d809bdf5f939bbaf5f0941 Mon Sep 17 00:00:00 2001 +From e3c0c4cdf83eb8269984e3d33ce47e604247913e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:05:07 -0400 -Subject: [PATCH 088/112] Use linux16 when appropriate (#880840) +Subject: [PATCH 092/103] Use linux16 when appropriate (#880840) The kernel group really would prefer that we use the 16 bit entry point on x86 bios machines. @@ -48,5 +48,5 @@ index e762e1f..600bfd2 100644 fi fi -- -1.8.5.3 +1.9.0 diff --git a/0089-Enable-pager-by-default.-985860.patch b/0093-Enable-pager-by-default.-985860.patch similarity index 82% rename from 0089-Enable-pager-by-default.-985860.patch rename to 0093-Enable-pager-by-default.-985860.patch index caeb0ad..e5a690a 100644 --- a/0089-Enable-pager-by-default.-985860.patch +++ b/0093-Enable-pager-by-default.-985860.patch @@ -1,7 +1,7 @@ -From 0fde3057b8c44516559de63a36fd0d4243988c13 Mon Sep 17 00:00:00 2001 +From 281b3060d667e35b84850b8943f2dd1b7c9d5e7c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:09:27 -0400 -Subject: [PATCH 089/112] Enable pager by default. (#985860) +Subject: [PATCH 093/103] Enable pager by default. (#985860) Signed-off-by: Peter Jones --- @@ -22,5 +22,5 @@ index ce2ec81..fefa7dd 100644 load_env fi -- -1.8.5.3 +1.9.0 diff --git a/0090-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch b/0094-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch similarity index 87% rename from 0090-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch rename to 0094-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch index 38470ed..a9afd10 100644 --- a/0090-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch +++ b/0094-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch @@ -1,7 +1,7 @@ -From f6a7dbcc10c5d5268a0a72af27dc5bbcd2badec7 Mon Sep 17 00:00:00 2001 +From d550d551e833d56ffbf08166e12aa6c8a97b38fc Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 28 Oct 2013 10:13:27 -0400 -Subject: [PATCH 090/112] F10 doesn't work on serial, so don't tell the user to +Subject: [PATCH 094/103] F10 doesn't work on serial, so don't tell the user to hit it (#987443) Signed-off-by: Peter Jones @@ -23,5 +23,5 @@ index bc1fc71..6202c2a 100644 STANDARD_MARGIN, STANDARD_MARGIN, term, dry_run); -- -1.8.5.3 +1.9.0 diff --git a/0091-Don-t-say-GNU-Linux-in-generated-menus.patch b/0095-Don-t-say-GNU-Linux-in-generated-menus.patch similarity index 91% rename from 0091-Don-t-say-GNU-Linux-in-generated-menus.patch rename to 0095-Don-t-say-GNU-Linux-in-generated-menus.patch index 3088c6d..ab9f1e3 100644 --- a/0091-Don-t-say-GNU-Linux-in-generated-menus.patch +++ b/0095-Don-t-say-GNU-Linux-in-generated-menus.patch @@ -1,7 +1,7 @@ -From b2a9d95e5e1ecaf5eb2814c6f35c26f432c4c810 Mon Sep 17 00:00:00 2001 +From 931f63ee792555882837c1287a361223d603d37c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 14 Mar 2011 14:27:42 -0400 -Subject: [PATCH 091/112] Don't say "GNU/Linux" in generated menus. +Subject: [PATCH 095/103] Don't say "GNU/Linux" in generated menus. --- util/grub.d/10_linux.in | 4 ++-- @@ -41,5 +41,5 @@ index a608435..79d4e38 100644 fi -- -1.8.5.3 +1.9.0 diff --git a/0092-Don-t-draw-a-border-around-the-menu.patch b/0096-Don-t-draw-a-border-around-the-menu.patch similarity index 95% rename from 0092-Don-t-draw-a-border-around-the-menu.patch rename to 0096-Don-t-draw-a-border-around-the-menu.patch index a46661d..5e1a17e 100644 --- a/0092-Don-t-draw-a-border-around-the-menu.patch +++ b/0096-Don-t-draw-a-border-around-the-menu.patch @@ -1,7 +1,7 @@ -From 66fe0163ad12914729e064ec92364a1f0fb6a016 Mon Sep 17 00:00:00 2001 +From 9fd85bc9025a32e053b752c8de04e1ba48e83951 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 15 May 2013 16:47:33 -0400 -Subject: [PATCH 092/112] Don't draw a border around the menu +Subject: [PATCH 096/103] Don't draw a border around the menu It looks cleaner without it. --- @@ -70,5 +70,5 @@ index 6202c2a..beddd7f 100644 grub_term_highlight_color = old_color_highlight; geo->timeout_y = geo->first_entry_y + geo->num_entries -- -1.8.5.3 +1.9.0 diff --git a/0093-Use-the-standard-margin-for-the-timeout-string.patch b/0097-Use-the-standard-margin-for-the-timeout-string.patch similarity index 90% rename from 0093-Use-the-standard-margin-for-the-timeout-string.patch rename to 0097-Use-the-standard-margin-for-the-timeout-string.patch index 1f1d71b..d89d094 100644 --- a/0093-Use-the-standard-margin-for-the-timeout-string.patch +++ b/0097-Use-the-standard-margin-for-the-timeout-string.patch @@ -1,7 +1,7 @@ -From 2941e05b1a087aa449373086d3d5518bb2d5fa9a Mon Sep 17 00:00:00 2001 +From 903bf51c8b9ca237e135d20a80ed7783584b3d8b Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Jun 2013 10:52:32 -0400 -Subject: [PATCH 093/112] Use the standard margin for the timeout string +Subject: [PATCH 097/103] Use the standard margin for the timeout string So that it aligns with the other messages --- @@ -39,5 +39,5 @@ index beddd7f..33b208b 100644 } -- -1.8.5.3 +1.9.0 diff --git a/0094-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch b/0098-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch similarity index 85% rename from 0094-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch rename to 0098-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch index 1bbca86..8be9b05 100644 --- a/0094-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch +++ b/0098-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch @@ -1,7 +1,7 @@ -From 236f9489de02fc6d1c64cc428d78b55b269ec7c2 Mon Sep 17 00:00:00 2001 +From b45d96d3c8877f1194728152e8a23c3a85245ac6 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 10 Jan 2014 09:36:24 -0500 -Subject: [PATCH 094/112] Fix grub_script_execute_sourcecode() usage on ppc. +Subject: [PATCH 098/103] Fix grub_script_execute_sourcecode() usage on ppc. 593e430c made it not take the extra argc/argv that this code still passes it. @@ -25,5 +25,5 @@ index 0da2a52..f66c03c 100644 } grub_free (script); -- -1.8.5.3 +1.9.0 diff --git a/0095-Add-.eh_frame-to-list-of-relocations-stripped.patch b/0099-Add-.eh_frame-to-list-of-relocations-stripped.patch similarity index 88% rename from 0095-Add-.eh_frame-to-list-of-relocations-stripped.patch rename to 0099-Add-.eh_frame-to-list-of-relocations-stripped.patch index dfaee69..aca5b30 100644 --- a/0095-Add-.eh_frame-to-list-of-relocations-stripped.patch +++ b/0099-Add-.eh_frame-to-list-of-relocations-stripped.patch @@ -1,7 +1,7 @@ -From 7f1cf8a3e6ba5c6eb64f8c3ef5a3b2274c53b5b5 Mon Sep 17 00:00:00 2001 +From 648dcde61e116b808c81a54f312de88a8ae2a672 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Mon, 13 Jan 2014 21:50:59 -0500 -Subject: [PATCH 095/112] Add .eh_frame to list of relocations stripped +Subject: [PATCH 099/103] Add .eh_frame to list of relocations stripped --- conf/Makefile.common | 2 +- @@ -21,5 +21,5 @@ index e4c301f..6f836d8 100644 CFLAGS_MODULE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding LDFLAGS_MODULE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib $(TARGET_LDFLAGS_OLDMAGIC) -Wl,-r,-d -- -1.8.5.3 +1.9.0 diff --git a/0099-Don-t-require-a-password-to-boot-entries-generated-b.patch b/0099-Don-t-require-a-password-to-boot-entries-generated-b.patch deleted file mode 100644 index 3de6add..0000000 --- a/0099-Don-t-require-a-password-to-boot-entries-generated-b.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 620f2b6d613c1a1c176a24d338ebb112e9db0c1d Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Tue, 11 Feb 2014 11:14:50 -0500 -Subject: [PATCH 099/112] 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. - -Resolves: rhbz#1030176 - -Signed-off-by: Peter Jones ---- - util/grub.d/10_linux.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in -index acf2e0e..136abd7 100644 ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -26,7 +26,7 @@ datarootdir="@datarootdir@" - export TEXTDOMAIN=@PACKAGE@ - export TEXTDOMAINDIR="@localedir@" - --CLASS="--class gnu-linux --class gnu --class os" -+CLASS="--class gnu-linux --class gnu --class os --unrestricted" - - if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then - OS="$(sed 's, release .*$,,g' /etc/system-release)" --- -1.8.5.3 - diff --git a/0100-Don-t-emit-Booting-.-message.patch b/0100-Don-t-emit-Booting-.-message.patch deleted file mode 100644 index c85e665..0000000 --- a/0100-Don-t-emit-Booting-.-message.patch +++ /dev/null @@ -1,48 +0,0 @@ -From ff7ae4d9410e282ecb10e4fb7cb34c274543406c Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Tue, 18 Feb 2014 09:37:49 -0500 -Subject: [PATCH 100/112] Don't emit "Booting ..." message. - -UI team still hates this stuff, so we're disabling it for RHEL 7. - -Resolves: rhbz#1023142 - -Signed-off-by: Peter Jones ---- - grub-core/normal/menu.c | 2 ++ - grub-core/normal/menu_entry.c | 3 --- - 2 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c -index b47991a..cc27c37 100644 ---- a/grub-core/normal/menu.c -+++ b/grub-core/normal/menu.c -@@ -810,9 +810,11 @@ static void - notify_booting (grub_menu_entry_t entry, - void *userdata __attribute__((unused))) - { -+#if 0 - grub_printf (" "); - grub_printf_ (N_("Booting `%s'"), entry->title); - grub_printf ("\n\n"); -+#endif - } - - /* Callback invoked when a default menu entry executed because of a timeout -diff --git a/grub-core/normal/menu_entry.c b/grub-core/normal/menu_entry.c -index b485df8..62e5db1 100644 ---- a/grub-core/normal/menu_entry.c -+++ b/grub-core/normal/menu_entry.c -@@ -1156,9 +1156,6 @@ run (struct screen *screen) - char *dummy[1] = { NULL }; - - grub_cls (); -- grub_printf (" "); -- grub_printf_ (N_("Booting a command list")); -- grub_printf ("\n\n"); - - errs_before = grub_err_printed_errors; - --- -1.8.5.3 - diff --git a/0100-arm64-set-correct-length-of-device-path-end-entry.patch b/0100-arm64-set-correct-length-of-device-path-end-entry.patch new file mode 100644 index 0000000..f6474e9 --- /dev/null +++ b/0100-arm64-set-correct-length-of-device-path-end-entry.patch @@ -0,0 +1,30 @@ +From f581af0a9cac0c25468c9c0c43c103ca38b547a9 Mon Sep 17 00:00:00 2001 +From: Leif Lindholm +Date: Tue, 7 Jan 2014 17:52:50 +0000 +Subject: [PATCH 100/103] 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 +in debug builds of Tianocore. + +Set it to sizeof (grub_efi_device_path_t). +--- + ChangeLog | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/ChangeLog b/ChangeLog +index 1b17e1b..5d2bef7 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -339,6 +339,8 @@ + * grub-core/osdep/windows/platform.c (get_platform): Fix EFI + detection. + ++======= ++>>>>>>> arm64: set correct length of device path end entry + 2013-12-24 Vladimir Serbinenko + + * configure.ac: Set version to 2.02~beta2. +-- +1.9.0 + diff --git a/0096-Make-10_linux-work-with-our-changes-for-linux16-and-.patch b/0101-Make-10_linux-work-with-our-changes-for-linux16-and-.patch similarity index 94% rename from 0096-Make-10_linux-work-with-our-changes-for-linux16-and-.patch rename to 0101-Make-10_linux-work-with-our-changes-for-linux16-and-.patch index d5f0844..eabf5eb 100644 --- a/0096-Make-10_linux-work-with-our-changes-for-linux16-and-.patch +++ b/0101-Make-10_linux-work-with-our-changes-for-linux16-and-.patch @@ -1,7 +1,7 @@ -From 86833e4fabbbf0eacef7501ec1520d5086ab2b9c Mon Sep 17 00:00:00 2001 +From ffc319b20f2eafb1146aae42b4e88c408c59a32f Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 14 Jan 2014 13:12:23 -0500 -Subject: [PATCH 096/112] Make 10_linux work with our changes for linux16 and +Subject: [PATCH 101/103] Make 10_linux work with our changes for linux16 and linuxefi on aarch64 Signed-off-by: Peter Jones @@ -81,5 +81,5 @@ index c943a1e..2b8c561 100644 for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do if test -e "${i}" ; then -- -1.8.5.3 +1.9.0 diff --git a/0101-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch b/0101-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch deleted file mode 100644 index a7134f4..0000000 --- a/0101-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch +++ /dev/null @@ -1,304 +0,0 @@ -From 0f4b22f0c161076af596bf0d368e28e8b117cfab Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Mon, 3 Feb 2014 15:21:46 -0500 -Subject: [PATCH 101/112] Make CTRL and ALT keys work as expected on EFI - systems (version 5). - -This is version 4. - -Changes from version 1: -- handles SHIFT as a modifier -- handles F11 and F12 keys -- uses the handle provided by the system table to find our _EX protocol. - -Changes from version 2: -- eliminate duplicate keycode translation. - -Changes from version 3: -- Do not add the shift modifier for any ascii character between space - (0x20) and DEL (0x7f); the combination of the modifier and many of the - keys causes it not to be recognized at all. Specifically, if we - include the modifier on any querty punctuation character, i.e. - anything the string "~!@#$%^&*()_+{}|:\"<>?" represents in C, it stops - being recognized whatsoever. - -Changes from version 4: -- Always initialize term->data from locate protocol (i.e. make it - unconditional.) - -Signed-off-by: Peter Jones ---- - grub-core/term/efi/console.c | 118 +++++++++++++++++++++++++++++++++++-------- - include/grub/efi/api.h | 65 +++++++++++++++++++++++- - 2 files changed, 161 insertions(+), 22 deletions(-) - -diff --git a/grub-core/term/efi/console.c b/grub-core/term/efi/console.c -index a37eb84..677eab5 100644 ---- a/grub-core/term/efi/console.c -+++ b/grub-core/term/efi/console.c -@@ -104,26 +104,12 @@ const unsigned efi_codes[] = - GRUB_TERM_KEY_DC, GRUB_TERM_KEY_PPAGE, GRUB_TERM_KEY_NPAGE, GRUB_TERM_KEY_F1, - GRUB_TERM_KEY_F2, GRUB_TERM_KEY_F3, GRUB_TERM_KEY_F4, GRUB_TERM_KEY_F5, - GRUB_TERM_KEY_F6, GRUB_TERM_KEY_F7, GRUB_TERM_KEY_F8, GRUB_TERM_KEY_F9, -- GRUB_TERM_KEY_F10, 0, 0, '\e' -+ GRUB_TERM_KEY_F10, GRUB_TERM_KEY_F10, GRUB_TERM_KEY_F11, '\e' - }; - -- - static int --grub_console_getkey (struct grub_term_input *term __attribute__ ((unused))) -+grub_efi_translate_key (grub_efi_input_key_t key) - { -- grub_efi_simple_input_interface_t *i; -- grub_efi_input_key_t key; -- grub_efi_status_t status; -- -- if (grub_efi_is_finished) -- return 0; -- -- i = grub_efi_system_table->con_in; -- status = efi_call_2 (i->read_key_stroke, i, &key); -- -- if (status != GRUB_EFI_SUCCESS) -- return GRUB_TERM_NO_KEY; -- - if (key.scan_code == 0) - { - /* Some firmware implementations use VT100-style codes against the spec. -@@ -139,9 +125,98 @@ grub_console_getkey (struct grub_term_input *term __attribute__ ((unused))) - else if (key.scan_code < ARRAY_SIZE (efi_codes)) - return efi_codes[key.scan_code]; - -+ if (key.unicode_char >= 0x20 && key.unicode_char <= 0x7f) -+ return key.unicode_char; -+ - return GRUB_TERM_NO_KEY; - } - -+static int -+grub_console_getkey_con (struct grub_term_input *term __attribute__ ((unused))) -+{ -+ grub_efi_simple_input_interface_t *i; -+ grub_efi_input_key_t key; -+ grub_efi_status_t status; -+ -+ i = grub_efi_system_table->con_in; -+ status = efi_call_2 (i->read_key_stroke, i, &key); -+ -+ if (status != GRUB_EFI_SUCCESS) -+ return GRUB_TERM_NO_KEY; -+ -+ return grub_efi_translate_key(key); -+} -+ -+static int -+grub_console_getkey_ex(struct grub_term_input *term) -+{ -+ grub_efi_key_data_t key_data; -+ grub_efi_status_t status; -+ grub_efi_uint32_t kss; -+ int key = -1; -+ -+ grub_efi_simple_text_input_ex_interface_t *text_input = term->data; -+ -+ status = efi_call_2 (text_input->read_key_stroke, text_input, &key_data); -+ -+ if (status != GRUB_EFI_SUCCESS) -+ return GRUB_TERM_NO_KEY; -+ -+ kss = key_data.key_state.key_shift_state; -+ key = grub_efi_translate_key(key_data.key); -+ -+ if (key == GRUB_TERM_NO_KEY) -+ return GRUB_TERM_NO_KEY; -+ -+ if (kss & GRUB_EFI_SHIFT_STATE_VALID) -+ { -+ if ((kss & GRUB_EFI_LEFT_SHIFT_PRESSED -+ || kss & GRUB_EFI_RIGHT_SHIFT_PRESSED) -+ && !(key >= 0x20 && key <= 0x7f)) -+ key |= GRUB_TERM_SHIFT; -+ if (kss & GRUB_EFI_LEFT_ALT_PRESSED || kss & GRUB_EFI_RIGHT_ALT_PRESSED) -+ key |= GRUB_TERM_ALT; -+ if (kss & GRUB_EFI_LEFT_CONTROL_PRESSED -+ || kss & GRUB_EFI_RIGHT_CONTROL_PRESSED) -+ key |= GRUB_TERM_CTRL; -+ } -+ -+ return key; -+} -+ -+static grub_err_t -+grub_efi_console_input_init (struct grub_term_input *term) -+{ -+ grub_efi_guid_t text_input_ex_guid = -+ GRUB_EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID; -+ -+ if (grub_efi_is_finished) -+ return 0; -+ -+ grub_efi_simple_text_input_ex_interface_t *text_input = term->data; -+ if (text_input) -+ return 0; -+ -+ text_input = grub_efi_open_protocol(grub_efi_system_table->console_in_handler, -+ &text_input_ex_guid, -+ GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); -+ term->data = (void *)text_input; -+ -+ return 0; -+} -+ -+static int -+grub_console_getkey (struct grub_term_input *term) -+{ -+ if (grub_efi_is_finished) -+ return 0; -+ -+ if (term->data) -+ return grub_console_getkey_ex(term); -+ else -+ return grub_console_getkey_con(term); -+} -+ - static struct grub_term_coordinate - grub_console_getwh (struct grub_term_output *term __attribute__ ((unused))) - { -@@ -243,7 +318,7 @@ grub_console_setcursor (struct grub_term_output *term __attribute__ ((unused)), - } - - static grub_err_t --grub_efi_console_init (struct grub_term_output *term) -+grub_efi_console_output_init (struct grub_term_output *term) - { - grub_efi_set_text_mode (1); - grub_console_setcursor (term, 1); -@@ -251,7 +326,7 @@ grub_efi_console_init (struct grub_term_output *term) - } - - static grub_err_t --grub_efi_console_fini (struct grub_term_output *term) -+grub_efi_console_output_fini (struct grub_term_output *term) - { - grub_console_setcursor (term, 0); - grub_efi_set_text_mode (0); -@@ -262,13 +337,14 @@ static struct grub_term_input grub_console_term_input = - { - .name = "console", - .getkey = grub_console_getkey, -+ .init = grub_efi_console_input_init, - }; - - static struct grub_term_output grub_console_term_output = - { - .name = "console", -- .init = grub_efi_console_init, -- .fini = grub_efi_console_fini, -+ .init = grub_efi_console_output_init, -+ .fini = grub_efi_console_output_fini, - .putchar = grub_console_putchar, - .getwh = grub_console_getwh, - .getxy = grub_console_getxy, -@@ -291,8 +367,8 @@ grub_console_init (void) - return; - } - -- grub_term_register_input ("console", &grub_console_term_input); - grub_term_register_output ("console", &grub_console_term_output); -+ grub_term_register_input ("console", &grub_console_term_input); - } - - void -diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h -index e5dd543..1423403 100644 ---- a/include/grub/efi/api.h -+++ b/include/grub/efi/api.h -@@ -111,7 +111,7 @@ - { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \ - } - --#define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \ -+#define GRUB_EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \ - { 0xdd9e7534, 0x7762, 0x4698, \ - { 0x8c, 0x14, 0xf5, 0x85, 0x17, 0xa6, 0x25, 0xaa } \ - } -@@ -952,6 +952,32 @@ struct grub_efi_input_key - }; - typedef struct grub_efi_input_key grub_efi_input_key_t; - -+typedef grub_efi_uint8_t grub_efi_key_toggle_state_t; -+struct grub_efi_key_state -+{ -+ grub_efi_uint32_t key_shift_state; -+ grub_efi_key_toggle_state_t key_toggle_state; -+}; -+typedef struct grub_efi_key_state grub_efi_key_state_t; -+ -+#define GRUB_EFI_SHIFT_STATE_VALID 0x80000000 -+#define GRUB_EFI_RIGHT_SHIFT_PRESSED 0x00000001 -+#define GRUB_EFI_LEFT_SHIFT_PRESSED 0x00000002 -+#define GRUB_EFI_RIGHT_CONTROL_PRESSED 0x00000004 -+#define GRUB_EFI_LEFT_CONTROL_PRESSED 0x00000008 -+#define GRUB_EFI_RIGHT_ALT_PRESSED 0x00000010 -+#define GRUB_EFI_LEFT_ALT_PRESSED 0x00000020 -+#define GRUB_EFI_RIGHT_LOGO_PRESSED 0x00000040 -+#define GRUB_EFI_LEFT_LOGO_PRESSED 0x00000080 -+#define GRUB_EFI_MENU_KEY_PRESSED 0x00000100 -+#define GRUB_EFI_SYS_REQ_PRESSED 0x00000200 -+ -+#define GRUB_EFI_TOGGLE_STATE_VALID 0x80 -+#define GRUB_EFI_KEY_STATE_EXPOSED 0x40 -+#define GRUB_EFI_SCROLL_LOCK_ACTIVE 0x01 -+#define GRUB_EFI_NUM_LOCK_ACTIVE 0x02 -+#define GRUB_EFI_CAPS_LOCK_ACTIVE 0x04 -+ - struct grub_efi_simple_text_output_mode - { - grub_efi_int32_t max_mode; -@@ -1294,6 +1320,43 @@ struct grub_efi_simple_input_interface - }; - typedef struct grub_efi_simple_input_interface grub_efi_simple_input_interface_t; - -+struct grub_efi_key_data { -+ grub_efi_input_key_t key; -+ grub_efi_key_state_t key_state; -+}; -+typedef struct grub_efi_key_data grub_efi_key_data_t; -+ -+typedef grub_efi_status_t (*grub_efi_key_notify_function_t) ( -+ grub_efi_key_data_t *key_data -+ ); -+ -+struct grub_efi_simple_text_input_ex_interface -+{ -+ grub_efi_status_t -+ (*reset) (struct grub_efi_simple_text_input_ex_interface *this, -+ grub_efi_boolean_t extended_verification); -+ -+ grub_efi_status_t -+ (*read_key_stroke) (struct grub_efi_simple_text_input_ex_interface *this, -+ grub_efi_key_data_t *key_data); -+ -+ grub_efi_event_t wait_for_key; -+ -+ grub_efi_status_t -+ (*set_state) (struct grub_efi_simple_text_input_ex_interface *this, -+ grub_efi_key_toggle_state_t *key_toggle_state); -+ -+ grub_efi_status_t -+ (*register_key_notify) (struct grub_efi_simple_text_input_ex_interface *this, -+ grub_efi_key_data_t *key_data, -+ grub_efi_key_notify_function_t key_notification_function); -+ -+ grub_efi_status_t -+ (*unregister_key_notify) (struct grub_efi_simple_text_input_ex_interface *this, -+ void *notification_handle); -+}; -+typedef struct grub_efi_simple_text_input_ex_interface grub_efi_simple_text_input_ex_interface_t; -+ - struct grub_efi_simple_text_output_interface - { - grub_efi_status_t --- -1.8.5.3 - diff --git a/0097-Don-t-print-during-fdt-loading-method.patch b/0102-Don-t-print-during-fdt-loading-method.patch similarity index 81% rename from 0097-Don-t-print-during-fdt-loading-method.patch rename to 0102-Don-t-print-during-fdt-loading-method.patch index 6053760..41ecb60 100644 --- a/0097-Don-t-print-during-fdt-loading-method.patch +++ b/0102-Don-t-print-during-fdt-loading-method.patch @@ -1,7 +1,7 @@ -From 74b685c11c5be60033cb3e9fb65760e2ab0aa087 Mon Sep 17 00:00:00 2001 +From d1d443a3ea5f6ba9eef4dd40e1435d567ffe8526 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 14 Jan 2014 16:15:46 -0500 -Subject: [PATCH 097/112] Don't print during fdt loading method. +Subject: [PATCH 102/103] Don't print during fdt loading method. Signed-off-by: Peter Jones --- @@ -23,5 +23,5 @@ index 2b8c561..acf2e0e 100644 EOF fi -- -1.8.5.3 +1.9.0 diff --git a/0102-May-as-well-try-it.patch b/0102-May-as-well-try-it.patch deleted file mode 100644 index 2938952..0000000 --- a/0102-May-as-well-try-it.patch +++ /dev/null @@ -1,1963 +0,0 @@ -From bc450a7ff6c40a2f498ce6026d9e6c4dd022ca59 Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Tue, 4 Mar 2014 11:00:23 -0500 -Subject: [PATCH 102/112] May as well try it. - ---- - .gitignore | 2 + - conf/Makefile.extra-dist | 1 - - configure.ac | 23 ++++++ - docs/Makefile.am | 2 - - docs/man/grub-bios-setup.h2m | 6 -- - docs/man/grub-editenv.h2m | 5 -- - docs/man/grub-emu.h2m | 6 -- - docs/man/grub-file.h2m | 2 - - docs/man/grub-fstest.h2m | 4 - - docs/man/grub-glue-efi.h2m | 4 - - docs/man/grub-install.h2m | 6 -- - docs/man/grub-kbdcomp.h2m | 10 --- - docs/man/grub-macbless.h2m | 4 - - docs/man/grub-macho2img.h2m | 4 - - docs/man/grub-menulst2cfg.h2m | 4 - - docs/man/grub-mkconfig.h2m | 4 - - docs/man/grub-mkfont.h2m | 4 - - docs/man/grub-mkimage.h2m | 6 -- - docs/man/grub-mklayout.h2m | 10 --- - docs/man/grub-mknetdir.h2m | 4 - - docs/man/grub-mkpasswd-pbkdf2.h2m | 4 - - docs/man/grub-mkrelpath.h2m | 4 - - docs/man/grub-mkrescue.h2m | 4 - - docs/man/grub-mkstandalone.h2m | 4 - - docs/man/grub-mount.h2m | 2 - - docs/man/grub-ofpathname.h2m | 4 - - docs/man/grub-pe2elf.h2m | 4 - - docs/man/grub-probe.h2m | 4 - - docs/man/grub-reboot.h2m | 5 -- - docs/man/grub-render-label.h2m | 3 - - docs/man/grub-script-check.h2m | 4 - - docs/man/grub-set-default.h2m | 5 -- - docs/man/grub-sparc64-setup.h2m | 6 -- - docs/man/grub-syslinux2cfg.h2m | 4 - - gentpl.py | 5 +- - util/grub-bios-setup.8 | 54 +++++++++++++ - util/grub-editenv.1 | 46 +++++++++++ - util/grub-file.1 | 165 ++++++++++++++++++++++++++++++++++++++ - util/grub-fstest.1 | 99 +++++++++++++++++++++++ - util/grub-glue-efi.1 | 31 +++++++ - util/grub-install.8 | 129 +++++++++++++++++++++++++++++ - util/grub-kbdcomp.1 | 19 +++++ - util/grub-macbless.1 | 22 +++++ - util/grub-menulst2cfg.1 | 12 +++ - util/grub-mkconfig.8 | 17 ++++ - util/grub-mkfont.1 | 87 ++++++++++++++++++++ - util/grub-mkimage.1 | 95 ++++++++++++++++++++++ - util/grub-mklayout.1 | 27 +++++++ - util/grub-mknetdir.1 | 12 +++ - util/grub-mkpasswd-pbkdf2.1 | 27 +++++++ - util/grub-mkrelpath.1 | 12 +++ - util/grub-mkrescue.1 | 123 ++++++++++++++++++++++++++++ - util/grub-mkstandalone.1 | 100 +++++++++++++++++++++++ - util/grub-ofpathname.8 | 12 +++ - util/grub-probe.8 | 80 ++++++++++++++++++ - util/grub-reboot.8 | 21 +++++ - util/grub-render-label.1 | 51 ++++++++++++ - util/grub-script-check.1 | 21 +++++ - util/grub-set-default.8 | 21 +++++ - util/grub-sparc64-setup.8 | 12 +++ - 60 files changed, 1321 insertions(+), 147 deletions(-) - delete mode 100644 docs/man/grub-bios-setup.h2m - delete mode 100644 docs/man/grub-editenv.h2m - delete mode 100644 docs/man/grub-emu.h2m - delete mode 100644 docs/man/grub-file.h2m - delete mode 100644 docs/man/grub-fstest.h2m - delete mode 100644 docs/man/grub-glue-efi.h2m - delete mode 100644 docs/man/grub-install.h2m - delete mode 100644 docs/man/grub-kbdcomp.h2m - delete mode 100644 docs/man/grub-macbless.h2m - delete mode 100644 docs/man/grub-macho2img.h2m - delete mode 100644 docs/man/grub-menulst2cfg.h2m - delete mode 100644 docs/man/grub-mkconfig.h2m - delete mode 100644 docs/man/grub-mkfont.h2m - delete mode 100644 docs/man/grub-mkimage.h2m - delete mode 100644 docs/man/grub-mklayout.h2m - delete mode 100644 docs/man/grub-mknetdir.h2m - delete mode 100644 docs/man/grub-mkpasswd-pbkdf2.h2m - delete mode 100644 docs/man/grub-mkrelpath.h2m - delete mode 100644 docs/man/grub-mkrescue.h2m - delete mode 100644 docs/man/grub-mkstandalone.h2m - delete mode 100644 docs/man/grub-mount.h2m - delete mode 100644 docs/man/grub-ofpathname.h2m - delete mode 100644 docs/man/grub-pe2elf.h2m - delete mode 100644 docs/man/grub-probe.h2m - delete mode 100644 docs/man/grub-reboot.h2m - delete mode 100644 docs/man/grub-render-label.h2m - delete mode 100644 docs/man/grub-script-check.h2m - delete mode 100644 docs/man/grub-set-default.h2m - delete mode 100644 docs/man/grub-sparc64-setup.h2m - delete mode 100644 docs/man/grub-syslinux2cfg.h2m - create mode 100644 util/grub-bios-setup.8 - create mode 100644 util/grub-editenv.1 - create mode 100644 util/grub-file.1 - create mode 100644 util/grub-fstest.1 - create mode 100644 util/grub-glue-efi.1 - create mode 100644 util/grub-install.8 - create mode 100644 util/grub-kbdcomp.1 - create mode 100644 util/grub-macbless.1 - create mode 100644 util/grub-menulst2cfg.1 - create mode 100644 util/grub-mkconfig.8 - create mode 100644 util/grub-mkfont.1 - create mode 100644 util/grub-mkimage.1 - create mode 100644 util/grub-mklayout.1 - create mode 100644 util/grub-mknetdir.1 - create mode 100644 util/grub-mkpasswd-pbkdf2.1 - create mode 100644 util/grub-mkrelpath.1 - create mode 100644 util/grub-mkrescue.1 - create mode 100644 util/grub-mkstandalone.1 - create mode 100644 util/grub-ofpathname.8 - create mode 100644 util/grub-probe.8 - create mode 100644 util/grub-reboot.8 - create mode 100644 util/grub-render-label.1 - create mode 100644 util/grub-script-check.1 - create mode 100644 util/grub-set-default.8 - create mode 100644 util/grub-sparc64-setup.8 - -diff --git a/conf/Makefile.extra-dist b/conf/Makefile.extra-dist -index 51f08c1..e914dfd 100644 ---- a/conf/Makefile.extra-dist -+++ b/conf/Makefile.extra-dist -@@ -10,7 +10,6 @@ EXTRA_DIST += unicode - EXTRA_DIST += util/import_gcry.py - EXTRA_DIST += util/import_unicode.py - --EXTRA_DIST += docs/man - EXTRA_DIST += docs/autoiso.cfg - EXTRA_DIST += docs/grub.cfg - EXTRA_DIST += docs/osdetect.cfg -diff --git a/configure.ac b/configure.ac -index 8888c2f..2632e2d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -70,6 +70,29 @@ grub_TRANSFORM([grub-set-default]) - grub_TRANSFORM([grub-sparc64-setup]) - grub_TRANSFORM([grub-render-label]) - grub_TRANSFORM([grub-file]) -+grub_TRANSFORM([grub-bios-setup.3]) -+grub_TRANSFORM([grub-editenv.1]) -+grub_TRANSFORM([grub-fstest.3]) -+grub_TRANSFORM([grub-glue-efi.3]) -+grub_TRANSFORM([grub-install.1]) -+grub_TRANSFORM([grub-kbdcomp.3]) -+grub_TRANSFORM([grub-menulst2cfg.1]) -+grub_TRANSFORM([grub-mkconfig.1]) -+grub_TRANSFORM([grub-mkfont.3]) -+grub_TRANSFORM([grub-mkimage.1]) -+grub_TRANSFORM([grub-mklayout.3]) -+grub_TRANSFORM([grub-mknetdir.3]) -+grub_TRANSFORM([grub-mkpasswd-pbkdf2.3]) -+grub_TRANSFORM([grub-mkrelpath.3]) -+grub_TRANSFORM([grub-mkrescue.1]) -+grub_TRANSFORM([grub-mkstandalone.3]) -+grub_TRANSFORM([grub-ofpathname.3]) -+grub_TRANSFORM([grub-probe.3]) -+grub_TRANSFORM([grub-reboot.3]) -+grub_TRANSFORM([grub-render-label.3]) -+grub_TRANSFORM([grub-script-check.3]) -+grub_TRANSFORM([grub-set-default.1]) -+grub_TRANSFORM([grub-sparc64-setup.3]) - - # Optimization flag. Allow user to override. - if test "x$TARGET_CFLAGS" = x; then -diff --git a/docs/Makefile.am b/docs/Makefile.am -index 93eb396..ab28f19 100644 ---- a/docs/Makefile.am -+++ b/docs/Makefile.am -@@ -5,5 +5,3 @@ info_TEXINFOS = grub.texi grub-dev.texi - grub_TEXINFOS = fdl.texi - - EXTRA_DIST = font_char_metrics.png font_char_metrics.txt -- -- -diff --git a/docs/man/grub-bios-setup.h2m b/docs/man/grub-bios-setup.h2m -deleted file mode 100644 -index ac6ede3..0000000 ---- a/docs/man/grub-bios-setup.h2m -+++ /dev/null -@@ -1,6 +0,0 @@ --[NAME] --grub-bios-setup \- set up a device to boot using GRUB --[SEE ALSO] --.BR grub-install (8), --.BR grub-mkimage (1), --.BR grub-mkrescue (1) -diff --git a/docs/man/grub-editenv.h2m b/docs/man/grub-editenv.h2m -deleted file mode 100644 -index 3859d3d..0000000 ---- a/docs/man/grub-editenv.h2m -+++ /dev/null -@@ -1,5 +0,0 @@ --[NAME] --grub-editenv \- edit GRUB environment block --[SEE ALSO] --.BR grub-reboot (8), --.BR grub-set-default (8) -diff --git a/docs/man/grub-emu.h2m b/docs/man/grub-emu.h2m -deleted file mode 100644 -index ef1c000..0000000 ---- a/docs/man/grub-emu.h2m -+++ /dev/null -@@ -1,6 +0,0 @@ --[NAME] --grub-emu \- GRUB emulator --[SEE ALSO] --If you are trying to install GRUB, then you should use --.BR grub-install (8) --rather than this program. -diff --git a/docs/man/grub-file.h2m b/docs/man/grub-file.h2m -deleted file mode 100644 -index e09bb4d..0000000 ---- a/docs/man/grub-file.h2m -+++ /dev/null -@@ -1,2 +0,0 @@ --[NAME] --grub-file \- check file type -diff --git a/docs/man/grub-fstest.h2m b/docs/man/grub-fstest.h2m -deleted file mode 100644 -index 9676b15..0000000 ---- a/docs/man/grub-fstest.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-fstest \- debug tool for GRUB filesystem drivers --[SEE ALSO] --.BR grub-probe (8) -diff --git a/docs/man/grub-glue-efi.h2m b/docs/man/grub-glue-efi.h2m -deleted file mode 100644 -index c1c6ded..0000000 ---- a/docs/man/grub-glue-efi.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-glue-efi \- generate a fat binary for EFI --[DESCRIPTION] --grub-glue-efi processes ia32 and amd64 EFI images and glues them according to Apple format. -diff --git a/docs/man/grub-install.h2m b/docs/man/grub-install.h2m -deleted file mode 100644 -index 8cbbc87..0000000 ---- a/docs/man/grub-install.h2m -+++ /dev/null -@@ -1,6 +0,0 @@ --[NAME] --grub-install \- install GRUB to a device --[SEE ALSO] --.BR grub-mkconfig (8), --.BR grub-mkimage (1), --.BR grub-mkrescue (1) -diff --git a/docs/man/grub-kbdcomp.h2m b/docs/man/grub-kbdcomp.h2m -deleted file mode 100644 -index d81f915..0000000 ---- a/docs/man/grub-kbdcomp.h2m -+++ /dev/null -@@ -1,10 +0,0 @@ --[NAME] --grub-kbdcomp \- generate a GRUB keyboard layout file --[DESCRIPTION] --grub-kbdcomp processes a X keyboard layout description in --.BR keymaps (5) --format into a format that can be used by GRUB's --.B keymap --command. --[SEE ALSO] --.BR grub-mklayout (8) -diff --git a/docs/man/grub-macbless.h2m b/docs/man/grub-macbless.h2m -deleted file mode 100644 -index 0197c00..0000000 ---- a/docs/man/grub-macbless.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-macbless \- bless a mac file/directory --[SEE ALSO] --.BR grub-install (1) -diff --git a/docs/man/grub-macho2img.h2m b/docs/man/grub-macho2img.h2m -deleted file mode 100644 -index d79aaee..0000000 ---- a/docs/man/grub-macho2img.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-macho2img \- convert Mach-O to raw image --[SEE ALSO] --.BR grub-mkimage (1) -diff --git a/docs/man/grub-menulst2cfg.h2m b/docs/man/grub-menulst2cfg.h2m -deleted file mode 100644 -index c2e0055..0000000 ---- a/docs/man/grub-menulst2cfg.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-menulst2cfg \- transform legacy menu.lst into grub.cfg --[SEE ALSO] --.BR grub-mkconfig (8) -diff --git a/docs/man/grub-mkconfig.h2m b/docs/man/grub-mkconfig.h2m -deleted file mode 100644 -index 9b42f81..0000000 ---- a/docs/man/grub-mkconfig.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkconfig \- generate a GRUB configuration file --[SEE ALSO] --.BR grub-install (8) -diff --git a/docs/man/grub-mkfont.h2m b/docs/man/grub-mkfont.h2m -deleted file mode 100644 -index d46fe60..0000000 ---- a/docs/man/grub-mkfont.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkfont \- make GRUB font files --[SEE ALSO] --.BR grub-mkconfig (8) -diff --git a/docs/man/grub-mkimage.h2m b/docs/man/grub-mkimage.h2m -deleted file mode 100644 -index f0fbc2b..0000000 ---- a/docs/man/grub-mkimage.h2m -+++ /dev/null -@@ -1,6 +0,0 @@ --[NAME] --grub-mkimage \- make a bootable image of GRUB --[SEE ALSO] --.BR grub-install (8), --.BR grub-mkrescue (1), --.BR grub-mknetdir (8) -diff --git a/docs/man/grub-mklayout.h2m b/docs/man/grub-mklayout.h2m -deleted file mode 100644 -index 1e43409..0000000 ---- a/docs/man/grub-mklayout.h2m -+++ /dev/null -@@ -1,10 +0,0 @@ --[NAME] --grub-mklayout \- generate a GRUB keyboard layout file --[DESCRIPTION] --grub-mklayout processes a keyboard layout description in --.BR keymaps (5) --format into a format that can be used by GRUB's --.B keymap --command. --[SEE ALSO] --.BR grub-mkconfig (8) -diff --git a/docs/man/grub-mknetdir.h2m b/docs/man/grub-mknetdir.h2m -deleted file mode 100644 -index a2ef13e..0000000 ---- a/docs/man/grub-mknetdir.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mknetdir \- prepare a GRUB netboot directory. --[SEE ALSO] --.BR grub-mkimage (1) -diff --git a/docs/man/grub-mkpasswd-pbkdf2.h2m b/docs/man/grub-mkpasswd-pbkdf2.h2m -deleted file mode 100644 -index 4d202f3..0000000 ---- a/docs/man/grub-mkpasswd-pbkdf2.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkpasswd-pbkdf2 \- generate hashed password for GRUB --[SEE ALSO] --.BR grub-mkconfig (8) -diff --git a/docs/man/grub-mkrelpath.h2m b/docs/man/grub-mkrelpath.h2m -deleted file mode 100644 -index d01f396..0000000 ---- a/docs/man/grub-mkrelpath.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkrelpath \- make a system path relative to its root --[SEE ALSO] --.BR grub-probe (8) -diff --git a/docs/man/grub-mkrescue.h2m b/docs/man/grub-mkrescue.h2m -deleted file mode 100644 -index a427f02..0000000 ---- a/docs/man/grub-mkrescue.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkrescue \- make a GRUB rescue image --[SEE ALSO] --.BR grub-mkimage (1) -diff --git a/docs/man/grub-mkstandalone.h2m b/docs/man/grub-mkstandalone.h2m -deleted file mode 100644 -index c773139..0000000 ---- a/docs/man/grub-mkstandalone.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-mkstandalone \- make a memdisk-based GRUB image --[SEE ALSO] --.BR grub-mkimage (1) -diff --git a/docs/man/grub-mount.h2m b/docs/man/grub-mount.h2m -deleted file mode 100644 -index 8d16898..0000000 ---- a/docs/man/grub-mount.h2m -+++ /dev/null -@@ -1,2 +0,0 @@ --[NAME] --grub-mount \- export GRUB filesystem with FUSE -diff --git a/docs/man/grub-ofpathname.h2m b/docs/man/grub-ofpathname.h2m -deleted file mode 100644 -index 74b43ee..0000000 ---- a/docs/man/grub-ofpathname.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-ofpathname \- find OpenBOOT path for a device --[SEE ALSO] --.BR grub-probe (8) -diff --git a/docs/man/grub-pe2elf.h2m b/docs/man/grub-pe2elf.h2m -deleted file mode 100644 -index 7ca29bd..0000000 ---- a/docs/man/grub-pe2elf.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-pe2elf \- convert PE image to ELF --[SEE ALSO] --.BR grub-mkimage (1) -diff --git a/docs/man/grub-probe.h2m b/docs/man/grub-probe.h2m -deleted file mode 100644 -index 6e1ffdc..0000000 ---- a/docs/man/grub-probe.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-probe \- probe device information for GRUB --[SEE ALSO] --.BR grub-fstest (1) -diff --git a/docs/man/grub-reboot.h2m b/docs/man/grub-reboot.h2m -deleted file mode 100644 -index e4acace..0000000 ---- a/docs/man/grub-reboot.h2m -+++ /dev/null -@@ -1,5 +0,0 @@ --[NAME] --grub-reboot \- set the default boot entry for GRUB, for the next boot only --[SEE ALSO] --.BR grub-set-default (8), --.BR grub-editenv (1) -diff --git a/docs/man/grub-render-label.h2m b/docs/man/grub-render-label.h2m -deleted file mode 100644 -index 50ae524..0000000 ---- a/docs/man/grub-render-label.h2m -+++ /dev/null -@@ -1,3 +0,0 @@ --[NAME] --grub-render-label \- generate a .disk_label for Apple Macs. -- -diff --git a/docs/man/grub-script-check.h2m b/docs/man/grub-script-check.h2m -deleted file mode 100644 -index 3653682..0000000 ---- a/docs/man/grub-script-check.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-script-check \- check grub.cfg for syntax errors --[SEE ALSO] --.BR grub-mkconfig (8) -diff --git a/docs/man/grub-set-default.h2m b/docs/man/grub-set-default.h2m -deleted file mode 100644 -index 7945001..0000000 ---- a/docs/man/grub-set-default.h2m -+++ /dev/null -@@ -1,5 +0,0 @@ --[NAME] --grub-set-default \- set the saved default boot entry for GRUB --[SEE ALSO] --.BR grub-reboot (8), --.BR grub-editenv (1) -diff --git a/docs/man/grub-sparc64-setup.h2m b/docs/man/grub-sparc64-setup.h2m -deleted file mode 100644 -index 18f803a..0000000 ---- a/docs/man/grub-sparc64-setup.h2m -+++ /dev/null -@@ -1,6 +0,0 @@ --[NAME] --grub-sparc64-setup \- set up a device to boot using GRUB --[SEE ALSO] --.BR grub-install (8), --.BR grub-mkimage (1), --.BR grub-mkrescue (1) -diff --git a/docs/man/grub-syslinux2cfg.h2m b/docs/man/grub-syslinux2cfg.h2m -deleted file mode 100644 -index ad25c8a..0000000 ---- a/docs/man/grub-syslinux2cfg.h2m -+++ /dev/null -@@ -1,4 +0,0 @@ --[NAME] --grub-syslinux2cfg \- transform syslinux config into grub.cfg --[SEE ALSO] --.BR grub-menulst2cfg (8) -diff --git a/gentpl.py b/gentpl.py -index bdcae1a..889cc91 100644 ---- a/gentpl.py -+++ b/gentpl.py -@@ -792,10 +792,7 @@ def manpage(defn, adddeps): - - output("if COND_MAN_PAGES\n") - gvar_add("man_MANS", name + "." + mansection) -- rule(name + "." + mansection, name + " " + adddeps, """ --chmod a+x """ + name + """ --PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=""" + mansection + """ -i $(top_srcdir)/docs/man/""" + name + """.h2m -o $@ """ + name + """ --""") -+ rule(name + "." + mansection, name + " " + adddeps, "cat $(top_srcdir)/util/" + name + "." + mansection + " | $(top_builddir)/config.status --file=$@:-") - gvar_add("CLEANFILES", name + "." + mansection) - output("endif\n") - -diff --git a/util/grub-bios-setup.8 b/util/grub-bios-setup.8 -new file mode 100644 -index 0000000..56f582b ---- /dev/null -+++ b/util/grub-bios-setup.8 -@@ -0,0 +1,54 @@ -+.TH GRUB-BIOS-SETUP 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-bios-setup\fR \(em Set up images to boot from a device. -+ -+.SH SYNOPSIS -+\fBgrub-bios-setup\fR [-a | --allow-floppy] [-b | --boot-image=\fIFILE\fR] -+.RS 17 -+[-c | --core-image=\fIFILE\fR] [-d | --directory=\fIDIR\fR] -+.RE -+.RS 17 -+[-f | --force] [-m | --device-map=\fIFILE\fR] -+.RE -+.RS 17 -+[-s | --skip-fs-probe] [-v | --verbose] \fIDEVICE\fR -+ -+.SH DESCRIPTION -+You should not normally run this program directly. Use grub-install instead. -+ -+.SH OPTIONS -+.TP -+\fB--allow-floppy\fR -+Make the device also bootable as a floppy. This option is the default for -+/dev/fdX devices. Some BIOSes will not boot images created with this option. -+ -+.TP -+\fB--boot-image\fR=\fIFILE\fR -+Use FILE as the boot image. The default value is \fBboot.img\fR. -+ -+.TP -+\fB--core-image\fR=\fIFILE\fR -+Use FILE as ther core image. The default value is \fBcore.img\fR. -+ -+.TP -+\fB--directory\fR=\fIDIR\fR -+Use GRUB files in the directory DIR. The default value is \fB/boot/grub\fR. -+ -+.TP -+\fB--force\fR -+Install even if problems are detected. -+ -+.TP -+\fB--device-map\fR=\fIFILE\fR -+Use FILE as the device map. The default value is /boot/grub/device.map . -+ -+.TP -+\fB--skip-fs-probe\fR -+Do not probe DEVICE for filesystems. -+ -+.TP -+\fB--verbose\fR -+Print verbose messages. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-editenv.1 b/util/grub-editenv.1 -new file mode 100644 -index 0000000..8dad33f ---- /dev/null -+++ b/util/grub-editenv.1 -@@ -0,0 +1,46 @@ -+.TH GRUB-EDITENV 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-editenv\fR \(em Manage the GRUB environment block. -+ -+.SH SYNOPSIS -+\fBgrub-editenv\fR [-v | --verbose] [\fIFILE\fR] -+.RS 14 -+ -+ -+.SH DESCRIPTION -+\fBgrub-editenv\fR is a command line tool to manage GRUB's stored environment. -+ -+.SH OPTIONS -+.TP -+\fB--verbose\fR -+Print verbose messages. -+ -+.TP -+\fBFILE\fR -+.RS 7 -+File name to use for grub environment. Default is /boot/grub/grubenv . -+.RE -+ -+.SH COMMANDS -+.TP -+\fBcreate\fR -+.RS 7 -+Create a blank environment block file. -+.RE -+ -+.TP -+\fBlist\fR -+.RS 7 -+List the current variables. -+.RE -+ -+.TP -+\fBset\fR [\fINAME\fR=\fIVALUE\fR ...] -+Set variables. -+ -+.TP -+\fBunset [\fINAME\fR ...] -+Delete variables. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-file.1 b/util/grub-file.1 -new file mode 100644 -index 0000000..b29cb32 ---- /dev/null -+++ b/util/grub-file.1 -@@ -0,0 +1,165 @@ -+.TH GRUB-FILE 1 "Web Feb 26 2014" -+.SH NAME -+\fBgrub-file\fR \(em Check if FILE is of specified type. -+ -+.SH SYNOPSIS -+\fBgrub-file\fR (--is-i386-xen-pae-domu | --is-x86_64-xen-domu | -+.RS 11 -+--is-x86-xen-dom0 | --is-x86-multiboot | -+.RE -+.RS 11 -+--is-x86-multiboot2 | --is-arm-linux | --is-arm64-linux | -+.RE -+.RS 11 -+--is-ia64-linux | --is-mips-linux | --is-mipsel-linux | -+.RE -+.RS 11 -+--is-sparc64-linux | --is-powerpc-linux | --is-x86-linux | -+.RE -+.RS 11 -+--is-x86-linux32 | --is-x86-kfreebsd | --is-i386-kfreebsd | -+.RE -+.RS 11 -+--is-x86_64-kfreebsd | --is-x86-knetbsd | -+.RE -+.RS 11 -+--is-i386-knetbsd | --is-x86_64-knetbsd | --is-i386-efi | -+.RE -+.RS 11 -+--is-x86_64-efi | --is-ia64-efi | --is-arm64-efi | -+.RE -+.RS 11 -+--is-arm-efi | --is-hibernated-hiberfil | --is-x86_64-xnu | -+.RE -+.RS 11 -+--is-i386-xnu | --is-xnu-hibr | --is-x86-bios-bootsector) -+.RE -+.RS 11 -+\fIFILE\fR -+ -+.SH DESCRIPTION -+\fBgrub-file\fR is used to check if \fIFILE\fR is of a specified type. -+ -+.SH OPTIONS -+.TP -+--is-i386-xen-pae-domu -+Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel -+ -+.TP -+--is-x86_64-xen-domu -+Check if FILE can be booted as x86_64 Xen unprivileged guest kernel -+ -+.TP -+--is-x86-xen-dom0 -+Check if FILE can be used as Xen x86 privileged guest kernel -+ -+.TP -+--is-x86-multiboot -+Check if FILE can be used as x86 multiboot kernel -+ -+.TP -+--is-x86-multiboot2 -+Check if FILE can be used as x86 multiboot2 kernel -+ -+.TP -+--is-arm-linux -+Check if FILE is ARM Linux -+ -+.TP -+--is-arm64-linux -+Check if FILE is ARM64 Linux -+ -+.TP -+--is-ia64-linux -+Check if FILE is IA64 Linux -+ -+.TP -+--is-mips-linux -+Check if FILE is MIPS Linux -+ -+.TP -+--is-mipsel-linux -+Check if FILE is MIPSEL Linux -+ -+.TP -+--is-sparc64-linux -+Check if FILE is SPARC64 Linux -+ -+.TP -+--is-powerpc-linux -+Check if FILE is POWERPC Linux -+ -+.TP -+--is-x86-linux -+Check if FILE is x86 Linux -+ -+.TP -+--is-x86-linux32 -+Check if FILE is x86 Linux supporting 32-bit protocol -+ -+.TP -+--is-x86-kfreebsd -+Check if FILE is x86 kFreeBSD -+ -+.TP -+--is-i386-kfreebsd -+Check if FILE is i386 kFreeBSD -+ -+.TP -+--is-x86_64-kfreebsd -+Check if FILE is x86_64 kFreeBSD -+ -+.TP -+--is-x86-knetbsd -+Check if FILE is x86 kNetBSD -+ -+.TP -+--is-i386-knetbsd -+Check if FILE is i386 kNetBSD -+ -+.TP -+--is-x86_64-knetbsd -+Check if FILE is x86_64 kNetBSD -+ -+.TP -+--is-i386-efi -+Check if FILE is i386 EFI file -+ -+.TP -+--is-x86_64-efi -+Check if FILE is x86_64 EFI file -+ -+.TP -+--is-ia64-efi -+Check if FILE is IA64 EFI file -+ -+.TP -+--is-arm64-efi -+Check if FILE is ARM64 EFI file -+ -+.TP -+--is-arm-efi -+Check if FILE is ARM EFI file -+ -+.TP -+--is-hibernated-hiberfil -+Check if FILE is hiberfil.sys in hibernated state -+ -+.TP -+--is-x86_64-xnu -+Check if FILE is x86_64 XNU (Mac OS X kernel) -+ -+.TP -+--is-i386-xnu -+Check if FILE is i386 XNU (Mac OS X kernel) -+ -+.TP -+--is-xnu-hibr -+Check if FILE is XNU (Mac OS X kernel) hibernated image -+ -+.TP -+--is-x86-bios-bootsector -+Check if FILE is BIOS bootsector -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-fstest.1 b/util/grub-fstest.1 -new file mode 100644 -index 0000000..792fa78 ---- /dev/null -+++ b/util/grub-fstest.1 -@@ -0,0 +1,99 @@ -+.TH GRUB-FSTEST 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-fstest\fR — Debug tool for GRUB's filesystem driver. -+ -+.SH SYNOPSIS -+\fBgrub-fstest\fR [-c | --diskcount=\fINUM\fR] [-C | --crypto] -+.RS 13 -+[-d | --debug=\fISTRING\fR] [-K | --zfs-key=\fIFILE\fR|\fIprompt\fR] -+.RE -+.RS 13 -+[-n | --length=\fINUM\fR] [-r | --root=\fIDEVICE_NAME\fR] -+.RE -+.RS 13 -+[-s | --skip=\fINUM\fR] [-u | --uncompress] [-v | --verbose] -+.RE -+.RS 13 -+\fIIMAGE_PATH\fR -+ -+.SH DESCRIPTION -+\fBgrub-fstest\fR is a tool for testing GRUB's filesystem drivers. You should not normally need to run this program. -+ -+.SH OPTIONS -+.TP -+\fB--diskcount\fR=\fINUM\fR -+Specify the number of input files. -+ -+.TP -+\fB--crypto\fR -+Mount cryptographic devices. -+ -+.TP -+\fB--debug\fR=\fISTRING\fR -+Set debug environment variable. -+ -+.TP -+\fB--zfs-key\fR=\fIFILE\fR|\fIprompt\fR -+Load ZFS cryptographic key. -+ -+.TP -+\fB--length\fR=\fINUM\fR -+Handle NUM bytes in output file. -+ -+.TP -+\fB--root\fR=\fIDEVICE_NAME\fR -+Set root device. -+ -+.TP -+\fB--skip\fR=\fINUM\fR -+Skip NUM bytes from output file. -+ -+.TP -+\fB--uncompress\fR -+Uncompress data. -+ -+.TP -+\fB--verbose\fR -+Print verbose messages. -+ -+.SH COMMANDS -+.TP -+\fBblocklist\fR \fIFILE\fR -+Display block list of \fIFILE\fR. -+ -+.TP -+\fBcat\fR \fIFILE\fR -+Display \fIFILE\fR on standard output. -+ -+.TP -+\fBcmp\fR \fIFILE\fR \fILOCAL\fR -+Compare \fIFILE\fR with local file \fILOCAL\fR. -+ -+.TP -+\fBcp\fR \fIFILE\fR \fILOCAL\fR -+Copy \fIFILE\fR to local file \fILOCAL\fR. -+ -+.TP -+\fBcrc\fR \fIFILE\fR -+Display the CRC-32 checksum of \fIFILE\fR. -+ -+.TP -+\fBhex\fR \fIFILE\fR -+Display contents of \fIFILE\fR in hexidecimal. -+ -+.TP -+\fBls\fR \fIPATH\fR -+List files at \fIPATH\fR. -+ -+.TP -+\fBxnu_uuid\fR \fIDEVICE\fR -+Display the XNU UUID of \fIDEVICE\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-glue-efi.1 b/util/grub-glue-efi.1 -new file mode 100644 -index 0000000..72bd555 ---- /dev/null -+++ b/util/grub-glue-efi.1 -@@ -0,0 +1,31 @@ -+.TH GRUB-GLUE-EFI 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-glue-efi\fR \(em Create an Apple fat EFI binary. -+ -+.SH SYNOPSIS -+\fBgrub-glue-efi\fR <-3 | --input32=\fIFILE\fR> <-6 | --input64=\fIFILE\fR> -+.RS 15 -+<-o | --output=\fIFILE\fR> [-v | --verbose] -+ -+.SH DESCRIPTION -+\fBgrub-glue-efi\fR creates an Apple fat EFI binary from two EFI binaries. -+ -+.SH OPTIONS -+.TP -+\fB--input32\fR=\fIFILE\fR -+Read 32-bit binary from \fIFILE\fR. -+ -+.TP -+\fB--input64\fR=\fIFILE\fR -+Read 64-bit binary from \fIFILE\fR. -+ -+.TP -+\fB--output\fR=\fIFILE\fR -+Write resulting fat binary to \fIFILE\fR. -+ -+.TP -+\fB--verbose\fR -+Print verbose messages. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-install.8 b/util/grub-install.8 -new file mode 100644 -index 0000000..76272a3 ---- /dev/null -+++ b/util/grub-install.8 -@@ -0,0 +1,129 @@ -+.TH GRUB-INSTALL 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-install\fR \(em Install GRUB on a device. -+ -+.SH SYNOPSIS -+\fBgrub-install\fR [--modules=\fIMODULES\fR] [--install-modules=\fIMODULES\fR] -+.RS 14 -+[--themes=\fITHEMES\fR] [--fonts=\fIFONTS\fR] [--locales=\fILOCALES\fR] -+.RE -+.RS 14 -+[--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]] [-d | --directory=\fIDIR\fR] -+.RE -+.RS 14 -+[--grub-mkimage=\fIFILE\fR] [--boot-directory=\fIDIR\fR] -+.RE -+.RS 14 -+[--target=\fITARGET\fR] [--grub-setup=\fIFILE\fR] -+.RE -+.RS 14 -+[--grub-mkrelpath=\fIFILE\fR] [--grub-probe=\fIFILE\fR] -+.RE -+.RS 14 -+[--allow-floppy] [--recheck] [--force] [--force-file-id] -+.RE -+.RS 14 -+[--disk-module=\fIMODULE\fR] [--no-nvram] [--removable] -+.RE -+.RS 14 -+[--bootloader-id=\fIID\fR] [--efi-directory=\fIDIR\fR] \fIINSTALL_DEVICE\fR -+ -+.SH DESCRIPTION -+\fBgrub-install\fR installs GRUB onto a device. This includes copying GRUB images into the target directory (generally \fI/boot/grub\fR), and on some platforms may also include installing GRUB onto a boot sector. -+ -+.SH OPTIONS -+.TP -+\fB--modules\fR=\fIMODULES\fR\! -+Pre-load modules specified by \fIMODULES\fR. -+ -+.TP -+\fB--install-modules\fR=\fIMODULES\fR -+Install only \fIMODULES\fR and their dependencies. The default is to install all available modules. -+ -+.TP -+\fB--themes\fR=\fITHEMES\fR -+Install \fITHEMES\fR. The default is to install the \fIstarfield\fR theme, if available. -+ -+.TP -+\fB--fonts\fR=\fIFONTS\fR -+Install \fIFONTS\fR. The default is to install the \fIunicode\fR font. -+ -+.TP -+\fB--locales\fR=\fILOCALES\fR -+Install only locales listed in \fILOCALES\fR. The default is to install all available locales. -+ -+.TP -+\fB--compress\fR=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR -+Compress GRUB files using the specified compression algorithm. -+ -+.TP -+\fB--directory\fR=\fIDIR\fR -+Use images and modules in \fIDIR\fR. -+ -+.TP -+\fB--grub-mkimage\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-mkimage\fR. The default is \fI/usr/bin/grub-mkimage\fR. -+ -+.TP -+\fB--boot-directory\fR=\fIDIR\fR -+Use \fIDIR\fR as the boot directory. The default is \fI/boot\fR. GRUB will put its files in a subdirectory of this directory named \fIgrub\fR. -+ -+.TP -+\fB--target\fR=\fITARGET\fR -+Install GRUB for \fITARGET\fR platform. The default is the platform \fBgrub-install\fR is running on. -+ -+.TP -+\fB--grub-setup\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-setup\fR. The default is \fI/usr/bin/grub-setup\fR. -+ -+.TP -+\fB--grub-mkrelpath\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-mkrelpath\fR. The default is \fI/usr/bin/grub-mkrelpath\fR. -+ -+.TP -+\fB--grub-probe\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-probe\fR. The default is \fI/usr/bin/grub-mkrelpath\fR. -+ -+.TP -+\fB--allow-floppy -+Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images created with this option. -+ -+.TP -+\fB--recheck -+Delete any existing device map and create a new one if necessary. -+ -+.TP -+\fB--force -+Install even if problems are detected. -+ -+.TP -+\fB--force-file-id -+Use identifier file even if UUID is available. -+ -+.TP -+\fB--disk-module\fR=\fIMODULE\fR -+Use \fIMODULE\fR for disk access. This allows you to manually specify either \fIbiosdisk\fR or \fInative\fR disk access. This option is only available on the BIOS target platform. -+ -+.TP -+\fB--no-nvram -+Do not update the \fIboot-device\fR NVRAM variable. This option is only available on IEEE1275 target platforms. -+ -+.TP -+\fB--removable -+Treat the target device as if it is removeable. This option is only available on the EFI target platform. -+ -+.TP -+\fB--bootloader-id\fR=\fIID\fR -+Use \fIID\fR as the bootloader ID. This opption is only available on the EFI target platform. -+ -+.TP -+\fB--efi-directory\fR=\fIDIR\fR -+Use \fIDIR\fR as the EFI System Partition root. This opption is only available on the EFI ta -+rget platform. -+ -+.TP -+\fIINSTALL_DEVICE\fR -+Install GRUB to the block device \fIINSTALL_DEVICE\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-kbdcomp.1 b/util/grub-kbdcomp.1 -new file mode 100644 -index 0000000..0bb969a ---- /dev/null -+++ b/util/grub-kbdcomp.1 -@@ -0,0 +1,19 @@ -+.TH GRUB-KBDCOMP 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-kbdcomp\fR \(em Generate a GRUB keyboard layout file. -+ -+.SH SYNOPSIS -+\fBgrub-kbdcomp\fR <-o | --output=\fIFILE\fR> \fICKBMAP_ARGUMENTS\fR -+ -+.SH DESCRIPTION -+\fBgrub-kbdcomp\fR processes an X keyboard layout description in -+\fBkeymaps\fR(5) format into a format that can be used by GRUB's \fBkeymap\fR -+command. -+ -+.SH OPTIONS -+.TP -+\fB--output\fR=\fIFILE\fR -+Write output to \fIFILE\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-macbless.1 b/util/grub-macbless.1 -new file mode 100644 -index 0000000..41a9618 ---- /dev/null -+++ b/util/grub-macbless.1 -@@ -0,0 +1,22 @@ -+.TH GRUB-MACBLESS 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-macbless\fR \(em Mac-style bless on HFS or HFS+ -+ -+.SH SYNOPSIS -+\fBgrub-macbless\fR [-v | --verbose] [-p | --ppc] \fIFILE\fR | [-x | --x86] \fIFILE\fR -+ -+.SH OPTIONS -+.TP -+--x86 -+Bless for x86 based Macs. -+ -+.TP -+--ppc -+Bless for PPC based Macs. -+ -+.TP -+--verbose -+Print verbose messages. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-menulst2cfg.1 b/util/grub-menulst2cfg.1 -new file mode 100644 -index 0000000..91e2ef8 ---- /dev/null -+++ b/util/grub-menulst2cfg.1 -@@ -0,0 +1,12 @@ -+.TH GRUB-MENULST2CFG 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-menulst2cfg\fR \(em Convert a configuration file from GRUB 0.xx to GRUB 2.xx format. -+ -+.SH SYNOPSIS -+\fBgrub-menulst2cfg\fR [\fIINFILE\fR [\fIOUTFILE\fR]] -+ -+.SH DESCRIPTION -+\fBgrub-menulst2cfg\fR converts a configuration file from GRUB 0.xx to the current format. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkconfig.8 b/util/grub-mkconfig.8 -new file mode 100644 -index 0000000..a2d1f57 ---- /dev/null -+++ b/util/grub-mkconfig.8 -@@ -0,0 +1,17 @@ -+.TH GRUB-MKCONFIG 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkconfig\fR \(em Generate a GRUB configuration file. -+ -+.SH SYNOPSIS -+\fBgrub-mkconfig\fR [-o | --output=\fIFILE\fR] -+ -+.SH DESCRIPTION -+\fBgrub-mkconfig\fR generates a configuration file for GRUB. -+ -+.SH OPTIONS -+.TP -+\fB--output\fR=\fIFILE\fR -+Write generated output to \fIFILE\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkfont.1 b/util/grub-mkfont.1 -new file mode 100644 -index 0000000..3494857 ---- /dev/null -+++ b/util/grub-mkfont.1 -@@ -0,0 +1,87 @@ -+.TH GRUB-MKFONT 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkfont\fR \(em Convert common font file formats into the PF2 format. -+ -+.SH SYNOPSIS -+\fBgrub-mkfont\fR [--ascii-bitmaps] [-a | --force-autohint] -+.RS 13 -+[-b | --bold] [-c | --asce=\fINUM\fR] [-d | --desc=\fINUM\fR] -+.RE -+.RS 13 -+[-i | --index=\fINUM\fR] [-n | --name=\fINAME\fR] [--no-bitmap] -+.RE -+.RS 13 -+[--no-hinting] <-o | --output=\fIFILE\fR> -+.RE -+.RS 13 -+[-r | --range=\fIFROM-TO\fR[\fI,FROM-TO\fR]] [-s | --size=\fISIZE\fR] -+.RE -+.RS 13 -+[-v | --verbose] [--width-spec] \fIFONT_FILES\fR -+ -+.SH DESCRIPTION -+\fBgrub-mkfont\fR converts font files from common formats into the PF2 format used by GRUB. -+ -+.SH OPTIONS -+.TP -+--ascii-bitmaps -+Save only bitmaps for ASCII characters. -+ -+.TP -+--force-autohint -+Force generation of automatic hinting. -+ -+.TP -+--bold -+Convert font to bold. -+ -+.TP -+--asce=\fINUM\fR -+Set font ascent to \fINUM\fR. -+ -+.TP -+--desc=\fINUM\fR -+Set font descent to \fINUM\fR. -+ -+.TP -+--index=\fINUM\fR -+Select face index \fINUM\fR. -+ -+.TP -+--name=\fINAME\fR -+Set font family to \fINAME\fR. -+ -+.TP -+--no-bitmap -+Ignore bitmap strikes when loading. -+ -+.TP -+--no-hinting -+Disable hinting. -+ -+.TP -+--output=\fIFILE\fR -+Save ouptut to \fIFILE\fR. This argument is required. -+ -+.TP -+--range=\fIFROM-TO\fR\fI,FROM-TO\fR -+Set the font ranges to each pair of \fIFROM\fR,\fITO\fR. -+ -+.TP -+--size=\fISIZE\fR -+Set font size to \fISIZE\fR. -+ -+.TP -+--verbose -+Print verbose messages. -+ -+.TP -+--width-spec -+Create a width summary file. -+ -+.TP -+\fIFONT_FILES\fR -+The input files to be converted. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkimage.1 b/util/grub-mkimage.1 -new file mode 100644 -index 0000000..4dea4f5 ---- /dev/null -+++ b/util/grub-mkimage.1 -@@ -0,0 +1,95 @@ -+.TH GRUB-MKIMAGE 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkimage\fR \(em Make a bootable GRUB image. -+ -+.SH SYNOPSIS -+\fBgrub-mkimage\fR [-c | --config=\fRFILE\fI] [-C | --compression=(\fIxz\fR,\fInone\fR,\fIauto\fR)] -+.RS 14 -+[-d | --directory=\fRDIR\fR] [-k | --pubkey=\fIFILE\fR] -+.RE -+.RS 14 -+[-m | --memdisk=\fIFILE\fR] [-n | --note] [-o | --output=\fIFILE\fR] -+.RE -+.RS 14 -+[-O | --format=\fIFORMAT\fR] [-p | --prefix=\fIDIR\fR] -+.RE -+.RS 14 -+[-v | --verbose] \fIMODULES\fR -+ -+.SH DESCRIPTION -+\fBgrub-mkimage\fI builds a bootable image of GRUB. -+ -+.SH OPTIONS -+.TP -+--config=\fIFILE\fR -+Embed \fIFILE\fR as the image's initial configuration file. -+ -+.TP -+--compression=(\fIxz\fR,\fInone\fR,\fIauto\fR) -+Use one of \fIxz\fR, \fInone\fR, or \fIauto\fR as the compression method for the core image. -+ -+.TP -+--directory=\fIDIR\fR -+Use images and modules from \fIDIR\fR. The default value is \fB/usr/lib/grub/\fR. -+ -+.TP -+--pubkey=\fIFILE\fR -+Embed the public key \fIFILE\fR for signature checking. -+ -+.TP -+--memdisk=\fIFILE\fR -+Embed the memdisk image \fIFILE\fR. If no \fB-p\fR option is also specified, this implies \fI-p (memdisk)/boot/grub\fR. -+ -+.TP -+--note -+Add a CHRP \fINOTE\fR section. This option is only valid on IEEE1275 platforms. -+ -+.TP -+--output=\fIFILE\fR -+Write the generated file to \fIFILE\fR. The default is to write to standard output. -+ -+.TP -+--format=\fIFORMAT\fR -+Generate an image in the specified \fIFORMAT\fR. Valid values are: -+.RS -+.RS 4 -+.P -+i386-coreboot, -+i386-multiboot, -+i386-pc, -+i386-pc-pxe, -+i386-efi, -+i386-ieee1275, -+i386-qemu, -+x86_64-efi, -+mipsel-yeeloong-flash, -+mipsel-fuloong2f-flash, -+mipself-loongson-elf, -+powerpc-ieee1275, -+sparc64-ieee1275-raw, -+sparc64-ieee1275-cdcore, -+sparc64-ieee1275-aout, -+ia64-efi, -+mips-arc, -+mipsel-arc, -+mipsel-qemu_mips-elf, -+mips-qemu_mips-flash, -+mipsel-qemu_mips-flash, -+mips-qemu_mips-elf -+.RE -+.RE -+ -+.TP -+--prefix=\fIDIR\fR -+Set prefix directory. The default value is \fI/boot/grub\fR. -+ -+.TP -+--verbose -+Print verbose messages. -+ -+.TP -+\fIMODULES\fR -+Include \fIMODULES\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mklayout.1 b/util/grub-mklayout.1 -new file mode 100644 -index 0000000..d1bbc2e ---- /dev/null -+++ b/util/grub-mklayout.1 -@@ -0,0 +1,27 @@ -+.TH GRUB-MKLAYOUT 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mklayout\fR \(em Generate a GRUB keyboard layout file. -+ -+.SH SYNOPSIS -+\fBgrub-mklayout\fR [-i | --input=\fIFILE\fR] [-o | --output=\fIFILE\fR] -+.RS 15 -+[-v | --verbose] -+ -+.SH DESCRIPTION -+\fBgrub-mklayout\fR generates a GRUB keyboard layout description which corresponds with the Linux console layout description given as input. -+ -+.SH OPTIONS -+.TP -+--input=\fIFILE\fR -+Use \fIFILE\fR as the input. The default value is the standard input device. -+ -+.TP -+--output=\fIFILE\fR -+Use \fIFILE\fR as the output. The default value is the standard output device. -+ -+.TP -+--verbose -+Print verbose messages. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mknetdir.1 b/util/grub-mknetdir.1 -new file mode 100644 -index 0000000..69c2262 ---- /dev/null -+++ b/util/grub-mknetdir.1 -@@ -0,0 +1,12 @@ -+.TH GRUB-MKNETDIR 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mknetdir\fR \(em Prepare a GRUB netboot directory. -+ -+.SH SYNOPSIS -+\fBgrub-mknetdir\fR -+ -+.SH DESCRIPTION -+\fBgrub-mknetdir\fR prepares a directory for GRUB to be netbooted from. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkpasswd-pbkdf2.1 b/util/grub-mkpasswd-pbkdf2.1 -new file mode 100644 -index 0000000..73c437c ---- /dev/null -+++ b/util/grub-mkpasswd-pbkdf2.1 -@@ -0,0 +1,27 @@ -+.TH GRUB-MKPASSWD-PBKDF2 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkpasswd-pbkdf2\fR \(em Generate a PBKDF2 password hash. -+ -+.SH SYNOPSIS -+\fBgrub-mkpasswd-pbkdf2\fR [-c | --iteration-count=\fINUM\fR] [-l | --buflen=\fINUM\fR] -+.RS 22 -+[-s | --salt=\fINUM\fR] -+ -+.SH DESCRIPTION -+\fBgrub-mkpasswd-pbkdf2\fR generates a PBKDF2 password string suitable for use in a GRUB configuration file. -+ -+.SH OPTIONS -+.TP -+--iteration-count=\fINUM\fR -+Number of PBKDF2 iterations. -+ -+.TP -+--buflen=\fINUM\fR -+Length of generated hash. -+ -+.TP -+--salt=\fINUM\fR -+Length of salt to use. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkrelpath.1 b/util/grub-mkrelpath.1 -new file mode 100644 -index 0000000..85f1113 ---- /dev/null -+++ b/util/grub-mkrelpath.1 -@@ -0,0 +1,12 @@ -+.TH GRUB-MKRELPATH 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkrelpath\fR \(em Generate a relative GRUB path given an OS path. -+ -+.SH SYNOPSIS -+\fBgrub-mkrelpath\fR \fIFILE\fR -+ -+.SH DESCRIPTION -+\fBgrub-mkrelpath\fR takes an OS filesystem path for \fIFILE\fR and returns a relative path suitable for use in a GRUB configuration file. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkrescue.1 b/util/grub-mkrescue.1 -new file mode 100644 -index 0000000..4ed9fc7 ---- /dev/null -+++ b/util/grub-mkrescue.1 -@@ -0,0 +1,123 @@ -+.TH GRUB-MKRESCUE 3 "Wed Feb 26 2014" -+.SH NAME -+grub-mkrescue \(em Generate a GRUB rescue image using GNU Xorriso. -+ -+.SH SYNOPSIS -+\fBgrub-mkrescue\fR [-o | --output=\fIFILE\fR] [--modules=\fIMODULES\fR] -+.RS 15 -+[--install-modules=\fIMODULES\fR] [--themes=\fITHEMES\fR] -+.RE -+.RS 15 -+[--fonts=\fIFONTS\fR] [--locales=\fILOCALES\fR] -+.RE -+.RS 15 -+[--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]] [-d | --directory=\fIDIR\fR] -+.RE -+.RS 15 -+[--grub-mkimage=\fIFILE\fR] [--rom-directory=\fIDIR\fR] -+.RE -+.RS 15 -+[--xorriso=\fIFILE\fR] [--grub-glue-efi=\fIFILE\fR] -+.RE -+.RS 15 -+[--grub-render-label=\fIFILE\fR] [--label-font=\fIFILE\fR] -+.RE -+.RS 15 -+[--label-color=\fICOLOR\fR] [--label-bgcolor=\fIFILE\fR] -+.RE -+.RS 15 -+[--product-name=\fISTRING\fR] [--product-version=\fISTRING\fR] -+.RE -+.RS 15 -+[--sparc-boot] [--arcs-boot] -+ -+.SH DESCRIPTION -+\fBgrub-mkrescue\fR can be used to generate a rescue image with the GRUB bootloader. -+ -+.SH OPTIONS -+.TP -+\fB--output\fR=\fIFILE\fR -+Write the generated file to \fIFILE\fR. The default is to write to standard output. -+ -+.TP -+\fB--modules\fR=\fIMODULES\fR -+Pre-load modules specified by \fIMODULES\fR. -+ -+.TP -+\fB--install-modules\fR=\fIMODULES\fR -+Install only \fIMODULES\fR and their dependencies. The default is to install all available modules. -+ -+.TP -+\fB--themes\fR=\fITHEMES\fR -+Install \fITHEMES\fR. The default is to install the \fIstarfield\fR theme, if available. -+ -+.TP -+\fB--fonts\fR=\fIFONTS\fR -+Install \fIFONTS\fR. The default is to install the \fIunicode\fR font. -+ -+.TP -+\fB--locales\fR=\fILOCALES\fR -+Install only locales listed in \fILOCALES\fR. The default is to install all available locales. -+ -+.TP -+\fB--compress\fR[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR] -+Compress GRUB files using the specified compression algorithm. -+ -+.TP -+\fB--directory\fR=\fIDIR\fR -+Use images and modules in \fIDIR\fR. -+ -+.TP -+\fB--grub-mkimage\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-mkimage\fR(1). The default is \fI/usr/bin/grub-mkimage\fR. -+ -+.TP -+\fB--rom-directory\fR=\fIDIR\fR -+Save ROM images in \fIDIR\fR. -+ -+.TP -+\fB--xorriso\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBxorriso\fI. -+ -+.TP -+\fB--grub-glue-efi\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-glue-efi\fR(3). -+ -+.TP -+\fB--grub-render-label\fR=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-render-label\fR(3). -+ -+.TP -+\fB--label-font\fR=\fIFILE\fR -+Use \fIFILE\fR as the font file for generated labels. -+ -+.TP -+\fB--label-color\fR=\fICOLOR\fR -+Use \fICOLOR\fI as the color for generated labels. -+ -+.TP -+\fB--label-bgcolor\fR=\fICOLOR\fR -+Use \fICOLOR\fR as the background color for generated labels. -+ -+.TP -+\fB--product-name\fR=\fISTRING\fR -+Use \fISTRING\fR as the product name in generated labels. -+ -+.TP -+\fB--product-version\fR=\fISTRING\fR -+Use \fISTRING\fR as the product version in generated labels. -+ -+.TP -+\fB--sparc-boot\fR -+Enable booting the SPARC platform. This disables HFS+, APM, ARCS, and "boot as disk image" on the \fIi386-pc\fR target platform. -+ -+.TP -+\fB--arcs-boot\fR -+Enable ARCS booting. This is typically for big-endian MIPS machines, and disables HFS+, APM, sparc64, and "boot as disk image" on the \fIi386-pc\fR target platform. -+ -+.TP -+\fB--\fR -+All options after a \fB--\fR will be passed directly to xorriso's command line when generating the image. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-mkstandalone.1 b/util/grub-mkstandalone.1 -new file mode 100644 -index 0000000..ba2d2bd ---- /dev/null -+++ b/util/grub-mkstandalone.1 -@@ -0,0 +1,100 @@ -+.TH GRUB-MKSTANDALONE 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-mkstandalone\fR \(em Generate a standalone image in the selected format. -+ -+.SH SYNOPSIS -+\fBgrub-mkstandalone\fR [-o | --output=\fIFILE\fR] [-O | --format=\fIFORMAT\fR] -+.RS 19 -+[-C | --compression=(\fIxz\fR|\fInone\fR|\fIauto\fR)] -+.RE -+.RS 19 -+[--modules=\fIMODULES\fR] [--install-modules=\fIMODULES\fR] -+.RE -+.RS 19 -+[--themes=\fITHEMES\fR] [--fonts=\fIFONTS\fR] -+.RE -+.RS 19 -+[--locales=\fILOCALES\fR] [--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR]] -+.RE -+.RS 19 -+[-d | --directory=\fIDIR\fR] [--grub-mkimage=\fIFILE\fR] -+.RE -+.RS 19 -+\fISOURCE...\fR -+ -+.SH DESCRIPTION -+ -+.SH OPTIONS -+.TP -+--output=\fIFILE\fR -+Write the generated file to \fIFILE\fR. The default is to write to standard output. -+ -+.TP -+--format=\fIFORMAT\fR -+Generate an image in the specified \fIFORMAT\fR. Valid values are: -+.RS -+.RS 4 -+.P -+i386-coreboot, -+i386-multiboot, -+i386-pc, -+i386-pc-pxe, -+i386-efi, -+i386-ieee1275, -+i386-qemu, -+x86_64-efi, -+mipsel-yeeloong-flash, -+mipsel-fuloong2f-flash, -+mipself-loongson-elf, -+powerpc-ieee1275, -+sparc64-ieee1275-raw, -+sparc64-ieee1275-cdcore, -+sparc64-ieee1275-aout, -+ia64-efi, -+mips-arc, -+mipsel-arc, -+mipsel-qemu_mips-elf, -+mips-qemu_mips-flash, -+mipsel-qemu_mips-flash, -+mips-qemu_mips-elf -+.RE -+.RE -+ -+.TP -+--compression=(\fIxz\fR|\fInone\fR|\fIauto\fR) -+Use one of \fIxz\fR, \fInone\fR, or \fIauto\fR as the compression method for the core image. -+ -+.TP -+--modules=\fIMODULES\fR -+Pre-load modules specified by \fIMODULES\fR. -+ -+.TP -+--install-modules=\fIMODULES\fR -+Install only \fIMODULES\fR and their dependencies. The default is to install all available modules. -+ -+.TP -+--themes=\fITHEMES\fR -+Install \fITHEMES\fR. The default is to install the \fIstarfield\fR theme, if available. -+ -+.TP -+--fonts=\fIFONTS\fR -+Install \fIFONTS\fR. The default is to install the \fIunicode\fR font. -+ -+.TP -+--locales=\fILOCALES\fR -+Install only locales listed in \fILOCALES\fR. The default is to install all available locales. -+ -+.TP -+--compress[=\fIno\fR,\fIxz\fR,\fIgz\fR,\fIlzo\fR] -+Compress GRUB files using the specified compression algorithm. -+ -+.TP -+--directory=\fIDIR\fR -+Use images and modules in \fIDIR\fR. -+ -+.TP -+--grub-mkimage=\fIFILE\fR -+Use \fIFILE\fR as \fBgrub-mkimage\fR. The default is \fI/usr/bin/grub-mkimage\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-ofpathname.8 b/util/grub-ofpathname.8 -new file mode 100644 -index 0000000..bf3743a ---- /dev/null -+++ b/util/grub-ofpathname.8 -@@ -0,0 +1,12 @@ -+.TH GRUB-OFPATHNAME 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-ofpathname\fR \(em Generate an IEEE-1275 device path for a specified device. -+ -+.SH SYNOPSIS -+\fBgrub-ofpathname\fR \fIDEVICE\fR -+ -+.SH DESCRIPTION -+\fBgrub-ofpathname\fR generates an IEEE-1275 device path for the specified \fIDEVICE\fR. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-probe.8 b/util/grub-probe.8 -new file mode 100644 -index 0000000..04e26c8 ---- /dev/null -+++ b/util/grub-probe.8 -@@ -0,0 +1,80 @@ -+.TH GRUB-PROBE 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-probe\fR \(em Probe device information for a given path. -+ -+.SH SYNOPSIS -+\fBgrub-probe\fR \[-d | --device] [-m | --device-map=\fIFILE\fR] -+.RS 12 -+[-t | --target=(fs|fs_uuid|fs_label|drive|device|partmap| -+.RE -+.RS 28 -+abstraction|cryptodisk_uuid| -+.RE -+.RS 28 -+msdos_parttype)] -+.RE -+.RS 12 -+[-v | --verbose] (PATH|DEVICE) -+ -+.SH DESCRIPTION -+\fBgrub-probe\fR probes a path or device for filesystem and related information. -+ -+.SH OPTIONS -+.TP -+--device -+Final option represents a \fIDEVICE\fR, rather than a filesystem \fIPATH\fR. -+.TP -+--device-map=\fIFILE\fR -+Use \fIFILE\fR as the device map. The default value is \fI/boot/grub/device.map\fR. -+ -+.TP -+--target=(fs|fs_uuid|fs_label|drive|device|partmap|msdos_parttype) -+Select among various output definitions. The default is \fIfs\fR. -+.RS -+.TP -+\fIfs\fR -+filesystem module -+ -+.TP -+\fIfs_uuid\fR -+filesystem UUID -+ -+.TP -+\fIfs_label\fR -+filesystem label -+ -+.TP -+\fIdrive\fR -+GRUB drive name -+ -+.TP -+\fIdevice\fR -+System device -+ -+.TP -+\fIpartmap\fR -+partition map module -+ -+.TP -+\fIabstraction\fR -+abstraction module -+ -+.TP -+\fIcryptodisk_uuid\fR -+cryptographic container -+ -+.TP -+\fImsdos_partmap\fR -+MS-DOS partition map -+.RE -+ -+.TP -+--verbose -+Print verbose output. -+ -+.TP -+(\fIPATH\fR|\fIDEVICE\fR) -+If --device is passed, a block \fIDEVICE\fR. Otherwise, the \fIPATH\fR of a file on the filesystem. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-reboot.8 b/util/grub-reboot.8 -new file mode 100644 -index 0000000..faa5e4e ---- /dev/null -+++ b/util/grub-reboot.8 -@@ -0,0 +1,21 @@ -+.TH GRUB-REBOOT 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-reboot\fR \(em Set the default boot menu entry for the next boot only. -+ -+.SH SYNOPSIS -+\fBgrub-reboot\fR [--boot-directory=\fIDIR\fR] \fIMENU_ENTRY\fR -+ -+.SH DESCRIPTION -+\fBgrub-reboot\fR sets the default boot menu entry for the next boot, but not further boots after that. This command only works for GRUB configuration files created with \fIGRUB_DEFAULT=saved\fR in \fI/etc/default/grub\fR. -+ -+.SH OPTIONS -+.TP -+--boot-directory=\fIDIR\fR -+Find GRUB images under \fIDIR/grub\fR. The default value is \fI/boot\fR, resulting in grub images being search for at \fI/boot/grub\fR. -+ -+.TP -+\fIMENU_ENTRY\fR -+A number, a menu item title or a menu item identifier. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-render-label.1 b/util/grub-render-label.1 -new file mode 100644 -index 0000000..4d51c8a ---- /dev/null -+++ b/util/grub-render-label.1 -@@ -0,0 +1,51 @@ -+.TH GRUB-RENDER-LABEL 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-render-label\fR \(em Render an Apple disk label. -+ -+.SH SYNOPSIS -+\fBgrub-render-label\fR [-b | --bgcolor=\fICOLOR\fR] [-c | --color=\fICOLOR\fR] -+.RS 19 -+[-f | --font=\fIFILE\fR] [-i | --input=\fIFILE\fR] -+.RE -+.RS 19 -+[-o | --output=\fIFILE\fR] [-t | --text=\fISTRING\fR] -+.RE -+.RS 19 -+[-v | --verbose] -+ -+.SH DESCRIPTION -+\fBgrub-render-label\fR renders an Apple disk label (.disk_label) file. -+ -+ -+.SH OPTIONS -+.TP -+\fB--color\fR=\fICOLOR\fR -+Use \fICOLOR\fI as the color for generated labels. -+ -+.TP -+\fB--bgcolor\fR=\fICOLOR\fR -+Use \fICOLOR\fR as the background color for generated labels. -+ -+.TP -+\fB--font\fR=\fIFILE\fR -+Use \fIFILE\fR as the font file for generated labels. -+ -+.TP -+--input=\fIFILE\fR -+Read input text from \fIFILE\fR. -+ -+.TP -+--output=\fIFILE\fR -+Render output to \fIFILE\fR. -+ -+.TP -+--text=\fISTRING\fR -+Use \fISTRING\fR as input text. -+ -+.TP -+--verbose -+Print verbose output. -+ -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-script-check.1 b/util/grub-script-check.1 -new file mode 100644 -index 0000000..0f1f625 ---- /dev/null -+++ b/util/grub-script-check.1 -@@ -0,0 +1,21 @@ -+.TH GRUB-SCRIPT-CHECK 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-script-check\fR \(em Check GRUB configuration file for syntax errors. -+ -+.SH SYNOPSIS -+\fBgrub-script-check\fR [-v | --verbose] \fIPATH\fR -+ -+.SH DESCRIPTION -+\fBgrub-script-check\fR verifies that a specified GRUB configuration file does not contain syntax errors. -+ -+.SH OPTIONS -+.TP -+--verbose -+Print verbose output. -+ -+.TP -+\fIPATH\fR -+Path of the file to use as input. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-set-default.8 b/util/grub-set-default.8 -new file mode 100644 -index 0000000..a96265a ---- /dev/null -+++ b/util/grub-set-default.8 -@@ -0,0 +1,21 @@ -+.TH GRUB-SET-DEFAULT 1 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-set-default\fR \(em Set the default boot menu entry for GRUB. -+ -+.SH SYNOPSIS -+\fBgrub-set-default\fR [--boot-directory=\fIDIR\fR] \fIMENU_ENTRY\fR -+ -+.SH DESCRIPTION -+\fBgrub-set-default\fR sets the default boot menu entry for all subsequent boots. This command only works for GRUB configuration files created with \fIGRUB_DEFAULT=saved\fR in \fI/etc/default/grub\fR. -+ -+.SH OPTIONS -+.TP -+--boot-directory=\fIDIR\fR -+Find GRUB images under \fIDIR/grub\fR. The default value is \fI/boot\fR, resulting in grub images being search for at \fI/boot/grub\fR. -+ -+.TP -+\fIMENU_ENTRY\fR -+A number, a menu item title or a menu item identifier. -+ -+.SH SEE ALSO -+.BR "info grub" -diff --git a/util/grub-sparc64-setup.8 b/util/grub-sparc64-setup.8 -new file mode 100644 -index 0000000..37ea2dd ---- /dev/null -+++ b/util/grub-sparc64-setup.8 -@@ -0,0 +1,12 @@ -+.TH GRUB-SPARC64-SETUP 3 "Wed Feb 26 2014" -+.SH NAME -+\fBgrub-sparc64-setup\fR \(em Set up a device to boot a sparc64 GRUB image. -+ -+.SH SYNOPSIS -+\fBgrub-sparc64-setup\fR [OPTIONS]. -+ -+.SH DESCRIPTION -+You should not normally run this program directly. Use grub-install instead. -+ -+.SH SEE ALSO -+.BR "info grub" --- -1.8.5.3 - diff --git a/0098-Honor-a-symlink-when-generating-configuration-by-gru.patch b/0103-Honor-a-symlink-when-generating-configuration-by-gru.patch similarity index 85% rename from 0098-Honor-a-symlink-when-generating-configuration-by-gru.patch rename to 0103-Honor-a-symlink-when-generating-configuration-by-gru.patch index d84bea4..869c7a8 100644 --- a/0098-Honor-a-symlink-when-generating-configuration-by-gru.patch +++ b/0103-Honor-a-symlink-when-generating-configuration-by-gru.patch @@ -1,7 +1,7 @@ -From 6ff2c5cd3d4b323d9ce9e306eb2ff23123bc49e7 Mon Sep 17 00:00:00 2001 +From 3da70b20f42c2c678d54cc0f56a6d3df6432d79e Mon Sep 17 00:00:00 2001 From: Marcel Kolaja Date: Tue, 21 Jan 2014 10:57:08 -0500 -Subject: [PATCH 098/112] Honor a symlink when generating configuration by +Subject: [PATCH 103/103] Honor a symlink when generating configuration by grub2-mkconfig Honor a symlink when generating configuration by grub2-mkconfig, so that @@ -25,5 +25,5 @@ index ca040dd..b00f9e6 100644 fi -- -1.8.5.3 +1.9.0 diff --git a/0103-use-fw_path-prefix-when-fallback-searching-for-grub-.patch b/0103-use-fw_path-prefix-when-fallback-searching-for-grub-.patch deleted file mode 100644 index 2ce20b2..0000000 --- a/0103-use-fw_path-prefix-when-fallback-searching-for-grub-.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 44880b8c21f94703940a7cfb5e0a66d0e9185dcf Mon Sep 17 00:00:00 2001 -From: Fedora Ninjas -Date: Wed, 19 Feb 2014 15:58:43 -0500 -Subject: [PATCH 103/112] use fw_path prefix when fallback searching for grub - config - -When PXE booting via UEFI firmware, grub was searching for grub.cfg -in the fw_path directory where the grub application was found. If -that didn't exist, a fallback search would look for config file names -based on MAC and IP address. However, the search would look in the -prefix directory which may not be the same fw_path. This patch -changes that behavior to use the fw_path directory for the fallback -search. Only if fw_path is NULL will the prefix directory be searched. - -Signed-off-by: Mark Salter ---- - grub-core/normal/main.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c -index f66c03c..5e2ac15 100644 ---- a/grub-core/normal/main.c -+++ b/grub-core/normal/main.c -@@ -343,7 +343,7 @@ grub_cmd_normal (struct grub_command *cmd __attribute__ ((unused)), - char *config; - const char *prefix, *fw_path; - -- fw_path = grub_env_get ("fw_path"); -+ prefix = fw_path = grub_env_get ("fw_path"); - if (fw_path) - { - config = grub_xasprintf ("%s/grub.cfg", fw_path); -@@ -366,7 +366,8 @@ grub_cmd_normal (struct grub_command *cmd __attribute__ ((unused)), - } - } - -- prefix = grub_env_get ("prefix"); -+ if (! prefix) -+ prefix = grub_env_get ("prefix"); - if (prefix) - { - grub_size_t config_len; --- -1.8.5.3 - diff --git a/0104-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch b/0104-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch deleted file mode 100644 index d22cfa4..0000000 --- a/0104-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch +++ /dev/null @@ -1,115 +0,0 @@ -From ae4b0a2e8a798b13e351c4b830e31021ca2d8da3 Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Thu, 6 Mar 2014 11:51:33 -0500 -Subject: [PATCH 104/112] Try mac/guid/etc before grub.cfg on tftp config - files. - -Signed-off-by: Peter Jones ---- - grub-core/normal/main.c | 80 ++++++++++++++++++++++++++----------------------- - 1 file changed, 43 insertions(+), 37 deletions(-) - -diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c -index 5e2ac15..4190985 100644 ---- a/grub-core/normal/main.c -+++ b/grub-core/normal/main.c -@@ -341,53 +341,59 @@ grub_cmd_normal (struct grub_command *cmd __attribute__ ((unused)), - /* Guess the config filename. It is necessary to make CONFIG static, - so that it won't get broken by longjmp. */ - char *config; -- const char *prefix, *fw_path; -- -- prefix = fw_path = grub_env_get ("fw_path"); -- if (fw_path) -- { -- config = grub_xasprintf ("%s/grub.cfg", fw_path); -- if (config) -- { -- grub_file_t file; -- -- file = grub_file_open (config); -- if (file) -- { -- grub_file_close (file); -- grub_enter_normal_mode (config); -- } -- else -- { -- /* Ignore all errors. */ -- grub_errno = 0; -- } -- grub_free (config); -- } -- } -+ const char *prefix; - -+ prefix = grub_env_get ("fw_path"); - if (! prefix) - prefix = grub_env_get ("prefix"); -+ - if (prefix) -- { -- grub_size_t config_len; -- config_len = grub_strlen (prefix) + -- sizeof ("/grub.cfg-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); -- config = grub_malloc (config_len); -+ { -+ if (grub_strncmp (prefix + 1, "tftp", sizeof ("tftp") - 1) == 0) -+ { -+ grub_size_t config_len; -+ config_len = grub_strlen (prefix) + -+ sizeof ("/grub.cfg-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); -+ config = grub_malloc (config_len); -+ -+ if (! config) -+ goto quit; - -- if (! config) -- goto quit; -+ grub_snprintf (config, config_len, "%s/grub.cfg", prefix); - -- grub_snprintf (config, config_len, "%s/grub.cfg", prefix); -+ grub_net_search_configfile (config); - -- if (grub_strncmp (prefix + 1, "tftp", sizeof ("tftp") - 1) == 0) -- grub_net_search_configfile (config); -+ grub_enter_normal_mode (config); -+ grub_free (config); -+ config = NULL; -+ } - -- grub_enter_normal_mode (config); -- grub_free (config); -+ if (!config) -+ { -+ config = grub_xasprintf ("%s/grub.cfg", prefix); -+ if (config) -+ { -+ grub_file_t file; -+ -+ file = grub_file_open (config); -+ if (file) -+ { -+ grub_file_close (file); -+ grub_enter_normal_mode (config); -+ } -+ else -+ { -+ /* Ignore all errors. */ -+ grub_errno = 0; -+ } -+ grub_free (config); -+ } -+ } - } - else -- grub_enter_normal_mode (0); -+ { -+ grub_enter_normal_mode (0); -+ } - } - else - grub_enter_normal_mode (argv[0]); --- -1.8.5.3 - diff --git a/0105-trim-arp-packets-with-abnormal-size.patch b/0105-trim-arp-packets-with-abnormal-size.patch deleted file mode 100644 index aad519d..0000000 --- a/0105-trim-arp-packets-with-abnormal-size.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 876f1ca10cf9c59b32ebb5184901eb44559f1afe Mon Sep 17 00:00:00 2001 -From: Paulo Flabiano Smorigo -Date: Wed, 5 Feb 2014 09:42:42 -0200 -Subject: [PATCH 105/112] 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. ---- - grub-core/net/arp.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/grub-core/net/arp.c b/grub-core/net/arp.c -index d62d0cc..77581f4 100644 ---- a/grub-core/net/arp.c -+++ b/grub-core/net/arp.c -@@ -162,6 +162,12 @@ grub_net_arp_receive (struct grub_net_buff *nb, - if (grub_net_addr_cmp (&inf->address, &target_addr) == 0 - && grub_be_to_cpu16 (arp_header->op) == ARP_REQUEST) - { -+ if ((nb->tail - nb->data) > 50) -+ { -+ grub_dprintf ("net", "arp packet with abnormal size (%ld bytes).\n", -+ nb->tail - nb->data); -+ nb->tail = nb->data + 50; -+ } - grub_net_link_level_address_t target; - /* We've already checked that pln is either 4 or 16. */ - char tmp[16]; --- -1.8.5.3 - diff --git a/0106-Fix-convert-function-to-support-NVMe-devices.patch b/0106-Fix-convert-function-to-support-NVMe-devices.patch deleted file mode 100644 index 62a43aa..0000000 --- a/0106-Fix-convert-function-to-support-NVMe-devices.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 0389c4140e8b359323e3d614032b0e55142ef337 Mon Sep 17 00:00:00 2001 -From: Peter Jones -Date: Tue, 18 Feb 2014 11:34:00 -0500 -Subject: [PATCH 106/112] 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 -the now very old version of convert_system_partition_to_system_disk(). - -As such, it certainly not the right thing for upstream, but should -function for now. - -Resolves: rhbz#1019660 - -Signed-off-by: Peter Jones ---- - util/getroot.c | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -diff --git a/util/getroot.c b/util/getroot.c -index 3958105..e700610 100644 ---- a/util/getroot.c -+++ b/util/getroot.c -@@ -152,6 +152,7 @@ convert_system_partition_to_system_disk (const char *os_dev, int *is_part) - { - #if GRUB_UTIL_FD_STAT_IS_FUNCTIONAL - struct stat st; -+ char *path = xmalloc(PATH_MAX); - - if (stat (os_dev, &st) < 0) - { -@@ -164,6 +165,24 @@ convert_system_partition_to_system_disk (const char *os_dev, int *is_part) - - *is_part = 0; - -+ if (realpath(os_dev, path)) -+ { -+ if ((strncmp ("/dev/nvme", path, 9) == 0)) -+ { -+ char *p = path + 5; -+ p = strchr(p, 'p'); -+ if (p) -+ { -+ *is_part = 1; -+ *p = '\0'; -+ } -+ return path; -+ } -+ } -+ -+ grub_free (path); -+ *is_part = 0; -+ - if (grub_util_device_is_mapped_stat (&st)) - return grub_util_devmapper_part_to_disk (&st, is_part, os_dev); - --- -1.8.5.3 - diff --git a/0107-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch b/0107-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch deleted file mode 100644 index 3f636db..0000000 --- a/0107-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 958c24780d09d0f08869aee320db830634269911 Mon Sep 17 00:00:00 2001 -From: Prarit Bhargava -Date: Wed, 12 Mar 2014 10:58:16 -0400 -Subject: [PATCH 107/112] Fix bad test on GRUB_DISABLE_SUBMENU. - -The file /etc/grub.d/10_linux does - -if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then - -when it should do - -if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then - -which results in submenus in /boot/grub2/grub.cfg when -GRUB_DISABLE_SUBMENU="yes". - -Resolves: rhbz#1063414 ---- - util/grub.d/10_linux.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in -index 136abd7..3f799e9 100644 ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -255,7 +255,7 @@ while [ "x$list" != "x" ] ; do - linux_root_device_thisversion=${GRUB_DEVICE} - fi - -- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then -+ if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then - linux_entry "${OS}" "${version}" simple \ - "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" - --- -1.8.5.3 - diff --git a/0108-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch b/0108-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch deleted file mode 100644 index dba3173..0000000 --- a/0108-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9266ee449882452a32f8cfd0d9ef590ca8c8851c Mon Sep 17 00:00:00 2001 -From: Fedora Ninjas -Date: Mon, 10 Feb 2014 16:13:10 -0500 -Subject: [PATCH 108/112] Switch to use APM Mustang device tree, for hardware - testing. - -Signed-off-by: David A. Marlin ---- - util/grub.d/10_linux.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in -index 3f799e9..2639511 100644 ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -228,8 +228,8 @@ while [ "x$list" != "x" ] ; do - - fdt= - for i in "dtb-${version}" "dtb-${alt_version}"; do -- if test -e "${dirname}/${i}/foundation-v8.dtb" ; then -- fdt="${i}/foundation-v8.dtb" -+ if test -e "${dirname}/${i}/apm-mustang.dtb" ; then -+ fdt="${i}/apm-mustang.dtb" - break - fi - done --- -1.8.5.3 - diff --git a/0109-Use-the-default-device-tree-from-the-grub-default-fi.patch b/0109-Use-the-default-device-tree-from-the-grub-default-fi.patch deleted file mode 100644 index 048e3df..0000000 --- a/0109-Use-the-default-device-tree-from-the-grub-default-fi.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 3d0e76048d0c50fb3f02fbd27f7bf52fbf8ca2c4 Mon Sep 17 00:00:00 2001 -From: Fedora Ninjas -Date: Wed, 12 Feb 2014 14:54:04 -0500 -Subject: [PATCH 109/112] Use the default device tree from the grub default - file - -instead of hardcoding a value. - -Signed-off-by: David A. Marlin ---- - util/grub-mkconfig.in | 3 ++- - util/grub.d/10_linux.in | 4 ++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in -index b00f9e6..beb22de 100644 ---- a/util/grub-mkconfig.in -+++ b/util/grub-mkconfig.in -@@ -224,7 +224,8 @@ export GRUB_DEFAULT \ - GRUB_ENABLE_CRYPTODISK \ - GRUB_BADRAM \ - GRUB_OS_PROBER_SKIP_LIST \ -- GRUB_DISABLE_SUBMENU -+ GRUB_DISABLE_SUBMENU \ -+ GRUB_DEFAULT_DTB - - if test "x${grub_cfg}" != "x"; then - rm -f "${grub_cfg}.new" -diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in -index 2639511..6480cd6 100644 ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -228,8 +228,8 @@ while [ "x$list" != "x" ] ; do - - fdt= - for i in "dtb-${version}" "dtb-${alt_version}"; do -- if test -e "${dirname}/${i}/apm-mustang.dtb" ; then -- fdt="${i}/apm-mustang.dtb" -+ if test -f "${dirname}/${i}/${GRUB_DEFAULT_DTB}" ; then -+ fdt="${i}/${GRUB_DEFAULT_DTB}" - break - fi - done --- -1.8.5.3 - diff --git a/0110-reopen-SNP-protocol-for-exclusive-use-by-grub.patch b/0110-reopen-SNP-protocol-for-exclusive-use-by-grub.patch deleted file mode 100644 index 350055a..0000000 --- a/0110-reopen-SNP-protocol-for-exclusive-use-by-grub.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 42d3848d0162ea8f824d63d57afb43b8b0a96860 Mon Sep 17 00:00:00 2001 -From: Fedora Ninjas -Date: Sat, 15 Feb 2014 15:10:22 -0500 -Subject: [PATCH 110/112] reopen SNP protocol for exclusive use by grub - ---- - grub-core/net/drivers/efi/efinet.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c -index 2b344d6..a6e4c79 100644 ---- a/grub-core/net/drivers/efi/efinet.c -+++ b/grub-core/net/drivers/efi/efinet.c -@@ -223,6 +223,7 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device, - { - struct grub_net_card *card; - grub_efi_device_path_t *dp; -+ grub_efi_simple_network_t *net; - - dp = grub_efi_get_device_path (hnd); - if (! dp) -@@ -250,6 +251,21 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device, - &pxe_mode->dhcp_ack, - sizeof (pxe_mode->dhcp_ack), - 1, device, path); -+ net = grub_efi_open_protocol (card->efi_handle, &net_io_guid, -+ GRUB_EFI_OPEN_PROTOCOL_BY_EXCLUSIVE); -+ if (net) { -+ if (net->mode->state == GRUB_EFI_NETWORK_STOPPED -+ && efi_call_1 (net->start, net) != GRUB_EFI_SUCCESS) -+ continue; -+ -+ if (net->mode->state == GRUB_EFI_NETWORK_STOPPED) -+ continue; -+ -+ if (net->mode->state == GRUB_EFI_NETWORK_STARTED -+ && efi_call_3 (net->initialize, net, 0, 0) != GRUB_EFI_SUCCESS) -+ continue; -+ card->efi_net = net; -+ } - return; - } - } --- -1.8.5.3 - diff --git a/0111-Reduce-timer-event-frequency-by-10.patch b/0111-Reduce-timer-event-frequency-by-10.patch deleted file mode 100644 index 2882ea5..0000000 --- a/0111-Reduce-timer-event-frequency-by-10.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 3cedd7c7beb7244ef9bd0e52ca7e3dcef0f206ff Mon Sep 17 00:00:00 2001 -From: Mark Salter -Date: Thu, 20 Feb 2014 12:54:52 -0500 -Subject: [PATCH 111/112] 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 -versus wallclock. Reduce the timer event frequency and increase tick -increment accordingly to keep better time. - -Signed-off-by: Mark Salter ---- - grub-core/kern/arm/efi/init.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/grub-core/kern/arm/efi/init.c b/grub-core/kern/arm/efi/init.c -index a6ae034..0c17d83 100644 ---- a/grub-core/kern/arm/efi/init.c -+++ b/grub-core/kern/arm/efi/init.c -@@ -38,7 +38,7 @@ static void - increment_timer (grub_efi_event_t event __attribute__ ((unused)), - void *context __attribute__ ((unused))) - { -- tmr++; -+ tmr += 10; - } - - void -@@ -52,7 +52,7 @@ grub_machine_init (void) - - efi_call_5 (b->create_event, GRUB_EFI_EVT_TIMER | GRUB_EFI_EVT_NOTIFY_SIGNAL, - GRUB_EFI_TPL_CALLBACK, increment_timer, NULL, &tmr_evt); -- efi_call_3 (b->set_timer, tmr_evt, GRUB_EFI_TIMER_PERIODIC, 10000); -+ efi_call_3 (b->set_timer, tmr_evt, GRUB_EFI_TIMER_PERIODIC, 100000); - - grub_install_get_time_ms (grub_efi_get_time_ms); - } --- -1.8.5.3 - diff --git a/0112-always-return-error-to-UEFI.patch b/0112-always-return-error-to-UEFI.patch deleted file mode 100644 index 523f591..0000000 --- a/0112-always-return-error-to-UEFI.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3349ad8d2c349541a42867afd389cdbe0d413dd6 Mon Sep 17 00:00:00 2001 -From: Fedora Ninjas -Date: Wed, 26 Feb 2014 21:49:12 -0500 -Subject: [PATCH 112/112] always return error to UEFI - ---- - grub-core/kern/efi/efi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c -index cd839cc..1a8dba5 100644 ---- a/grub-core/kern/efi/efi.c -+++ b/grub-core/kern/efi/efi.c -@@ -158,7 +158,7 @@ grub_exit (void) - { - grub_efi_fini (); - efi_call_4 (grub_efi_system_table->boot_services->exit, -- grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0); -+ grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0); - for (;;) ; - } - --- -1.8.5.3 - diff --git a/grub2.spec b/grub2.spec index 56a6058..52db98b 100644 --- a/grub2.spec +++ b/grub2.spec @@ -62,116 +62,107 @@ Source5: theme.tar.bz2 Patch0001: 0001-fix-EFI-detection-on-Windows.patch Patch0002: 0002-grub-core-kern-arm-cache_armv6.S-Remove-.arch-direct.patch -Patch0003: 0003-NEWS-First-draft-of-2.02-entry.patch -Patch0004: 0004-remove-unused-error.h-from-kern-emu-misc.c.patch -Patch0005: 0005-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch -Patch0006: 0006-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch -Patch0007: 0007-strip-.eh_frame-section-from-arm64-efi-kernel.patch -Patch0008: 0008-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch -Patch0009: 0009-fix-32-bit-compilation-on-MinGW-w64.patch -Patch0010: 0010-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch -Patch0011: 0011-arm64-set-correct-length-of-device-path-end-entry.patch -Patch0012: 0012-Makefile.util.def-grub-macbless-Change-mansection-to.patch -Patch0013: 0013-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch -Patch0014: 0014-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch -Patch0015: 0015-Prefer-more-portable-test-1-constructs.patch -Patch0016: 0016-NEWS-Add-few-missing-entries.patch -Patch0017: 0017-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch -Patch0018: 0018-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch -Patch0019: 0019-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch -Patch0020: 0020-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch -Patch0021: 0021-Fix-ChangeLog-date.patch -Patch0022: 0022-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch -Patch0023: 0023-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch -Patch0024: 0024-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch -Patch0025: 0025-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch -Patch0026: 0026-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch -Patch0027: 0027-Makefile.am-default_payload.elf-Add-modules.patch -Patch0028: 0028-fix-removal-of-cpu-machine-links-on-mingw-msys.patch -Patch0029: 0029-grub-core-normal-main.c-read_config_file-Buffer-conf.patch -Patch0030: 0030-util-grub-install.c-Fix-a-typo.patch -Patch0031: 0031-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch -Patch0032: 0032-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch -Patch0033: 0033-change-stop-condition-to-avoid-infinite-loops.patch -Patch0034: 0034-increase-network-try-interval-gradually.patch -Patch0035: 0035-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch -Patch0036: 0036-Show-detected-path-to-DejaVuSans-in-configure-summar.patch -Patch0037: 0037-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch -Patch0038: 0038-util-grub-install.c-write_to_disk-Add-an-info-messag.patch -Patch0039: 0039-util-grub-install.c-List-available-targets.patch -Patch0040: 0040-Fix-several-translatable-strings.patch -Patch0041: 0041-do-not-set-default-prefix-in-grub-mkimage.patch -Patch0042: 0042-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch -Patch0043: 0043-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch -Patch0044: 0044-grub-install-support-for-partitioned-partx-loop-devi.patch -Patch0045: 0045-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch -Patch0046: 0046-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch -Patch0047: 0047-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch -Patch0048: 0048-grub-core-disk-ahci.c-Add-safety-cleanups.patch -Patch0049: 0049-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch -Patch0050: 0050-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch -Patch0051: 0051-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch -Patch0052: 0052-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch -Patch0053: 0053-add-grub_env_set_net_property-function.patch -Patch0054: 0054-add-bootpath-parser-for-open-firmware.patch -Patch0055: 0055-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch -Patch0056: 0056-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch -Patch0057: 0057-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch -Patch0058: 0058-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch -Patch0059: 0059-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch -Patch0060: 0060-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch -Patch0061: 0061-Migrate-PPC-from-Yaboot-to-Grub2.patch -Patch0062: 0062-Add-fw_path-variable-revised.patch -Patch0063: 0063-Add-support-for-linuxefi.patch -Patch0064: 0064-Use-linuxefi-and-initrdefi-where-appropriate.patch -Patch0065: 0065-Don-t-allow-insmod-when-secure-boot-is-enabled.patch -Patch0066: 0066-Pass-x-hex-hex-straight-through-unmolested.patch -Patch0067: 0067-Fix-crash-on-http.patch -Patch0068: 0068-IBM-client-architecture-CAS-reboot-support.patch -Patch0069: 0069-Add-vlan-tag-support.patch -Patch0070: 0070-Add-X-option-to-printf-functions.patch -Patch0071: 0071-DHCP-client-ID-and-UUID-options-added.patch -Patch0072: 0072-Search-for-specific-config-file-for-netboot.patch -Patch0073: 0073-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch -Patch0074: 0074-Move-bash-completion-script-922997.patch -Patch0075: 0075-for-ppc-reset-console-display-attr-when-clear-screen.patch -Patch0076: 0076-Don-t-write-messages-to-the-screen.patch -Patch0077: 0077-Don-t-print-GNU-GRUB-header.patch -Patch0078: 0078-Don-t-add-to-highlighted-row.patch -Patch0079: 0079-Don-t-add-to-highlighted-row.patch -Patch0080: 0080-Message-string-cleanups.patch -Patch0081: 0081-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch -Patch0082: 0082-Use-the-correct-indentation-for-the-term-help-text.patch -Patch0083: 0083-Indent-menu-entries.patch -Patch0084: 0084-Fix-margins.patch -Patch0085: 0085-Add-support-for-UEFI-operating-systems-returned-by-o.patch -Patch0086: 0086-Disable-GRUB-video-support-for-IBM-power-machines.patch -Patch0087: 0087-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch -Patch0088: 0088-Use-linux16-when-appropriate-880840.patch -Patch0089: 0089-Enable-pager-by-default.-985860.patch -Patch0090: 0090-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch -Patch0091: 0091-Don-t-say-GNU-Linux-in-generated-menus.patch -Patch0092: 0092-Don-t-draw-a-border-around-the-menu.patch -Patch0093: 0093-Use-the-standard-margin-for-the-timeout-string.patch -Patch0094: 0094-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch -Patch0095: 0095-Add-.eh_frame-to-list-of-relocations-stripped.patch -Patch0096: 0096-Make-10_linux-work-with-our-changes-for-linux16-and-.patch -Patch0097: 0097-Don-t-print-during-fdt-loading-method.patch -Patch0098: 0098-Honor-a-symlink-when-generating-configuration-by-gru.patch -Patch0099: 0099-Don-t-require-a-password-to-boot-entries-generated-b.patch -Patch0100: 0100-Don-t-emit-Booting-.-message.patch -Patch0101: 0101-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch -Patch0102: 0102-May-as-well-try-it.patch -Patch0103: 0103-use-fw_path-prefix-when-fallback-searching-for-grub-.patch -Patch0104: 0104-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch -Patch0105: 0105-trim-arp-packets-with-abnormal-size.patch -Patch0106: 0106-Fix-convert-function-to-support-NVMe-devices.patch -Patch0107: 0107-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch -Patch0108: 0108-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch -Patch0109: 0109-Use-the-default-device-tree-from-the-grub-default-fi.patch -Patch0110: 0110-reopen-SNP-protocol-for-exclusive-use-by-grub.patch -Patch0111: 0111-Reduce-timer-event-frequency-by-10.patch -Patch0112: 0112-always-return-error-to-UEFI.patch +Patch0003: 0003-INSTALL-Cross-compiling-the-GRUB-Fix-some-spelling-m.patch +Patch0004: 0004-NEWS-First-draft-of-2.02-entry.patch +Patch0005: 0005-NEWS-The-cmosclean-command-in-fact-dates-back-to-1.9.patch +Patch0006: 0006-remove-unused-error.h-from-kern-emu-misc.c.patch +Patch0007: 0007-Don-t-abort-on-unavailable-coreboot-tables-if-not-ru.patch +Patch0008: 0008-NEWS-Add-few-missing-entries.-Correct-existing-ones.patch +Patch0009: 0009-strip-.eh_frame-section-from-arm64-efi-kernel.patch +Patch0010: 0010-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch +Patch0011: 0011-fix-32-bit-compilation-on-MinGW-w64.patch +Patch0012: 0012-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch +Patch0013: 0013-arm64-set-correct-length-of-device-path-end-entry.patch +Patch0014: 0014-Makefile.util.def-grub-macbless-Change-mansection-to.patch +Patch0015: 0015-add-part_apple-to-EFI-rescue-image-to-fix-missing-pr.patch +Patch0016: 0016-freebsd-hostdisk.c-is-only-ever-compiled-on-FreeBSD.patch +Patch0017: 0017-Prefer-more-portable-test-1-constructs.patch +Patch0018: 0018-NEWS-Add-few-missing-entries.patch +Patch0019: 0019-grub-core-kern-efi-efi.c-Ensure-that-the-result-star.patch +Patch0020: 0020-util-grub-mount.c-Extend-GCC-warning-workaround-to-g.patch +Patch0021: 0021-reintroduce-BUILD_LDFLAGS-for-the-cross-compile-case.patch +Patch0022: 0022-grub-core-term-terminfo.c-Recognize-keys-F1-F12.patch +Patch0023: 0023-Fix-ChangeLog-date.patch +Patch0024: 0024-Use-_W64-to-detect-MinGW-W64-32-instead-of-_FILE_OFF.patch +Patch0025: 0025-add-BUILD_EXEEXT-support-to-fix-make-clean-on-Window.patch +Patch0026: 0026-fix-include-loop-on-MinGW-due-to-libintl.h-pulling-s.patch +Patch0027: 0027-grub-core-commands-macbless.c-Rename-FILE-and-DIR-to.patch +Patch0028: 0028-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch +Patch0029: 0029-Makefile.am-default_payload.elf-Add-modules.patch +Patch0030: 0030-fix-removal-of-cpu-machine-links-on-mingw-msys.patch +Patch0031: 0031-grub-core-normal-main.c-read_config_file-Buffer-conf.patch +Patch0032: 0032-util-grub-install.c-Fix-a-typo.patch +Patch0033: 0033-use-MODULE_FILES-for-genemuinit-instead-of-MOD_FILES.patch +Patch0034: 0034-Ignore-EPERM-when-modifying-kern.geom.debugflags.patch +Patch0035: 0035-change-stop-condition-to-avoid-infinite-loops.patch +Patch0036: 0036-increase-network-try-interval-gradually.patch +Patch0037: 0037-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch +Patch0038: 0038-Show-detected-path-to-DejaVuSans-in-configure-summar.patch +Patch0039: 0039-add-GRUB_WINDOWS_EXTRA_DIST-to-allow-shipping-runtim.patch +Patch0040: 0040-util-grub-install.c-write_to_disk-Add-an-info-messag.patch +Patch0041: 0041-util-grub-install.c-List-available-targets.patch +Patch0042: 0042-Fix-several-translatable-strings.patch +Patch0043: 0043-do-not-set-default-prefix-in-grub-mkimage.patch +Patch0044: 0044-fix-Mingw-W64-32-cross-compile-failure-due-to-printf.patch +Patch0045: 0045-grub-core-term-serial.c-grub_serial_register-Fix-inv.patch +Patch0046: 0046-grub-install-support-for-partitioned-partx-loop-devi.patch +Patch0047: 0047-grub-core-term-at_keyboard.c-Tolerate-missing-keyboa.patch +Patch0048: 0048-.gitignore-add-missing-files-and-.exe-variants.patch +Patch0049: 0049-util-grub-mkfont.c-Downgrade-warnings-about-unhandle.patch +Patch0050: 0050-grub-core-disk-ahci.c-Do-not-enable-I-O-decoding-and.patch +Patch0051: 0051-grub-core-disk-ahci.c-Allocate-and-clean-space-for-a.patch +Patch0052: 0052-grub-core-disk-ahci.c-Add-safety-cleanups.patch +Patch0053: 0053-grub-core-disk-ahci.c-Properly-handle-transactions-w.patch +Patch0054: 0054-grub-core-disk-ahci.c-Increase-timeout.-Some-SSDs-ta.patch +Patch0055: 0055-util-grub-mkfont.c-Build-fix-for-argp.h-with-older-g.patch +Patch0056: 0056-util-grub-mkrescue.c-Build-fix-for-argp.h-with-older.patch +Patch0057: 0057-add-grub_env_set_net_property-function.patch +Patch0058: 0058-add-bootpath-parser-for-open-firmware.patch +Patch0059: 0059-grub-core-disk-ahci.c-Ignore-NPORTS-field-and-rely-o.patch +Patch0060: 0060-grub-core-kern-i386-coreboot-mmap.c-Filter-out-0xa00.patch +Patch0061: 0061-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch +Patch0062: 0062-grub-core-mmap-i386-uppermem.c-lower_hook-COREBOOT-I.patch +Patch0063: 0063-grub-core-kern-i386-pc-mmap.c-Fallback-to-EISA-memor.patch +Patch0064: 0064-include-grub-i386-openbsd_bootarg.h-Add-addr-and-fre.patch +Patch0065: 0065-Migrate-PPC-from-Yaboot-to-Grub2.patch +Patch0066: 0066-Add-fw_path-variable-revised.patch +Patch0067: 0067-Add-support-for-linuxefi.patch +Patch0068: 0068-Use-linuxefi-and-initrdefi-where-appropriate.patch +Patch0069: 0069-Don-t-allow-insmod-when-secure-boot-is-enabled.patch +Patch0070: 0070-Pass-x-hex-hex-straight-through-unmolested.patch +Patch0071: 0071-Fix-crash-on-http.patch +Patch0072: 0072-IBM-client-architecture-CAS-reboot-support.patch +Patch0073: 0073-Add-vlan-tag-support.patch +Patch0074: 0074-Add-X-option-to-printf-functions.patch +Patch0075: 0075-DHCP-client-ID-and-UUID-options-added.patch +Patch0076: 0076-Search-for-specific-config-file-for-netboot.patch +Patch0077: 0077-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch +Patch0078: 0078-Move-bash-completion-script-922997.patch +Patch0079: 0079-for-ppc-reset-console-display-attr-when-clear-screen.patch +Patch0080: 0080-Don-t-write-messages-to-the-screen.patch +Patch0081: 0081-Don-t-print-GNU-GRUB-header.patch +Patch0082: 0082-Don-t-add-to-highlighted-row.patch +Patch0083: 0083-Don-t-add-to-highlighted-row.patch +Patch0084: 0084-Message-string-cleanups.patch +Patch0085: 0085-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch +Patch0086: 0086-Use-the-correct-indentation-for-the-term-help-text.patch +Patch0087: 0087-Indent-menu-entries.patch +Patch0088: 0088-Fix-margins.patch +Patch0089: 0089-Add-support-for-UEFI-operating-systems-returned-by-o.patch +Patch0090: 0090-Disable-GRUB-video-support-for-IBM-power-machines.patch +Patch0091: 0091-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch +Patch0092: 0092-Use-linux16-when-appropriate-880840.patch +Patch0093: 0093-Enable-pager-by-default.-985860.patch +Patch0094: 0094-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch +Patch0095: 0095-Don-t-say-GNU-Linux-in-generated-menus.patch +Patch0096: 0096-Don-t-draw-a-border-around-the-menu.patch +Patch0097: 0097-Use-the-standard-margin-for-the-timeout-string.patch +Patch0098: 0098-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch +Patch0099: 0099-Add-.eh_frame-to-list-of-relocations-stripped.patch +Patch0100: 0100-arm64-set-correct-length-of-device-path-end-entry.patch +Patch0101: 0101-Make-10_linux-work-with-our-changes-for-linux16-and-.patch +Patch0102: 0102-Don-t-print-during-fdt-loading-method.patch +Patch0103: 0103-Honor-a-symlink-when-generating-configuration-by-gru.patch BuildRequires: flex bison binutils python BuildRequires: ncurses-devel xz-devel bzip2-devel