15 |
%define git 9752 |
%define git 9752 |
16 |
Name: grub2 |
Name: grub2 |
17 |
Version: 2.02 |
Version: 2.02 |
18 |
Release: %mkrel -c git%{git} 2 |
Release: %mkrel -c git%{git} 4 |
19 |
Summary: Boot-loader with support for Linux, Multiboot and more |
Summary: Boot-loader with support for Linux, Multiboot and more |
20 |
Group: System/Boot and Init |
Group: System/Boot and Init |
21 |
License: GPLv3+ and GPLv2 |
License: GPLv3+ and GPLv2 |
44 |
# Upstream git snapshot |
# Upstream git snapshot |
45 |
Patch1: grub2-2.00-mga-git-9752.patch |
Patch1: grub2-2.00-mga-git-9752.patch |
46 |
# Fedora patches not upstream |
# Fedora patches not upstream |
47 |
Patch0063: 0063-Add-support-for-linuxefi.patch |
#Patch0063: 0063-Add-support-for-linuxefi.patch |
48 |
Patch0443: 0443-Migrate-PPC-from-Yaboot-to-Grub2.patch |
Patch0443: 0443-Migrate-PPC-from-Yaboot-to-Grub2.patch |
49 |
Patch0448: 0448-Use-linuxefi-and-initrdefi-where-appropriate.patch |
#Patch0448: 0448-Use-linuxefi-and-initrdefi-where-appropriate.patch |
50 |
Patch0450: 0450-Pass-x-hex-hex-straight-through-unmolested.patch |
Patch0450: 0450-Pass-x-hex-hex-straight-through-unmolested.patch |
51 |
Patch0451: 0451-Fix-crash-on-http.patch |
Patch0451: 0451-Fix-crash-on-http.patch |
|
Patch0458: 0458-Add-bootpath-device-to-the-list.patch |
|
52 |
Patch0460: 0460-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch |
Patch0460: 0460-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch |
53 |
Patch0462: 0462-for-ppc-reset-console-display-attr-when-clear-screen.patch |
Patch0462: 0462-for-ppc-reset-console-display-attr-when-clear-screen.patch |
54 |
Patch0468: 0468-Don-t-write-messages-to-the-screen.patch |
#Patch0468: 0468-Don-t-write-messages-to-the-screen.patch |
55 |
Patch0476: 0476-Use-the-correct-indentation-for-the-term-help-text.patch |
Patch0476: 0476-Use-the-correct-indentation-for-the-term-help-text.patch |
56 |
Patch0479: 0479-Add-support-for-UEFI-operating-systems-returned-by-o.patch |
Patch0479: 0479-Add-support-for-UEFI-operating-systems-returned-by-o.patch |
|
Patch0481: 0481-Revert-Add-bootpath-device-to-the-list-967862.patch |
|
57 |
|
|
58 |
BuildRequires: flex |
BuildRequires: flex |
59 |
BuildRequires: bison |
BuildRequires: bison |
401 |
rm -rf /boot/%{name}/locale |
rm -rf /boot/%{name}/locale |
402 |
fi |
fi |
403 |
|
|
404 |
|
# If updating grub2-efi from version below 2.02-0.git9752.4 then re-generate menu (Mga#13493) |
405 |
|
# because Fedora patches to use "linuxefi" have now been removed. |
406 |
|
%triggerpostun efi -- %{name}-efi < 2.02-0.git9752.4 |
407 |
|
%{name}-mkconfig -o /boot/%{name}/grub.cfg |
408 |
|
|
409 |
%postun mageia-theme |
%postun mageia-theme |
410 |
exec > /var/log/%{name}_theme_postun.log 2>&1 |
exec > /var/log/%{name}_theme_postun.log 2>&1 |
411 |
# Only if uninstalling theme |
# Only if uninstalling theme |