47 |
Source14: Mageia5-grub2-1024x768.png |
Source14: Mageia5-grub2-1024x768.png |
48 |
Source15: MageiaLogoFonts-bdf.tar.xz |
Source15: MageiaLogoFonts-bdf.tar.xz |
49 |
|
|
50 |
# Upstream git snapshot |
# |
51 |
Patch1: grub2-grub-2.02-beta2-mga-git-%{git}.patch |
# Fedora patches: |
52 |
# fix CVE-2014-4607 in bundled minilzo |
# |
53 |
Patch2: grub-2.00-minilzo.patch |
|
54 |
Patch3: grub2-2.00-mga-add_failsafe-10_linux.in.patch |
# generate with: |
55 |
|
# git diff grub-2.02-beta2..origin/master |
56 |
# Fedora patches not upstream |
Patch0000: grub-2.02-beta2-to-origin-master.patch |
57 |
Patch0101: 0443-Migrate-PPC-from-Yaboot-to-Grub2.patch |
|
58 |
Patch0102: 0450-Pass-x-hex-hex-straight-through-unmolested.patch |
# generate all the patches after this with: |
59 |
Patch0103: 0451-Fix-crash-on-http.patch |
# git format-patch fedora-diff-from-here..fedora-23 |
60 |
Patch0104: 0460-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch |
Patch0001: 0001-Migrate-PPC-from-Yaboot-to-Grub2.patch |
61 |
Patch0105: 0462-for-ppc-reset-console-display-attr-when-clear-screen.patch |
Patch0002: 0002-Add-fw_path-variable-revised.patch |
62 |
Patch0106: 0476-Use-the-correct-indentation-for-the-term-help-text.patch |
Patch0003: 0003-Add-support-for-linuxefi.patch |
63 |
Patch0107: 0126-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch |
Patch0004: 0004-Use-linuxefi-and-initrdefi-where-appropriate.patch |
64 |
Patch0108: 0039-Don-t-require-a-password-to-boot-entries-generated-b.patch |
Patch0005: 0005-Don-t-allow-insmod-when-secure-boot-is-enabled.patch |
65 |
Patch0109: 0040-Don-t-emit-Booting-.-message.patch |
Patch0006: 0006-Pass-x-hex-hex-straight-through-unmolested.patch |
66 |
Patch0111: 0042-May-as-well-try-it.patch |
Patch0007: 0007-Fix-crash-on-http.patch |
67 |
Patch0114: 0045-trim-arp-packets-with-abnormal-size.patch |
Patch0008: 0008-IBM-client-architecture-CAS-reboot-support.patch |
68 |
Patch0115: 0046-Fix-convert-function-to-support-NVMe-devices.patch |
Patch0009: 0009-Add-vlan-tag-support.patch |
69 |
Patch0116: 0047-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch |
Patch0010: 0010-Add-X-option-to-printf-functions.patch |
70 |
Patch0119: 0050-reopen-SNP-protocol-for-exclusive-use-by-grub.patch |
Patch0011: 0011-DHCP-client-ID-and-UUID-options-added.patch |
71 |
Patch0121: 0052-always-return-error-to-UEFI.patch |
Patch0012: 0012-Search-for-specific-config-file-for-netboot.patch |
72 |
Patch0123: 0054-Add-grub_util_readlink.patch |
Patch0013: 0013-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch |
73 |
Patch0124: 0055-Make-editenv-chase-symlinks-including-those-across-d.patch |
Patch0014: 0014-Move-bash-completion-script-922997.patch |
74 |
Patch0126: 0057-Fix-GRUB_DISABLE_SUBMENU-one-more-time.patch |
Patch0015: 0015-for-ppc-reset-console-display-attr-when-clear-screen.patch |
75 |
Patch0127: 0058-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch |
Patch0016: 0016-Don-t-write-messages-to-the-screen.patch |
76 |
Patch0128: 0059-Add-GRUB_DISABLE_UUID.patch |
Patch0017: 0017-Don-t-print-GNU-GRUB-header.patch |
77 |
Patch0129: 0060-Allow-fallback-to-include-entries-by-title-not-just-.patch |
Patch0018: 0018-Don-t-add-to-highlighted-row.patch |
78 |
Patch0132: 0063-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch |
Patch0019: 0019-Message-string-cleanups.patch |
79 |
Patch0134: 0065-Make-grub2-mkconfig-construct-titles-that-look-like-.patch |
Patch0020: 0020-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch |
80 |
Patch0135: 0066-Make-rescue-and-debug-entries-sort-right-again-in-gr.patch |
Patch0021: 0021-Use-the-correct-indentation-for-the-term-help-text.patch |
81 |
Patch0136: 0067-Make-.gitignore-suck-way-less.patch |
Patch0022: 0022-Indent-menu-entries.patch |
82 |
Patch0137: 0068-Update-info-with-grub.cfg-netboot-selection-order-11.patch |
Patch0023: 0023-Fix-margins.patch |
83 |
Patch0138: 0069-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch |
Patch0024: 0024-Add-support-for-UEFI-operating-systems-returned-by-o.patch |
84 |
Patch0139: 0070-Add-friendly-grub2-password-config-tool-985962.patch |
Patch0025: 0025-Disable-GRUB-video-support-for-IBM-power-machines.patch |
85 |
Patch0140: 0071-Make-exit-take-a-return-code.patch |
Patch0026: 0026-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch |
86 |
Patch0143: 0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch |
Patch0027: 0027-Use-linux16-when-appropriate-880840.patch |
87 |
Patch0144: 10001-Put-the-correct-.file-directives-in-our-.S-files.patch |
Patch0028: 0028-Enable-pager-by-default.-985860.patch |
88 |
Patch0146: 10003-Make-it-possible-to-enabled-build-id-sha1.patch |
Patch0029: 0029-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch |
89 |
Patch0147: 10005-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch |
Patch0030: 0030-Don-t-say-GNU-Linux-in-generated-menus.patch |
90 |
Patch0149: 0075-Fix-security-issue-when-reading-username-and-passwor.patch |
Patch0031: 0031-Don-t-draw-a-border-around-the-menu.patch |
91 |
Patch0150: 0076-01_users-Handle-GRUB_PASSWORD-better.patch |
Patch0032: 0032-Use-the-standard-margin-for-the-timeout-string.patch |
92 |
|
Patch0033: 0033-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch |
93 |
|
Patch0034: 0034-Add-.eh_frame-to-list-of-relocations-stripped.patch |
94 |
|
Patch0035: 0035-Make-10_linux-work-with-our-changes-for-linux16-and-.patch |
95 |
|
Patch0036: 0036-Don-t-print-during-fdt-loading-method.patch |
96 |
|
Patch0037: 0037-Honor-a-symlink-when-generating-configuration-by-gru.patch |
97 |
|
Patch0038: 0038-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch |
98 |
|
Patch0039: 0039-Don-t-require-a-password-to-boot-entries-generated-b.patch |
99 |
|
Patch0040: 0040-Don-t-emit-Booting-.-message.patch |
100 |
|
Patch0041: 0041-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch |
101 |
|
Patch0042: 0042-May-as-well-try-it.patch |
102 |
|
Patch0043: 0043-use-fw_path-prefix-when-fallback-searching-for-grub-.patch |
103 |
|
Patch0044: 0044-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch |
104 |
|
Patch0045: 0045-trim-arp-packets-with-abnormal-size.patch |
105 |
|
Patch0046: 0046-Fix-convert-function-to-support-NVMe-devices.patch |
106 |
|
Patch0047: 0047-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch |
107 |
|
Patch0048: 0048-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch |
108 |
|
Patch0049: 0049-Use-the-default-device-tree-from-the-grub-default-fi.patch |
109 |
|
Patch0050: 0050-reopen-SNP-protocol-for-exclusive-use-by-grub.patch |
110 |
|
Patch0051: 0051-Reduce-timer-event-frequency-by-10.patch |
111 |
|
Patch0052: 0052-always-return-error-to-UEFI.patch |
112 |
|
Patch0053: 0053-Suport-for-bi-endianess-in-elf-file.patch |
113 |
|
Patch0054: 0054-Add-grub_util_readlink.patch |
114 |
|
Patch0055: 0055-Make-editenv-chase-symlinks-including-those-across-d.patch |
115 |
|
Patch0056: 0056-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch |
116 |
|
Patch0057: 0057-Fix-GRUB_DISABLE_SUBMENU-one-more-time.patch |
117 |
|
Patch0058: 0058-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch |
118 |
|
Patch0059: 0059-Add-GRUB_DISABLE_UUID.patch |
119 |
|
Patch0060: 0060-Allow-fallback-to-include-entries-by-title-not-just-.patch |
120 |
|
Patch0061: 0061-Load-arm-with-SB-enabled.patch |
121 |
|
Patch0062: 0062-Try-prefix-if-fw_path-doesn-t-work.patch |
122 |
|
Patch0063: 0063-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch |
123 |
|
Patch0064: 0064-Update-to-minilzo-2.08.patch |
124 |
|
Patch0065: 0065-Make-grub2-mkconfig-construct-titles-that-look-like-.patch |
125 |
|
Patch0066: 0066-Make-rescue-and-debug-entries-sort-right-again-in-gr.patch |
126 |
|
Patch0067: 0067-Make-.gitignore-suck-way-less.patch |
127 |
|
Patch0068: 0068-Update-info-with-grub.cfg-netboot-selection-order-11.patch |
128 |
|
Patch0069: 0069-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch |
129 |
|
Patch0070: 0070-Add-friendly-grub2-password-config-tool-985962.patch |
130 |
|
Patch0071: 0071-Make-exit-take-a-return-code.patch |
131 |
|
Patch0072: 0072-Add-some-__unused__-where-gcc-5.x-is-more-picky-abou.patch |
132 |
|
Patch0073: 0073-Fix-race-in-EFI-validation.patch |
133 |
|
Patch0074: 0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch |
134 |
|
Patch0075: 0075-Fix-security-issue-when-reading-username-and-passwor.patch |
135 |
|
Patch0076: 0076-01_users-Handle-GRUB_PASSWORD-better.patch |
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
# And these are: |
141 |
|
# git checkout debuginfo |
142 |
|
# git format-patch fedora-23.. |
143 |
|
Patch10001: 10001-Put-the-correct-.file-directives-in-our-.S-files.patch |
144 |
|
Patch10002: 10002-Make-efi-machines-load-an-env-block-from-a-variable.patch |
145 |
|
Patch10003: 10003-Make-it-possible-to-enabled-build-id-sha1.patch |
146 |
|
#Patch10004: 10004-Don-t-tell-the-compiler-to-do-annoying-things-with-f.patch |
147 |
|
Patch10005: 10005-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch |
148 |
|
Patch10006: 10006-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch |
149 |
|
|
150 |
|
# |
151 |
|
# Mga patches: |
152 |
|
# |
153 |
#Patch0151: grub2-2.02-mga-fix_halt_at_grub_prompt.patch |
#Patch0151: grub2-2.02-mga-fix_halt_at_grub_prompt.patch |
154 |
Patch0152: 10002-mga-git10270-Make-efi-machines-load-an-env-block-from-a-variable.patch |
Patch20001: grub2-2.00-mga-add_failsafe-10_linux.in.patch |
155 |
|
|
156 |
BuildRequires: flex |
BuildRequires: flex |
157 |
BuildRequires: bison |
BuildRequires: bison |
253 |
%setup -q -n grub-%{tarversion} |
%setup -q -n grub-%{tarversion} |
254 |
|
|
255 |
cp %{SOURCE6} .gitignore |
cp %{SOURCE6} .gitignore |
256 |
%autopatch -p1 |
git init |
257 |
|
echo '![[:digit:]][[:digit:]]_*.in' > util/grub.d/.gitignore |
258 |
|
echo '!*.[[:digit:]]' > util/.gitignore |
259 |
|
git config user.email "%{name}-owner@fedoraproject.org" |
260 |
|
git config user.name "Fedora Ninjas" |
261 |
|
git config gc.auto 0 |
262 |
|
git add . |
263 |
|
git commit -a -q -m "%{tarversion} baseline." |
264 |
|
git am %{patches} </dev/null |
265 |
|
git config --unset user.email |
266 |
|
git config --unset user.name |
267 |
find . -name "*.0???" -delete |
find . -name "*.0???" -delete |
268 |
|
|
269 |
# README.Mageia |
# README.Mageia |
281 |
%setup -q -n grub-%{tarversion} |
%setup -q -n grub-%{tarversion} |
282 |
|
|
283 |
cp %{SOURCE6} .gitignore |
cp %{SOURCE6} .gitignore |
284 |
%autopatch -p1 |
git init |
285 |
|
echo '![[:digit:]][[:digit:]]_*.in' > util/grub.d/.gitignore |
286 |
|
echo '!*.[[:digit:]]' > util/.gitignore |
287 |
|
git config user.email "%{name}-owner@fedoraproject.org" |
288 |
|
git config user.name "Fedora Ninjas" |
289 |
|
git config gc.auto 0 |
290 |
|
git add . |
291 |
|
git commit -a -q -m "%{tarversion} baseline." |
292 |
|
git am %{patches} </dev/null |
293 |
|
git config --unset user.email |
294 |
|
git config --unset user.name |
295 |
find . -name "*.0???" -delete |
find . -name "*.0???" -delete |
296 |
|
|
297 |
# README.Mageia |
# README.Mageia |