1 |
|
%define subrel 1 |
2 |
%define Werror_cflags %nil |
%define Werror_cflags %nil |
3 |
# Modules always contain just 32-bit code |
# Modules always contain just 32-bit code |
4 |
%define _libdir %{_exec_prefix}/lib |
%define _libdir %{_exec_prefix}/lib |
67 |
Patch10001: 10001-Put-the-correct-.file-directives-in-our-.S-files.patch |
Patch10001: 10001-Put-the-correct-.file-directives-in-our-.S-files.patch |
68 |
Patch10002: 10002-Make-it-possible-to-enabled-build-id-sha1.patch |
Patch10002: 10002-Make-it-possible-to-enabled-build-id-sha1.patch |
69 |
Patch10004: 10004-Add-grub_qdprintf-grub_dprintf-without-the-file-lin.patch |
Patch10004: 10004-Add-grub_qdprintf-grub_dprintf-without-the-file-lin.patch |
|
###Patch10005: 10005-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch |
|
70 |
|
|
71 |
# |
# |
72 |
# Mga patches: |
# Mga patches: |
76 |
Patch20003: grub2-2.00-mga-dont_write_diskfilter_error_to_screen.patch |
Patch20003: grub2-2.00-mga-dont_write_diskfilter_error_to_screen.patch |
77 |
Patch20004: grub2-2.00-mga-dont_check_uuid_in_installer.patch |
Patch20004: grub2-2.00-mga-dont_check_uuid_in_installer.patch |
78 |
Patch20005: grub2-2.00-mga-remove-unrestricted_when_password_set.patch |
Patch20005: grub2-2.00-mga-remove-unrestricted_when_password_set.patch |
79 |
|
Patch20006: grub2-2.02-mga-translate-theme-label.patch |
80 |
|
Patch20007: grub2-2.00-mga-Change_default_tsc_calibration_method_to_pmtimer_on_EFI.patch |
81 |
|
|
82 |
# |
# |
83 |
# SuSE Patch: |
# SuSE Patch: |
84 |
# |
# |
86 |
# have a dualboot with windows starting at sector 63 |
# have a dualboot with windows starting at sector 63 |
87 |
Patch30001: grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch |
Patch30001: grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch |
88 |
|
|
89 |
|
# |
90 |
|
# Unity Patches |
91 |
|
# |
92 |
|
# Fixes Mga#22918 - grub2-mkrescue still searches /boot/grub for config |
93 |
|
Patch22001: grub2-2.02-unity-mkrescue-use-grub2-dir.patch |
94 |
|
|
95 |
BuildRequires: autoconf |
BuildRequires: autoconf |
96 |
BuildRequires: autogen |
BuildRequires: autogen |
171 |
Recommends: os-prober >= 1.53 |
Recommends: os-prober >= 1.53 |
172 |
Recommends: xorriso |
Recommends: xorriso |
173 |
Requires: grub2bootloader = %{version}-%{release} |
Requires: grub2bootloader = %{version}-%{release} |
174 |
|
# Not available in Mga6 |
175 |
|
#Requires: console-setup |
176 |
|
|
177 |
%description common |
%description common |
178 |
Common files used by both grub2 and grub2-efi. |
Common files used by both grub2 and grub2-efi. |
314 |
|
|
315 |
# Workaround for RHL Bug 817187 |
# Workaround for RHL Bug 817187 |
316 |
install -d %{buildroot}%{_datadir}/locale/en/LC_MESSAGES |
install -d %{buildroot}%{_datadir}/locale/en/LC_MESSAGES |
317 |
ln -s %{_datadir}/locale/en@quot/LC_MESSAGES/grub.mo %{buildroot}%{_datadir}/locale/en/LC_MESSAGES/grub.mo |
cp -f %{buildroot}%{_datadir}/locale/en@quot/LC_MESSAGES/grub.mo \ |
318 |
|
%{buildroot}%{_datadir}/locale/en/LC_MESSAGES/grub.mo |
319 |
|
|
320 |
cat > %{buildroot}/boot/%{name}/custom.cfg <<EOF |
cat > %{buildroot}/boot/%{name}/custom.cfg <<EOF |
321 |
# Set non-graphical text/background colours |
# Set non-graphical text/background colours |
322 |
set menu_color_normal=cyan/blue |
set menu_color_normal=cyan/blue |