20 |
%global tarversion 2.02~beta3 |
%global tarversion 2.02~beta3 |
21 |
%global pc_arch i386-pc |
%global pc_arch i386-pc |
22 |
%define git 10270 |
%define git 10270 |
23 |
%define rel 5 |
%define rel 6 |
24 |
|
|
25 |
Name: grub2 |
Name: grub2 |
26 |
Version: 2.02 |
Version: 2.02 |
27 |
Release: %mkrel -c git%{git} %{rel} |
Release: %mkrel -c git%{git} %{rel} |
28 |
Summary: Bootloader with support for Linux, Multiboot and more |
Summary: Bootloader with support for Linux, Multiboot and more |
29 |
Group: System/Boot and Init |
Group: System/Boot and Init |
30 |
License: GPLv3+ and GPLv2 |
License: GPLv3+ and GPLv2 |
31 |
# unicode font is GPLv2 |
# unicode font is GPLv2 |
32 |
URL: http://www.gnu.org/software/grub/ |
URL: http://www.gnu.org/software/grub/ |
33 |
Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz |
Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz |
34 |
#Source0: ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz |
#Source0: ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz |
35 |
Source1: 90_persistent |
Source1: 90_persistent |
36 |
Source2: grub.default |
Source2: grub.default |
53 |
# Fedora patches: |
# Fedora patches: |
54 |
# |
# |
55 |
# generate with do-rebase |
# generate with do-rebase |
56 |
#include %{SOURCE7} |
#include %%{SOURCE7} |
57 |
# (tv) :r SOURCES/grub.patches |
# (tv) :r SOURCES/grub.patches |
58 |
Patch0000: grub-2.02-beta3-to-origin-master.patch |
%{expand:%(while read line; do echo $line; done < %{SOURCE7})} |
|
Patch0001: 0001-IBM-client-architecture-CAS-reboot-support.patch |
|
|
Patch0002: 0002-for-ppc-reset-console-display-attr-when-clear-screen.patch |
|
|
Patch0003: 0003-Disable-GRUB-video-support-for-IBM-power-machines.patch |
|
|
Patch0004: 0004-Fix-bzr-s-ignore-artificats-in-.gitignore.patch |
|
|
Patch0005: 0005-Honor-a-symlink-when-generating-configuration-by-gru.patch |
|
|
Patch0006: 0006-Move-bash-completion-script-922997.patch |
|
|
Patch0007: 0007-Update-to-minilzo-2.08.patch |
|
|
Patch0008: 0008-Add-vlan-tag-support-on-IBM-PPC-machines.patch |
|
|
Patch0009: 0009-Allow-fallback-to-include-entries-by-title-not-just-.patch |
|
|
Patch0010: 0010-Add-GRUB_DISABLE_UUID.patch |
|
|
Patch0011: 0011-Make-exit-take-a-return-code.patch |
|
|
Patch0012: 0012-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch |
|
|
Patch0013: 0013-Make-efi-machines-load-an-env-block-from-a-variable.patch |
|
|
Patch0014: 0014-DHCP-client-ID-and-UUID-options-added.patch |
|
|
Patch0015: 0015-trim-arp-packets-with-abnormal-size.patch |
|
|
Patch0016: 0016-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch |
|
|
Patch0017: 0017-Migrate-PPC-from-Yaboot-to-Grub2.patch |
|
|
Patch0018: 0018-Add-fw_path-variable-revised.patch |
|
|
Patch0019: 0019-Add-support-for-linuxefi.patch |
|
|
Patch0020: 0020-Use-linuxefi-and-initrdefi-where-appropriate.patch |
|
|
Patch0021: 0021-Don-t-allow-insmod-when-secure-boot-is-enabled.patch |
|
|
Patch0022: 0022-Pass-x-hex-hex-straight-through-unmolested.patch |
|
|
Patch0023: 0023-Add-X-option-to-printf-functions.patch |
|
|
Patch0024: 0024-Search-for-specific-config-file-for-netboot.patch |
|
|
Patch0025: 0025-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch |
|
|
Patch0026: 0026-Don-t-write-messages-to-the-screen.patch |
|
|
Patch0027: 0027-Don-t-print-GNU-GRUB-header.patch |
|
|
Patch0028: 0028-Don-t-add-to-highlighted-row.patch |
|
|
Patch0029: 0029-Message-string-cleanups.patch |
|
|
Patch0030: 0030-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch |
|
|
Patch0031: 0031-Use-the-correct-indentation-for-the-term-help-text.patch |
|
|
Patch0032: 0032-Indent-menu-entries.patch |
|
|
Patch0033: 0033-Fix-margins.patch |
|
|
Patch0034: 0034-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch |
|
|
Patch0035: 0035-Use-linux16-when-appropriate-880840.patch |
|
|
Patch0036: 0036-Enable-pager-by-default.-985860.patch |
|
|
Patch0037: 0037-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch |
|
|
Patch0038: 0038-Don-t-say-GNU-Linux-in-generated-menus.patch |
|
|
Patch0039: 0039-Don-t-draw-a-border-around-the-menu.patch |
|
|
Patch0040: 0040-Use-the-standard-margin-for-the-timeout-string.patch |
|
|
Patch0041: 0041-Add-.eh_frame-to-list-of-relocations-stripped.patch |
|
|
Patch0042: 0042-Make-10_linux-work-with-our-changes-for-linux16-and-.patch |
|
|
Patch0043: 0043-Don-t-print-during-fdt-loading-method.patch |
|
|
Patch0044: 0044-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch |
|
|
Patch0045: 0045-Don-t-require-a-password-to-boot-entries-generated-b.patch |
|
|
Patch0046: 0046-Don-t-emit-Booting-.-message.patch |
|
|
Patch0047: 0047-May-as-well-try-it.patch |
|
|
Patch0048: 0048-use-fw_path-prefix-when-fallback-searching-for-grub-.patch |
|
|
Patch0049: 0049-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch |
|
|
Patch0050: 0050-Fix-convert-function-to-support-NVMe-devices.patch |
|
|
Patch0051: 0051-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch |
|
|
Patch0052: 0052-Use-the-default-device-tree-from-the-grub-default-fi.patch |
|
|
Patch0053: 0053-reopen-SNP-protocol-for-exclusive-use-by-grub.patch |
|
|
Patch0054: 0054-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch |
|
|
Patch0055: 0055-Add-grub_util_readlink.patch |
|
|
Patch0056: 0056-Make-editenv-chase-symlinks-including-those-across-d.patch |
|
|
Patch0057: 0057-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch |
|
|
Patch0058: 0058-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch |
|
|
Patch0059: 0059-Load-arm-with-SB-enabled.patch |
|
|
Patch0060: 0060-Try-prefix-if-fw_path-doesn-t-work.patch |
|
|
Patch0061: 0061-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch |
|
|
Patch0062: 0062-Make-grub2-mkconfig-construct-titles-that-look-like-.patch |
|
|
Patch0063: 0063-Make-rescue-and-debug-entries-sort-right-again-in-gr.patch |
|
|
Patch0064: 0064-Update-info-with-grub.cfg-netboot-selection-order-11.patch |
|
|
Patch0065: 0065-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch |
|
|
Patch0066: 0066-Add-friendly-grub2-password-config-tool-985962.patch |
|
|
Patch0067: 0067-Fix-race-in-EFI-validation.patch |
|
|
Patch0068: 0068-ppc64le-sync-mkconfig-to-disk-1212114.patch |
|
|
Patch0069: 0069-Use-device-part-of-chainloader-target-if-present.patch |
|
|
Patch0070: 0070-Add-secureboot-support-on-efi-chainloader.patch |
|
|
Patch0071: 0071-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch |
|
|
Patch0072: 0072-Fix-security-issue-when-reading-username-and-passwor.patch |
|
|
Patch0073: 0073-01_users-Handle-GRUB_PASSWORD-better.patch |
|
|
Patch0074: 0074-Core-TPM-support.patch |
|
|
Patch0075: 0075-Measure-kernel-initrd.patch |
|
|
Patch0076: 0076-Add-BIOS-boot-measurement.patch |
|
|
Patch0077: 0077-Rework-linux-command.patch |
|
|
Patch0078: 0078-Rework-linux16-command.patch |
|
|
Patch0079: 0079-Measure-kernel-and-initrd-on-BIOS-systems.patch |
|
|
Patch0080: 0080-Measure-the-kernel-commandline.patch |
|
|
Patch0081: 0081-Measure-commands.patch |
|
|
Patch0082: 0082-Measure-multiboot-images-and-modules.patch |
|
|
Patch0083: 0083-Make-grub-editenv-build-again.patch |
|
|
Patch0084: 0084-Fix-locale-issue-in-grub-setpassword-1294243.patch |
|
|
Patch0085: 0085-Fix-up-some-man-pages-rpmdiff-noticed.patch |
|
|
Patch0086: 0086-Handle-rssd-storage-devices.patch |
|
|
Patch0087: 0087-Fix-boot-when-there-s-no-TPM.patch |
|
|
Patch0088: 0088-Rework-TPM-measurements.patch |
|
|
Patch0089: 0089-Fix-event-log-prefix.patch |
|
59 |
|
|
60 |
# And these are: |
# And these are: |
61 |
# git checkout debuginfo |
# git checkout debuginfo |
70 |
# |
# |
71 |
# Mga patches: |
# Mga patches: |
72 |
# |
# |
73 |
Patch20001: grub2-2.00-mga-add_failsafe-10_linux.in.patch |
Patch20001: grub2-2.00-mga-add_failsafe-10_linux.in.patch |
74 |
|
|
75 |
BuildRequires: flex bison binutils python |
BuildRequires: autoconf |
76 |
BuildRequires: ncurses-devel bzip2-devel |
BuildRequires: autogen |
77 |
BuildRequires: freetype-devel libusb-devel |
BuildRequires: automake |
78 |
BuildRequires: ruby |
BuildRequires: binutils |
79 |
|
BuildRequires: bison |
80 |
|
BuildRequires: bzip2-devel |
81 |
|
BuildRequires: device-mapper-devel |
82 |
|
BuildRequires: flex |
83 |
|
BuildRequires: freetype2-devel |
84 |
|
BuildRequires: freetype-devel |
85 |
|
BuildRequires: freetype-devel |
86 |
|
BuildRequires: fuse-devel |
87 |
|
BuildRequires: gettext-devel |
88 |
|
BuildRequires: git |
89 |
BuildRequires: glibc-static-devel |
BuildRequires: glibc-static-devel |
90 |
|
BuildRequires: help2man |
91 |
BuildRequires: liblzo-devel |
BuildRequires: liblzo-devel |
92 |
|
BuildRequires: libusb-devel |
93 |
|
BuildRequires: ncurses-devel |
94 |
|
BuildRequires: python |
95 |
BuildRequires: rpm-devel |
BuildRequires: rpm-devel |
96 |
BuildRequires: autoconf automake autogen device-mapper-devel |
BuildRequires: ruby |
|
BuildRequires: freetype-devel gettext-devel git |
|
|
BuildRequires: freetype2-devel |
|
97 |
BuildRequires: texinfo |
BuildRequires: texinfo |
|
BuildRequires: help2man |
|
|
BuildRequires: fuse-devel |
|
98 |
|
|
99 |
Conflicts: %{name}-efi |
Conflicts: %{name}-efi |
100 |
Provides: bootloader |
Provides: bootloader |
153 |
Conflicts: memtest86+ < 5.01-7 |
Conflicts: memtest86+ < 5.01-7 |
154 |
Conflicts: %{name} < 2.02-0.git9752.19.mga5 |
Conflicts: %{name} < 2.02-0.git9752.19.mga5 |
155 |
Conflicts: %{name}-efi < 2.02-0.git9752.19.mga5 |
Conflicts: %{name}-efi < 2.02-0.git9752.19.mga5 |
156 |
#Recommends: %{name}-mageia-theme = %{version}-%{release} |
#Recommends: %%{name}-mageia-theme = %%{version}-%%{release} |
157 |
Recommends: os-prober >= 1.53 |
Recommends: os-prober >= 1.53 |
158 |
Recommends: xorriso |
Recommends: xorriso |
159 |
Recommends: memtest86+ >= 5.01-7 |
Recommends: memtest86+ >= 5.01-7 |