0e50f1f
# Modules always contain just 32-bit code
0e50f1f
%define _libdir %{_exec_prefix}/lib
0e50f1f
e046631
# 64bit intel machines use 32bit boot loader
0e50f1f
# (We cannot just redefine _target_cpu, as we'd get i386.rpm packages then)
0e50f1f
%ifarch x86_64
0e50f1f
%define _target_platform i386-%{_vendor}-%{_target_os}%{?_gnu}
0e50f1f
%endif
c95e580
# sparc is always compiled 64 bit
e046631
%ifarch %{sparc}
e046631
%define _target_platform sparc64-%{_vendor}-%{_target_os}%{?_gnu}
e046631
%endif
0e50f1f
95e479d
%if ! 0%{?efi}
8d4efa5
420dddc
%global efiarchs %{ix86} x86_64 ia64
8d4efa5
8d4efa5
%ifarch %{ix86}
8d4efa5
%global grubefiarch i386-efi
8d4efa5
%global grubefiname grubia32.efi
5d4d477
%global grubeficdname gcdia32.efi
8d4efa5
%endif
8d4efa5
%ifarch x86_64
8d4efa5
%global grubefiarch %{_arch}-efi
8d4efa5
%global grubefiname grubx64.efi
5d4d477
%global grubeficdname gcdx64.efi
95e479d
%endif
95e479d
8d4efa5
%if 0%{?rhel}
8d4efa5
%global efidir redhat
8d4efa5
%endif
8d4efa5
%if 0%{?fedora}
8d4efa5
%global efidir fedora
8d4efa5
%endif
28678c2
8d4efa5
%endif
58d787e
4ce656b
%global tarversion 2.00
28678c2
%undefine _missing_build_ids_terminate_build
28678c2
0e50f1f
Name:           grub2
e98789b
Epoch:          1
4ce656b
Version:        2.00
a5bd9f6
Release:        17%{?dist}.pj0
0e50f1f
Summary:        Bootloader with support for Linux, Multiboot and more
0e50f1f
0e50f1f
Group:          System Environment/Base
0e50f1f
License:        GPLv3+
0e50f1f
URL:            http://www.gnu.org/software/grub/
328405c
Obsoletes:	grub < 1:0.98
50b9a85
Source0:        ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
ca74990
Source3:        README.Fedora
f06903e
Source4:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
83183d5
Source5:	theme.tar.bz2
58a808c
#Source6:	grub-cd.cfg
a5bd9f6
Patch0001: 0001-Add-monochrome-text-support-mda_text-aka-hercules-in.patch
a5bd9f6
Patch0002: 0002-missing-file-from-last-commit.patch
a5bd9f6
Patch0003: 0003-grub-core-loader-i386-linux.c-find_efi_mmap_size-Don.patch
a5bd9f6
Patch0004: 0004-include-grub-list.h-FOR_LIST_ELEMENTS_SAFE-New-macro.patch
a5bd9f6
Patch0005: 0005-gentpl.py-Make-mans-depend-on-grub-mkconfig_lib.patch
a5bd9f6
Patch0006: 0006-grub-core-net-tftp.c-ack-Fix-endianness-problem.patch
a5bd9f6
Patch0007: 0007-grub-core-fs-ext2.c-Experimental-support-for-64-bit.patch
a5bd9f6
Patch0008: 0008-grub-core-term-efi-serial.c-Support-1.5-stop-bits.patch
a5bd9f6
Patch0009: 0009-grub-core-lib-legacy_parse.c-Support-clear-and-testl.patch
a5bd9f6
Patch0010: 0010-grub-core-Makefile.am-Fix-path-to-boot-i386-pc-start.patch
a5bd9f6
Patch0011: 0011-Fix-coreboot-compilation.patch
a5bd9f6
Patch0012: 0012-grub-core-normal-autofs.c-autoload_fs_module-Save-an.patch
a5bd9f6
Patch0013: 0013-grub-core-lib-xzembed-xz_dec_stream.c-hash_validate-.patch
a5bd9f6
Patch0014: 0014-grub-core-loader-i386-bsd.c-grub_bsd_elf32_size_hook.patch
a5bd9f6
Patch0015: 0015-New-command-lsefi.patch
a5bd9f6
Patch0016: 0016-util-grub-mkconfig_lib.in-grub_quote-Remove-extra-la.patch
a5bd9f6
Patch0017: 0017-EHCI-and-OHCI-PCI-bus-master.patch
a5bd9f6
Patch0018: 0018-Update-manual-NetBSD-wise.patch
a5bd9f6
Patch0019: 0019-Regenerate-po-POTFILES.in-with-the-following-commman.patch
a5bd9f6
Patch0020: 0020-Strengthen-the-configure-test-for-working-nostdinc-i.patch
a5bd9f6
Patch0021: 0021-.bzrignore-Add-grub-bios-setup-grub-ofpathname-and.patch
a5bd9f6
Patch0022: 0022-docs-man-grub-mkdevicemap.h2m-Remove-since-grub-mkde.patch
a5bd9f6
Patch0023: 0023-grub-core-mmap-mips-loongson-Remove-empty-directory.patch
a5bd9f6
Patch0024: 0024-Makefile.am-EXTRA_DIST-Add.patch
a5bd9f6
Patch0025: 0025-Makefile.am-EXTRA_DIST-Add-linguas.sh.-It-s-only-str.patch
a5bd9f6
Patch0026: 0026-grub-core-fs-xfs.c-grub_xfs_read_block-Make-keys-a-c.patch
a5bd9f6
Patch0027: 0027-grub-core-partmap-dvh.c-grub_dvh_is_valid-Add-missin.patch
a5bd9f6
Patch0028: 0028-grub-core-script-yylex.l-Ignore-unused-function-and-.patch
a5bd9f6
Patch0029: 0029-grub-core-disk-ieee1275-ofdisk.c-scan-Check-function.patch
a5bd9f6
Patch0030: 0030-util-import_gcry.py-Sort-cipher_files-to-make-build-.patch
a5bd9f6
Patch0031: 0031-NEWS-Fix-typo.patch
a5bd9f6
Patch0032: 0032-configure.ac-Add-SuSe-path.patch
a5bd9f6
Patch0033: 0033-grub-core-Makefile.core.def-efifwsetup-New-module.patch
a5bd9f6
Patch0034: 0034-grub-core-loader-efi-appleloader.c-devpath_8-New-var.patch
a5bd9f6
Patch0035: 0035-grub-core-disk-diskfilter.c-free_array-GRUB_UTIL-Fix.patch
a5bd9f6
Patch0036: 0036-Don-t-require-grub-mkconfig_lib-to-generate-manpages.patch
a5bd9f6
Patch0037: 0037-include-grub-efi-api.h-grub_efi_runtime_services-Mak.patch
a5bd9f6
Patch0038: 0038-grub-core-term-terminfo.c-Only-fix-up-powerpc-key-re.patch
a5bd9f6
Patch0039: 0039-util-grub-mkconfig_lib.in-grub_quote-Remove-outdated.patch
a5bd9f6
Patch0040: 0040-grub-core-loader-i386-linux.c-grub_cmd_linux-Fix-inc.patch
a5bd9f6
Patch0041: 0041-grub-core-kern-ieee1275-cmain.c-grub_ieee1275_find_o.patch
a5bd9f6
Patch0042: 0042-util-grub-mkconfig_lib.in-grub_tab-New-variable.patch
a5bd9f6
Patch0043: 0043-util-grub-setup.c-write_rootdev-Remove-unused-core_i.patch
a5bd9f6
Patch0044: 0044-grub-core-partmap-msdos.c-pc_partition_map_embed-Rev.patch
a5bd9f6
Patch0045: 0045-Fix-grub-emu-build-on-FreeBSD.patch
a5bd9f6
Patch0046: 0046-util-grub-install.in-Make-the-error-message-if-sourc.patch
a5bd9f6
Patch0047: 0047-grub-core-fs-affs.c-grub_affs_mount-Support-AFFS-boo.patch
a5bd9f6
Patch0048: 0048-util-grub-mkconfig_lib.in-is_path_readable_by_grub-R.patch
a5bd9f6
Patch0049: 0049-Makefile.util.def-grub-mknetdir-Move-to-prefix-bin.patch
a5bd9f6
Patch0050: 0050-grub-core-loader-i386-linux.c-allocate_pages-Fix-spe.patch
a5bd9f6
Patch0051: 0051-grub-core-Makefile.am-moddep.lst-Use-AWK-instead-of-.patch
a5bd9f6
Patch0052: 0052-grub-core-commands-configfile.c-GRUB_MOD_INIT-Correc.patch
a5bd9f6
Patch0053: 0053-Fix-ordering-and-tab-indentation-of-NetBSD-boot-menu.patch
a5bd9f6
Patch0054: 0054-grub-core-net-bootp.c-parse_dhcp_vendor-Fix-double-i.patch
a5bd9f6
Patch0055: 0055-include-grub-types.h-Fix-functionality-unaffecting-t.patch
a5bd9f6
Patch0056: 0056-Support-big-endian-UFS1.patch
a5bd9f6
Patch0057: 0057-Fix-big-endian-mtime.patch
a5bd9f6
Patch0058: 0058-grub-core-fs-ufs.c-grub_ufs_dir-Stop-if-direntlen-is.patch
a5bd9f6
Patch0059: 0059-util-getroot.c-convert_system_partition_to_system_di.patch
a5bd9f6
Patch0060: 0060-util-grub-mkfont.c-argp_parser-Fix-a-typo-which-prev.patch
a5bd9f6
Patch0061: 0061-grub-core-term-gfxterm.c-grub_virtual_screen_setup-G.patch
a5bd9f6
Patch0062: 0062-grub-core-gfxmenu-view.c-init_terminal-Avoid-making-.patch
a5bd9f6
Patch0063: 0063-grub-core-kern-ieee1275-init.c-grub_machine_get_boot.patch
a5bd9f6
Patch0064: 0064-util-grub-install.in-Remove-stale-TODO.patch
a5bd9f6
Patch0065: 0065-util-grub-install.in-Follow-the-symbolic-link-parame.patch
a5bd9f6
Patch0066: 0066-grub-core-disk-cryptodisk.c-grub_cmd_cryptomount-Str.patch
a5bd9f6
Patch0067: 0067-docs-grub.texi-Network-Update-instructions-on-genera.patch
a5bd9f6
Patch0068: 0068-util-grub.d-20_linux_xen.in-Addmissing-assignment-to.patch
a5bd9f6
Patch0069: 0069-Backport-gnulib-fixes-for-C11.-Fixes-Savannah-bug-37.patch
a5bd9f6
Patch0070: 0070-Apply-program-name-transformations-at-build-time-rat.patch
a5bd9f6
Patch0071: 0071-neater-gnulib-backport.patch
a5bd9f6
Patch0072: 0072-util-grub-mkconfig.in-Accept-GRUB_TERMINAL_OUTPUT-vg.patch
a5bd9f6
Patch0073: 0073-grub-core-bus-usb-ehci.c-grub_ehci_pci_iter-Remove-i.patch
a5bd9f6
Patch0074: 0074-Remove-several-trivially-unnecessary-uses-of-nested-.patch
a5bd9f6
Patch0075: 0075-docs-grub.texi-configfile-Explain-environment-variab.patch
a5bd9f6
Patch0076: 0076-Fix-failing-printf-test.patch
a5bd9f6
Patch0077: 0077-grub-core-tests-lib-test.c-grub_test_run-Return-non-.patch
a5bd9f6
Patch0078: 0078-docs-grub.texi-Invoking-grub-mount-New-section.patch
a5bd9f6
Patch0079: 0079-docs-grub.texi-Invoking-grub-mkrelpath-New-section.patch
a5bd9f6
Patch0080: 0080-grub-core-fs-iso9660.c-grub_iso9660_susp_iterate-Avo.patch
a5bd9f6
Patch0081: 0081-configure.ac-Extend-Wno-trampolines-to-host.patch
a5bd9f6
Patch0082: 0082-util-grub.d-10_kfreebsd.in-Fix-improper-references-t.patch
a5bd9f6
Patch0083: 0083-util-grub.d-10_kfreebsd.in-Correct-the-patch-to-zpoo.patch
a5bd9f6
Patch0084: 0084-grub-core-disk-diskfilter.c-grub_diskfilter_write-Ca.patch
a5bd9f6
Patch0085: 0085-grub-core-fs-nilfs2.c-grub_nilfs2_palloc_groups_per_.patch
a5bd9f6
Patch0086: 0086-grub-core-fs-ntfs.c-Eliminate-useless-divisions-in-f.patch
a5bd9f6
Patch0087: 0087-grub-core-fs-ext2.c-grub_ext2_read_block-Use-shifts-.patch
a5bd9f6
Patch0088: 0088-grub-core-fs-minix.c-grub_minix_read_file-Simplify-a.patch
a5bd9f6
Patch0089: 0089-docs-grub.texi-grub_cpu-New-subsection.patch
a5bd9f6
Patch0090: 0090-grub-core-io-bufio.c-grub_bufio_open-Use-grub_zalloc.patch
a5bd9f6
Patch0091: 0091-grub-core-kern-disk.c-grub_disk_write-Fix-sector-num.patch
a5bd9f6
Patch0092: 0092-Support-Apple-FAT-binaries-on-non-Apple-platforms.patch
a5bd9f6
Patch0093: 0093-grub-core-fs-ntfs.c-Ue-more-appropriate-types.patch
a5bd9f6
Patch0094: 0094-Import-gcrypt-public-key-cryptography-and-implement-.patch
a5bd9f6
Patch0095: 0095-Clean-up-dangling-references-to-grub-setup.patch
a5bd9f6
Patch0096: 0096-autogen.sh-Do-not-try-to-delete-nonexistant-files.patch
a5bd9f6
Patch0097: 0097-Remove-autogenerated-files-from-VCS.patch
a5bd9f6
Patch0098: 0098-grub-core-lib-libgcrypt_wrap-mem.c-_gcry_log_bug-Mak.patch
a5bd9f6
Patch0099: 0099-grub-core-lib-libgcrypt_wrap-mem.c-gcry_x-alloc-Make.patch
a5bd9f6
Patch0100: 0100-grub-core-commands-verify.c-Mark-messages-for-transl.patch
a5bd9f6
Patch0101: 0101-Remove-nested-functions-from-PCI-iterators.patch
a5bd9f6
Patch0102: 0102-util-grub-mkimage.c-generate_image-Fix-size-of-publi.patch
a5bd9f6
Patch0103: 0103-New-command-list_trusted.patch
a5bd9f6
Patch0104: 0104-Fix-compilation-with-older-compilers.patch
a5bd9f6
Patch0105: 0105-grub-core-kern-emu-hostdisk.c-read_device_map-Explic.patch
a5bd9f6
Patch0106: 0106-Remove-nested-functions-from-memory-map-iterators.patch
a5bd9f6
Patch0107: 0107-Remove-nested-functions-from-script-reading-and-pars.patch
a5bd9f6
Patch0108: 0108-grub-core-script-lexer.c-grub_script_lexer_init-Rena.patch
a5bd9f6
Patch0109: 0109-Improve-bidi-handling-in-entry-editor.patch
a5bd9f6
Patch0110: 0110-New-terminal-outputs-using-serial-morse-and-spkmodem.patch
a5bd9f6
Patch0111: 0111-Add-new-command-pcidump.patch
a5bd9f6
Patch0112: 0112-Rewrite-spkmodem-to-use-PIT-for-timing.-Double-the-s.patch
a5bd9f6
Patch0113: 0113-Add-license-header-to-spkmodem-recv.c.patch
a5bd9f6
Patch0114: 0114-Fix-typos-for-developer-and-development.patch
a5bd9f6
Patch0115: 0115-Remove-nested-functions-from-device-iterators.patch
a5bd9f6
Patch0116: 0116-Remove-nested-functions-from-ELF-iterators.patch
a5bd9f6
Patch0117: 0117-util-grub-script-check.c-main-Uniform-the-error-mess.patch
a5bd9f6
Patch0118: 0118-docs-grub.texi-Simple-configuration-Clarify-GRUB_HID.patch
a5bd9f6
Patch0119: 0119-Split-long-USB-transfers-into-short-ones.patch
a5bd9f6
Patch0120: 0120-include-grub-elf.h-Update-ARM-definitions-based-on-b.patch
a5bd9f6
Patch0121: 0121-conf-Makefile.common-Fix-autogen-rules-to-pass-defin.patch
a5bd9f6
Patch0122: 0122-grub-core-loader-i386-linux.c-grub_cmd_initrd-Don-t-.patch
a5bd9f6
Patch0123: 0123-util-grub-mkimage.c-main-Postpone-freeing-arguments..patch
a5bd9f6
Patch0124: 0124-docs-grub.texi-Multi-boot-manual-config-Fix-typo-for.patch
a5bd9f6
Patch0125: 0125-Remove-nested-functions-from-filesystem-directory-it.patch
a5bd9f6
Patch0126: 0126-grub-core-partmap-msdos.c-embed_signatures-Add-the-s.patch
a5bd9f6
Patch0127: 0127-Improve-spkmomdem-reliability-by-adding-a-separator-.patch
a5bd9f6
Patch0128: 0128-grub-core-commands-lsmmap.c-Fix-unused-variable-on-e.patch
a5bd9f6
Patch0129: 0129-grub-core-disk-arc-arcdisk.c-grub_arcdisk_iterate-Fi.patch
a5bd9f6
Patch0130: 0130-Fix-powerpc-and-sparc64-build-failures-caused-by-un-.patch
a5bd9f6
Patch0131: 0131-grub-core-commands-ls.c-grub_ls_print_devices-Add-mi.patch
a5bd9f6
Patch0132: 0132-Make-color-variables-global-instead-of-it-being-per-.patch
a5bd9f6
Patch0133: 0133-Improve-spkmomdem-reliability-by-adding-a-separator-.patch
a5bd9f6
Patch0134: 0134-grub-core-normal-term.c-print_ucs4_terminal-Don-t-ou.patch
a5bd9f6
Patch0135: 0135-Improve-spkmodem-reliability-by-adding-a-separator-b.patch
a5bd9f6
Patch0136: 0136-Remove-nested-functions-from-USB-iterators.patch
a5bd9f6
Patch0137: 0137-grub-core-font-font.c-blit_comb-do_blit-Make-static-.patch
a5bd9f6
Patch0138: 0138-include-grub-kernel.h-FOR_MODULES-Adjust-to-preserve.patch
a5bd9f6
Patch0139: 0139-grub-core-lib-libgcrypt_wrap-cipher_wrap.h-Include-s.patch
a5bd9f6
Patch0140: 0140-util-grub-reboot.in-usage-Document-the-need-for.patch
a5bd9f6
Patch0141: 0141-Improve-FreeDOS-direct-loading-support-compatibility.patch
a5bd9f6
Patch0142: 0142-grub-core-normal-menu_text.c-grub_menu_init_page-Fix.patch
a5bd9f6
Patch0143: 0143-util-grub-install.in-change-misleading-comment-about.patch
a5bd9f6
Patch0144: 0144-grub-core-fs-xfs.c-grub_xfs_read_block-Fix-computati.patch
a5bd9f6
Patch0145: 0145-grub-core-bus-usb-serial-common.c-grub_usbserial_att.patch
a5bd9f6
Patch0146: 0146-grub-core-bus-usb-usb.c-grub_usb_device_attach-Add-m.patch
a5bd9f6
Patch0147: 0147-grub-core-commands-lsacpi.c-Show-more-info.-Hide-som.patch
a5bd9f6
Patch0148: 0148-Missing-part-of-last-commit.patch
a5bd9f6
Patch0149: 0149-Implement-USBDebug-full-USB-stack-variant.patch
a5bd9f6
Patch0150: 0150-grub-core-fs-fshelp.c-find_file-Set-oldnode-to-zero-.patch
a5bd9f6
Patch0151: 0151-grub-core-disk-cryptodisk.c-grub_cryptodisk_scan_dev.patch
a5bd9f6
Patch0152: 0152-grub-core-commands-lsacpi.c-Fix-types-on-64-bit-plat.patch
a5bd9f6
Patch0153: 0153-Support-Openfirmware-disks-with-non-512B-sectors.patch
a5bd9f6
Patch0154: 0154-Implement-new-command-cmosdump.patch
a5bd9f6
Patch0155: 0155-grub-core-normal-misc.c-grub_normal_print_device_inf.patch
a5bd9f6
Patch0156: 0156-Makefile.util.def-Add-partmap-msdos.c-to-common-libr.patch
a5bd9f6
Patch0157: 0157-grub-core-normal-menu_entry.c-insert_string-fix-off-.patch
a5bd9f6
Patch0158: 0158-grub-core-normal-menu_entry.c-update_screen-remove.patch
a5bd9f6
Patch0159: 0159-grub-core-disk-efi-efidisk.c-grub_efidisk_get_device.patch
a5bd9f6
Patch0160: 0160-grub-core-partmap-msdos.c-grub_partition_msdos_itera.patch
a5bd9f6
Patch0161: 0161-Remove-nested-functions-from-disk-and-file-read-hook.patch
a5bd9f6
Patch0162: 0162-grub-core-loader-machoXX.c-Remove-nested-functions.patch
a5bd9f6
Patch0163: 0163-util-grub-fstest.c-Remove-nested-functions.patch
a5bd9f6
Patch0164: 0164-grub-core-commands-parttool.c-grub_cmd_parttool-Move.patch
a5bd9f6
Patch0165: 0165-grub-core-fs-iso9660.c-Remove-nested-functions.patch
a5bd9f6
Patch0166: 0166-grub-core-fs-minix.c-Remove-nested-functions.patch
a5bd9f6
Patch0167: 0167-grub-core-fs-jfs.c-Remove-nested-functions.patch
a5bd9f6
Patch0168: 0168-grub-core-lib-arg.c-grub_arg_show_help-Move-showargs.patch
a5bd9f6
Patch0169: 0169-grub-core-kern-i386-coreboot-mmap.c-grub_linuxbios_t.patch
a5bd9f6
Patch0170: 0170-Enable-linux16-on-non-BIOS-systems-for-i.a.-memtest.patch
a5bd9f6
Patch0171: 0171-grub-core-kern-main.c-grub_set_prefix_and_root-Strip.patch
a5bd9f6
Patch0172: 0172-grub-core-disk-efi-efidisk.c-Transform-iterate_child.patch
a5bd9f6
Patch0173: 0173-grub-core-loader-i386-pc-linux.c-grub_cmd_linux-Fix-.patch
a5bd9f6
Patch0174: 0174-Remove-nested-functions-from-videoinfo-iterators.patch
a5bd9f6
Patch0175: 0175-grub-core-gentrigtables.c-Make-tables-const.patch
a5bd9f6
Patch0176: 0176-grub-core-kern-emu-hostdisk.c-read_device_map-Remove.patch
a5bd9f6
Patch0177: 0177-util-grub-editenv.c-list_variables-Move-print_var-ou.patch
a5bd9f6
Patch0178: 0178-grub-core-fs-hfsplus.c-grub_hfsplus_btree_iterate_no.patch
a5bd9f6
Patch0179: 0179-grub-core-fs-hfs.c-Remove-nested-functions.patch
a5bd9f6
Patch0180: 0180-grub-core-commands-loadenv.c-grub_cmd_list_env-Move-.patch
a5bd9f6
Patch0181: 0181-grub-core-normal-charset.c-grub_bidi_logical_to_visu.patch
a5bd9f6
Patch0182: 0182-grub-core-script-execute.c-gettext_append-Remove-nes.patch
a5bd9f6
Patch0183: 0183-grub-core-lib-ia64-longjmp.S-Fix-the-name-of-longjmp.patch
a5bd9f6
Patch0184: 0184-Make-elfload-not-use-hooks.-Opt-for-flags-and-iterat.patch
a5bd9f6
Patch0185: 0185-grub-core-kern-term.c-grub_term_normal_color.patch
a5bd9f6
Patch0186: 0186-Move-to-more-hookless-approach-in-IEEE1275-devices-h.patch
a5bd9f6
Patch0187: 0187-include-grub-mips-loongson-cmos.h-Fix-high-CMOS-addr.patch
a5bd9f6
Patch0188: 0188-include-grub-cmos.h-Handle-high-CMOS-addresses-on-sp.patch
a5bd9f6
Patch0189: 0189-grub-core-disk-ieee1275-nand.c-Fix-compilation-on.patch
a5bd9f6
Patch0190: 0190-grub-core-kern-env.c-include-grub-env.h-Change-itera.patch
a5bd9f6
Patch0191: 0191-grub-core-commands-regexp.c-set_matches-Move-setvar-.patch
a5bd9f6
Patch0192: 0192-grub-core-script-execute.c-grub_script_arglist_to_ar.patch
a5bd9f6
Patch0193: 0193-Remove-all-trampoline-support.-Add-Wtrampolines-when.patch
a5bd9f6
Patch0194: 0194-grub-core-term-terminfo.c-grub_terminfo_cls-Issue-an.patch
a5bd9f6
Patch0195: 0195-Lift-up-core-size-limits-on-some-platforms.-Fix-pote.patch
a5bd9f6
Patch0196: 0196-grub-core-normal-crypto.c-read_crypto_list-Fix-incor.patch
a5bd9f6
Patch0197: 0197-grub-core-commands-acpi.c-grub_acpi_create_ebda-Don-.patch
a5bd9f6
Patch0198: 0198-grub-core-fs-iso9660.c-add_part-Remove-always_inline.patch
a5bd9f6
Patch0199: 0199-grub-core-fs-fshelp.c-grub_fshelp_log2blksize-Remove.patch
a5bd9f6
Patch0200: 0200-Avoid-costly-64-bit-division-in-grub_get_time_ms-on-.patch
a5bd9f6
Patch0201: 0201-grub-core-fs-hfs.c-grub_hfs_read_file-Avoid-divmod64.patch
a5bd9f6
Patch0202: 0202-Adjust-types-in-gdb-module-to-have-intended-unsigned.patch
a5bd9f6
Patch0203: 0203-grub-core-video-i386-pc-vbe.c.patch
a5bd9f6
Patch0204: 0204-include-grub-datetime.h-grub_datetime2unixtime-Fix-u.patch
a5bd9f6
Patch0205: 0205-grub-core-loader-i386-pc-plan9.c-fill_disk-Fix-types.patch
a5bd9f6
Patch0206: 0206-grub-core-commands-verify.c-grub_verify_signature-Us.patch
a5bd9f6
Patch0207: 0207-grub-core-lib-arg.c-grub_arg_list_alloc-Use-shifts-r.patch
a5bd9f6
Patch0208: 0208-grub-core-loader-i386-bsdXX.c-grub_openbsd_find_ramd.patch
a5bd9f6
Patch0209: 0209-Resend-a-packet-if-we-got-the-wrong-buffer-in-status.patch
a5bd9f6
Patch0210: 0210-Better-estimate-the-maximum-USB-transfer-size.patch
a5bd9f6
Patch0211: 0211-remove-get_endpoint_descriptor-and-change-all-functi.patch
a5bd9f6
Patch0212: 0212-Implement-boot-time-analysis-framework.patch
a5bd9f6
Patch0213: 0213-Fix-USB-devices-not-being-detected-when-requested.patch
a5bd9f6
Patch0214: 0214-Initialize-USB-ports-in-parallel-to-speed-up-boot.patch
a5bd9f6
Patch0215: 0215-include-grub-boottime.h-Add-missing-file.patch
a5bd9f6
Patch0216: 0216-Fix-a-conflict-between-ports-structures-with-2-contr.patch
a5bd9f6
Patch0217: 0217-New-commands-cbmemc-lscoreboot-coreboot_boottime-to-.patch
a5bd9f6
Patch0218: 0218-grub-core-commands-boottime.c-Fix-copyright-header.patch
a5bd9f6
Patch0219: 0219-Slight-improve-in-USB-related-boot-time-checkpoints.patch
a5bd9f6
Patch0220: 0220-grub-core-commands-verify.c-hashes-Add-several-hashe.patch
a5bd9f6
Patch0221: 0221-po-POTFILES.in-Regenerate.patch
a5bd9f6
Patch0222: 0222-grub-core-commands-i386-coreboot-cbls.c-Fix-typos-an.patch
a5bd9f6
Patch0223: 0223-Add-ability-to-generate-newc-additions-on-runtime.patch
a5bd9f6
Patch0224: 0224-grub-core-fs-zfs-zfs.c-Fix-incorrect-handling-of-spe.patch
a5bd9f6
Patch0225: 0225-grub-core-term-at_keyboard.c-Increase-robustness-on-.patch
a5bd9f6
Patch0226: 0226-Add-new-proc-filesystem-framework-and-put-luks_scrip.patch
a5bd9f6
Patch0227: 0227-grub-core-Makefile.core.def-vbe-Disable-on-coreboot-.patch
a5bd9f6
Patch0228: 0228-util-grub-mkconfig_lib.in-prepare_grub_to_access_dev.patch
a5bd9f6
Patch0229: 0229-grub-core-Makefile.core.def-vga-Disable-on-coreboot-.patch
a5bd9f6
Patch0230: 0230-util-grub.d-20_linux_xen.in-Automatically-add-no-rea.patch
a5bd9f6
Patch0231: 0231-Replace-the-region-at-0-from-coreboot-tables-to-avai.patch
a5bd9f6
Patch0232: 0232-grub-core-normal-menu.c-Wait-if-there-were-errors-sh.patch
a5bd9f6
Patch0233: 0233-grub-core-disk-ahci.c-Give-more-time-for-AHCI-reques.patch
a5bd9f6
Patch0234: 0234-grub-core-gfxmenu-font.c-grub_font_get_string_width-.patch
a5bd9f6
Patch0235: 0235-grub-core-commands-acpihalt.c-skip_ext_op-Add-suppor.patch
a5bd9f6
Patch0236: 0236-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch
a5bd9f6
Patch0237: 0237-grub-core-commands-verify.c-Fix-hash-algorithms-valu.patch
a5bd9f6
Patch0238: 0238-INSTALL-Mention-xorriso-requirement.patch
a5bd9f6
Patch0239: 0239-grub-core-partmap-apple.c-apple_partition_map_iterat.patch
a5bd9f6
Patch0240: 0240-grub-core-gfxmenu-gui_circular_progress.c-Fix-off-by.patch
a5bd9f6
Patch0241: 0241-grub-core-gfxmenu-view.c-Fix-off-by-one-error.patch
a5bd9f6
Patch0242: 0242-grub-core-gfxmenu-gui_circular_progress.c-Take-both-.patch
a5bd9f6
Patch0243: 0243-grub-core-gfxmenu-gui_progress_bar.c-Handle-padding-.patch
a5bd9f6
Patch0244: 0244-include-grub-elf.h-Add-missing-ARM-relocation-codes-.patch
a5bd9f6
Patch0245: 0245-util-grub-mount.c-fuse_init-Return-error-if-fuse_mai.patch
a5bd9f6
Patch0246: 0246-Fix-screen-corruption-in-menu-entry-editor-and-simpl.patch
a5bd9f6
Patch0247: 0247-grub-core-term-i386-pc-console.c-grub_console_getwh-.patch
a5bd9f6
Patch0248: 0248-grub-core-commands-verify.c-Save-verified-file-to-av.patch
a5bd9f6
Patch0249: 0249-grub-core-lib-posix_wrap-locale.h-GRUB_UTIL-Include-.patch
a5bd9f6
Patch0250: 0250-util-grub-setup.c-setup-Handle-some-corner-cases.patch
a5bd9f6
Patch0251: 0251-grub-core-bus-usb-usbtrans.c-grub_usb_bulk_readwrite.patch
a5bd9f6
Patch0252: 0252-Use-TSC-as-a-possible-time-source-on-i386-ieee1275.patch
a5bd9f6
Patch0253: 0253-grub-core-disk-efi-efidisk.c-Handle-partitions-on-no.patch
a5bd9f6
Patch0254: 0254-Unify-file-copying-setup-across-different-install-sc.patch
a5bd9f6
Patch0255: 0255-util-grub-mkimage.c-Introduce-new-define-EFI32_HEADE.patch
a5bd9f6
Patch0256: 0256-docs-grub.texi-Document-menuentry-id-option.patch
a5bd9f6
Patch0257: 0257-docs-grub.texi-Document-more-user-commands.patch
a5bd9f6
Patch0258: 0258-Move-GRUB_CHAR_BIT-to-types.h.patch
a5bd9f6
Patch0259: 0259-include-grub-bsdlabel.h-Use-enums.patch
a5bd9f6
Patch0260: 0260-grub-core-commands-verify.c-Use-GRUB_CHAR_BIT.patch
a5bd9f6
Patch0261: 0261-Add-new-defines-GRUB_RSDP_SIGNATURE_SIZE-and-GRUB_RS.patch
a5bd9f6
Patch0262: 0262-Replace-8-with-GRUB_CHAR_BIT-in-several-places-when-.patch
a5bd9f6
Patch0263: 0263-grub-core-commands-acpi.c-Use-sizeof-rather-than-har.patch
a5bd9f6
Patch0264: 0264-util-grub-mkfont.c-Prefer-enum-to-define.patch
a5bd9f6
Patch0265: 0265-Use-GRUB_PROPERLY_ALIGNED_ARRAY-in-grub-core-disk-cr.patch
a5bd9f6
Patch0266: 0266-util-grub.d-30_os-prober.in-Support-btrrfs-linux-pro.patch
a5bd9f6
Patch0267: 0267-util-grub-install_header-Use-PACKAGE-.mo-in-message-.patch
a5bd9f6
Patch0268: 0268-conf-Makefile.extra-dist-EXTRA_DIST-Add.patch
a5bd9f6
Patch0269: 0269-grub-core-normal-term.c-Few-more-fixes-for-menu-entr.patch
a5bd9f6
Patch0270: 0270-grub-core-normal-term.c-Few-more-fixes-for-menu-entr.patch
a5bd9f6
Patch0271: 0271-docs-grub-dev.texi-Move-itemize-after-subsection-to-.patch
a5bd9f6
Patch0272: 0272-grub-core-term-i386-pc-console.c-Fix-cursor-moving-a.patch
a5bd9f6
Patch0273: 0273-grub-core-Makefile.core.def-Add-kern-elfXX.c-to-elf-.patch
a5bd9f6
Patch0274: 0274-Fix-ia64-efi-image-generation-on-big-endian-machines.patch
a5bd9f6
Patch0275: 0275-autogen.sh-Use-h-not-f-to-test-for-existence-of-symb.patch
a5bd9f6
Patch0276: 0276-Fix-missing-PVs-if-they-don-t-contain-interesting-LV.patch
a5bd9f6
Patch0277: 0277-util-grub.d-30_os-prober.in-Add-onstr-to-entries-for.patch
a5bd9f6
Patch0278: 0278-Use-ACPI-shutdown-intests-as-traditional-port-was-re.patch
a5bd9f6
Patch0279: 0279-Import-new-gnulib.patch
a5bd9f6
Patch0280: 0280-docs-grub.texi-Fix-description-of-GRUB_CMDLINE_XEN-a.patch
a5bd9f6
Patch0281: 0281-Merge-powerpc-grub-mkrescue-flavour-with-common.-Use.patch
a5bd9f6
Patch0282: 0282-Support-i386-ieee1275-grub-mkrescue-and-make-check-o.patch
a5bd9f6
Patch0283: 0283-tests-partmap_test.in-Fix-missing-qemudisk-setting.patch
a5bd9f6
Patch0284: 0284-tests-grub_cmd_date.in-New-test-for-datetime.patch
a5bd9f6
Patch0285: 0285-docs-grub.texi-Update-coreboot-status-info.patch
a5bd9f6
Patch0286: 0286-Turn-off-QEMU-ACPI-way-since-new-releases-don-t-have.patch
a5bd9f6
Patch0287: 0287-tests-util-grub-shell.in-Fix-it-on-powerpc.patch
a5bd9f6
Patch0288: 0288-Disable-partmap-check-on-i386-ieee1275-due-to-openfi.patch
a5bd9f6
Patch0289: 0289-grub-core-net-drivers-ieee1275-ofnet.c-Don-t-attempt.patch
a5bd9f6
Patch0290: 0290-grub-core-net-http.c-Fix-bad-free.patch
a5bd9f6
Patch0291: 0291-Fix-handling-of-split-transfers.patch
a5bd9f6
Patch0292: 0292-grub-core-bus-usb-ehci.c-grub_ehci_fini_hw-Ignore-er.patch
a5bd9f6
Patch0293: 0293-util-grub-mkimage.c-Document-memdisk-implying-prefix.patch
a5bd9f6
Patch0294: 0294-Handle-Japanese-special-keys.patch
a5bd9f6
Patch0295: 0295-Replace-stpcpy-with-grub_stpcpy-in-tools.patch
a5bd9f6
Patch0296: 0296-Better-support-Apple-Intel-Macs-on-CD.patch
a5bd9f6
Patch0297: 0297-util-grub-mkrescue.in-Fix-wrong-architecture-for-ppc.patch
a5bd9f6
Patch0298: 0298-docs-man-grub-glue-efi.h2m-Add-missing-file.patch
a5bd9f6
Patch0299: 0299-Fix-memory-leaks-in-ofnet.patch
a5bd9f6
Patch0300: 0300-grub-core-kern-ieee1275-cmain.c-grub_ieee1275_find_o.patch
a5bd9f6
Patch0301: 0301-grub-core-disk-ieee1275-ofdisk.c-Iterate-over-bootpa.patch
a5bd9f6
Patch0302: 0302-Allow-IEEE1275-ports-on-path-even-if-it-wasn-t-detec.patch
a5bd9f6
Patch0303: 0303-Support-mkrescue-on-sparc64.patch
a5bd9f6
Patch0304: 0304-Support-grub-shell-on-sparc64.patch
a5bd9f6
Patch0305: 0305-tests-partmap_test.in-Skip-on-sparc64.patch
a5bd9f6
Patch0306: 0306-tests-grub_cmd_date.in-Add-missing-exit-1.patch
a5bd9f6
Patch0307: 0307-Move-GRUB-out-of-system-area-when-using-xorriso-1.2..patch
a5bd9f6
Patch0308: 0308-grub-core-loader-i386-linux.c-Remove-useless-leftove.patch
a5bd9f6
Patch0309: 0309-docs-grub-dev.texi-Rearrange-menu-to-match-the-secti.patch
a5bd9f6
Patch0310: 0310-Add-option-to-compress-files-on-install-image-creati.patch
a5bd9f6
Patch0311: 0311-grub-core-lib-posix_wrap-sys-types.h-Make-WORDS_BIGE.patch
a5bd9f6
Patch0312: 0312-grub-core-disk-ieee1275-ofdisk.c-Fix-CD-ROM-and-boot.patch
a5bd9f6
Patch0313: 0313-grub-core-kern-ieee1275-openfw.c-grub_ieee1275_deval.patch
a5bd9f6
Patch0314: 0314-tests-grub_script_expansion.in-Use-fixed-string-grep.patch
a5bd9f6
Patch0315: 0315-tests-grub_cmd_date.in-Skip-on-sparc64.patch
a5bd9f6
Patch0316: 0316-Fix-DMRAID-partition-handling.patch
a5bd9f6
Patch0317: 0317-grub-core-disk-efi-efidisk.c-Limit-disk-read-or-writ.patch
a5bd9f6
Patch0318: 0318-autogen.sh-Use-f-in-addition-for-h-when-checking-fil.patch
a5bd9f6
Patch0319: 0319-grub-core-disk-efi-efidisk.c-Really-limit-transfer-c.patch
a5bd9f6
Patch0320: 0320-build-aux-snippet-Add-missing-gnulib-files.patch
a5bd9f6
Patch0321: 0321-grub-core-disk-efi-efidisk.c-Detect-floppies-by-ACPI.patch
a5bd9f6
Patch0322: 0322-util-grub-mkrescue.in-Add-GPT-for-EFI-boot.patch
a5bd9f6
Patch0323: 0323-Add-support-for-pseries-and-other-bootinfo-machines-.patch
a5bd9f6
Patch0324: 0324-util-grub.d-30_os-prober.in-Add-onstr-to-linux-entri.patch
a5bd9f6
Patch0325: 0325-grub-core-kern-elfXX.c-grub_elfXX_load-Handle.patch
a5bd9f6
Patch0326: 0326-grub-core-commands-videotest.c-grub_cmd_videotest-Fi.patch
a5bd9f6
Patch0327: 0327-grub-core-kern-ieee1275-cmain.c-grub_ieee1275_find_o.patch
a5bd9f6
Patch0328: 0328-grub-core-kern-ieee1275-init.c-grub_claim_heap-Impro.patch
a5bd9f6
Patch0329: 0329-grub-core-lib-efi-relocator.c-grub_relocator_firmwar.patch
a5bd9f6
Patch0330: 0330-grub-core-Makefile.core.def-legacycfg-Enable-on-EFI.patch
a5bd9f6
Patch0331: 0331-grub-core-kern-mm.c-grub_mm_init_region-Fix-conditio.patch
a5bd9f6
Patch0332: 0332-Support-coreboot-framebuffer.patch
a5bd9f6
Patch0333: 0333-grub-core-disk-arc-arcdisk.c-grub_arcdisk_iterate_it.patch
a5bd9f6
Patch0334: 0334-Move-mips-arc-link-address.-Previous-link-address-wa.patch
a5bd9f6
Patch0335: 0335-grub-core-kern-dl.c-grub_dl_resolve_symbols-Handle-m.patch
a5bd9f6
Patch0336: 0336-util-grub-mkrescue.in-Add-mips-arc-support.patch
a5bd9f6
Patch0337: 0337-Add-missing-video-ids-to-coreboot-and-ieee1275-video.patch
a5bd9f6
Patch0338: 0338-grub-core-disk-ata.c-grub_ata_real_open-Use-grub_err.patch
a5bd9f6
Patch0339: 0339-grub-core-loader-i386-linux.c-grub_linux_boot-Defaul.patch
a5bd9f6
Patch0340: 0340-grub-core-normal-menu_text.c-print_entry-Put-an-aste.patch
a5bd9f6
Patch0341: 0341-util-grub-install.in-Fix-target-fo-qemu_mips.patch
a5bd9f6
Patch0342: 0342-Don-t-say-GNU-Linux-in-generated-menus.patch
a5bd9f6
Patch0343: 0343-Migrate-PPC-from-Yaboot-to-Grub2.patch
a5bd9f6
Patch0344: 0344-Add-fw_path-variable-revised.patch
a5bd9f6
Patch0345: 0345-Don-t-set-boot-device-on-ppc-ieee1275.patch
a5bd9f6
Patch0346: 0346-Add-support-for-linuxefi.patch
a5bd9f6
Patch0347: 0347-Add-support-for-crappy-cd-craparino.patch
a5bd9f6
Patch0348: 0348-Use-linuxefi-and-initrdefi-where-appropriate.patch
a5bd9f6
Patch0349: 0349-Don-t-allow-insmod-when-secure-boot-is-enabled.patch
a5bd9f6
Patch0351: 0351-Pass-x-hex-hex-straight-through-unmolested.patch
a5bd9f6
Patch0352: 0352-Fix-crash-on-http.patch
a5bd9f6
Patch0353: 0353-Issue-separate-DNS-queries-for-ipv4-and-ipv6.patch
a5bd9f6
Patch0354: 0354-IBM-client-architecture-CAS-reboot-support.patch
a5bd9f6
Patch0355: 0355-for-ppc-include-all-modules-in-the-core-image.patch
a5bd9f6
Patch0356: 0356-Add-vlan-tag-support.patch
a5bd9f6
Patch0357: 0357-Add-X-option-to-printf-functions.patch
a5bd9f6
Patch0358: 0358-DHCP-client-ID-and-UUID-options-added.patch
a5bd9f6
Patch0359: 0359-Search-for-specific-config-file-for-netboot.patch
a5bd9f6
Patch0360: 0360-Add-bootpath-device-to-the-list.patch
a5bd9f6
Patch0361: 0361-add-GRUB_DISABLE_SUBMENU-option.patch
a5bd9f6
Patch0362: 0362-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch
a5bd9f6
Patch0363: 0363-Move-bash-completion-script-922997.patch
a5bd9f6
Patch0364: 0364-Use-memcpy-instead-of-direct-assignment-for-complex-.patch
0e50f1f
0e50f1f
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0e50f1f
95e479d
BuildRequires:  flex bison binutils python
95e479d
BuildRequires:  ncurses-devel xz-devel
5e0037e
BuildRequires:  freetype-devel libusb-devel
cd7223a
%ifarch %{sparc} x86_64
c95e580
# sparc builds need 64 bit glibc-devel - also for 32 bit userland
cd7223a
BuildRequires:  /usr/lib64/crt1.o glibc-static
cd7223a
%else
c95e580
# ppc64 builds need the ppc crt1.o
cd7223a
BuildRequires:  /usr/lib/crt1.o glibc-static
cd7223a
%endif
1fcd613
BuildRequires:  autoconf automake autogen device-mapper-devel
1fcd613
BuildRequires:	freetype-devel gettext-devel git
b87b26e
BuildRequires:	texinfo
171aabb
BuildRequires:	dejavu-sans-fonts
David Cantrell d38088e
%ifarch %{efiarchs}
66cba4f
BuildRequires:	pesign >= 0.99-8
David Cantrell d38088e
%endif
0e50f1f
83183d5
Requires:	gettext os-prober which file system-logos
8273501
Requires:	%{name}-tools = %{epoch}:%{version}-%{release}
a736a84
Requires(pre):  dracut
a736a84
Requires(post): dracut
0e50f1f
47b7f15
ExcludeArch:	s390 s390x %{arm}
0e50f1f
0e50f1f
%description
95e479d
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
95e479d
bootloader with modular architecture.  It support rich varietyof kernel formats,
9ef0c08
file systems, computer architectures and hardware devices.  This subpackage
9ef0c08
provides support for PC BIOS systems.
95e479d
420dddc
%ifarch %{efiarchs}
95e479d
%package efi
95e479d
Summary:	GRUB for EFI systems.
95e479d
Group:		System Environment/Base
efff1af
Requires:	%{name}-tools = %{epoch}:%{version}-%{release}
95e479d
95e479d
%description efi
95e479d
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
95e479d
bootloader with modular architecture.  It support rich varietyof kernel formats,
95e479d
file systems, computer architectures and hardware devices.  This subpackage
95e479d
provides support for EFI systems.
95e479d
%endif
0e50f1f
9ef0c08
%package tools
9ef0c08
Summary:	Support tools for GRUB.
9ef0c08
Group:		System Environment/Base
9ef0c08
Requires:	gettext os-prober which file system-logos
9ef0c08
9ef0c08
%description tools
9ef0c08
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
9ef0c08
bootloader with modular architecture.  It support rich varietyof kernel formats,
9ef0c08
file systems, computer architectures and hardware devices.  This subpackage
9ef0c08
provides tools for support of all platforms.
9ef0c08
0e50f1f
%prep
28678c2
%setup -T -c -n grub-%{tarversion}
420dddc
%ifarch %{efiarchs}
28678c2
%setup -D -q -T -a 0 -n grub-%{tarversion}
28678c2
cd grub-%{tarversion}
95e479d
cp %{SOURCE3} .
f06903e
# place unifont in the '.' from which configure is run
f06903e
cp %{SOURCE4} unifont.pcf.gz
1fcd613
git init
aec4448
git config user.email "grub2-owner@fedoraproject.org"
1fcd613
git config user.name "Fedora Ninjas"
1fcd613
git add .
28678c2
git commit -a -q -m "%{tarversion} baseline."
1fcd613
git am %{patches}
95e479d
cd ..
28678c2
mv grub-%{tarversion} grub-efi-%{tarversion}
95e479d
%endif
28678c2
%setup -D -q -T -a 0 -n grub-%{tarversion}
28678c2
cd grub-%{tarversion}
ca74990
cp %{SOURCE3} .
f06903e
# place unifont in the '.' from which configure is run
f06903e
cp %{SOURCE4} unifont.pcf.gz
95e479d
git init
aec4448
git config user.email "grub2-owner@fedoraproject.org"
95e479d
git config user.name "Fedora Ninjas"
95e479d
git add .
28678c2
git commit -a -q -m "%{tarversion} baseline."
95e479d
git am %{patches}
ca74990
0e50f1f
%build
420dddc
%ifarch %{efiarchs}
28678c2
cd grub-efi-%{tarversion}
95e479d
./autogen.sh
ee1d6da
%configure							\
ee1d6da
	CFLAGS="$(echo $RPM_OPT_FLAGS | sed			\
62a7c9b
		-e 's/-O.//g'					\
ee1d6da
		-e 's/-fstack-protector//g'			\
ee1d6da
		-e 's/--param=ssp-buffer-size=4//g'		\
d5f7428
		-e 's/-mregparm=3/-mregparm=4/g'		\
ee1d6da
		-e 's/-fexceptions//g'				\
ee1d6da
		-e 's/-fasynchronous-unwind-tables//g' )"	\
ee1d6da
	TARGET_LDFLAGS=-static					\
ee1d6da
        --with-platform=efi					\
6092ed7
	--with-grubdir=%{name}					\
1d74d59
        --program-transform-name=s,grub,%{name},		\
f06903e
	--disable-werror
95e479d
make %{?_smp_mflags}
2ea29c3
GRUB_MODULES="	all_video boot btrfs cat chain configfile echo efifwsetup \
58a808c
		efinet ext2 fat font gfxmenu gfxterm gzio halt hfsplus iso9660 \
3987410
		jpeg linuxefi lvm minicmd normal part_apple part_msdos \
3987410
		part_gpt password_pbkdf2 png reboot search search_fs_uuid \
2ea29c3
		search_fs_file search_label sleep test video xfs \
56aa737
		mdraid09 mdraid1x blscfg"
5d4d477
./grub-mkimage -O %{grubefiarch} -o %{grubeficdname}.orig -p /EFI/BOOT \
2ea29c3
		-d grub-core ${GRUB_MODULES}
f742f42
%pesign -s -i %{grubeficdname}.orig -o %{grubeficdname}
711f8a0
./grub-mkimage -O %{grubefiarch} -o %{grubefiname}.orig -p /EFI/%{efidir} \
711f8a0
		-d grub-core ${GRUB_MODULES}
f742f42
%pesign -s -i %{grubefiname}.orig -o %{grubefiname}
95e479d
cd ..
95e479d
%endif
95e479d
28678c2
cd grub-%{tarversion}
95e479d
./autogen.sh
0e50f1f
# -static is needed so that autoconf script is able to link
0e50f1f
# test that looks for _start symbol on 64 bit platforms
David W. Aquilina 81e64b5
%ifarch %{sparc} ppc ppc64
28678c2
%define platform ieee1275
e046631
%else
28678c2
%define platform pc
e046631
%endif
ee1d6da
%configure							\
ee1d6da
	CFLAGS="$(echo $RPM_OPT_FLAGS | sed			\
645dc62
		-e 's/-O.//g'					\
ee1d6da
		-e 's/-fstack-protector//g'			\
ee1d6da
		-e 's/--param=ssp-buffer-size=4//g'		\
d5f7428
		-e 's/-mregparm=3/-mregparm=4/g'		\
ee1d6da
		-e 's/-fexceptions//g'				\
ee1d6da
		-e 's/-m64//g'					\
ee1d6da
		-e 's/-fasynchronous-unwind-tables//g' )"	\
ee1d6da
	TARGET_LDFLAGS=-static					\
28678c2
        --with-platform=%{platform}				\
6092ed7
	--with-grubdir=%{name}					\
ee1d6da
        --program-transform-name=s,grub,%{name},		\
f06903e
	--disable-werror
0e50f1f
e046631
make %{?_smp_mflags}
0e50f1f
ee18b8d
sed -i -e 's,(grub),(%{name}),g' \
ee18b8d
	-e 's,grub.info,%{name}.info,g' \
ee18b8d
	-e 's,\* GRUB:,* GRUB2:,g' \
51c2ea7
	-e 's,/boot/grub/,/boot/%{name}/,g' \
0f31deb
	-e 's,\([^-]\)grub-\([a-z]\),\1%{name}-\2,g' \
ee18b8d
	docs/grub.info
ee18b8d
sed -i -e 's,grub-dev,%{name}-dev,g' docs/grub-dev.info
ee18b8d
0f31deb
/usr/bin/makeinfo --html --no-split -I docs -o grub-dev.html docs/grub-dev.texi
0f31deb
/usr/bin/makeinfo --html --no-split -I docs -o grub.html docs/grub.texi
0f31deb
sed -i	-e 's,/boot/grub/,/boot/%{name}/,g' \
0f31deb
	-e 's,\([^-]\)grub-\([a-z]\),\1%{name}-\2,g' \
0f31deb
	grub.html
0f31deb
0e50f1f
%install
0e50f1f
set -e
0e50f1f
rm -fr $RPM_BUILD_ROOT
95e479d
420dddc
%ifarch %{efiarchs}
28678c2
cd grub-efi-%{tarversion}
95e479d
make DESTDIR=$RPM_BUILD_ROOT install
c849461
find $RPM_BUILD_ROOT -iname "*.module" -exec chmod a-x {} \;
95e479d
95e479d
# Ghost config file
8d4efa5
install -m 755 -d $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/
8d4efa5
touch $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/grub.cfg
8d4efa5
ln -s ../boot/efi/EFI/%{efidir}/grub.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-efi.cfg
95e479d
95e479d
# Install ELF files modules and images were created from into
95e479d
# the shadow root, where debuginfo generator will grab them from
95e479d
find $RPM_BUILD_ROOT -name '*.mod' -o -name '*.img' |
95e479d
while read MODULE
95e479d
do
95e479d
        BASE=$(echo $MODULE |sed -r "s,.*/([^/]*)\.(mod|img),\1,")
95e479d
        # Symbols from .img files are in .exec files, while .mod
95e479d
        # modules store symbols in .elf. This is just because we
95e479d
        # have both boot.img and boot.mod ...
95e479d
        EXT=$(echo $MODULE |grep -q '.mod' && echo '.elf' || echo '.exec')
95e479d
        TGT=$(echo $MODULE |sed "s,$RPM_BUILD_ROOT,.debugroot,")
95e479d
#        install -m 755 -D $BASE$EXT $TGT
95e479d
done
8d4efa5
install -m 755 %{grubefiname} $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/%{grubefiname}
5d4d477
install -m 755 %{grubeficdname} $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/%{grubeficdname}
58a808c
install -D -m 644 unicode.pf2 $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/fonts/unicode.pf2
95e479d
cd ..
95e479d
%endif
95e479d
28678c2
cd grub-%{tarversion}
0e50f1f
make DESTDIR=$RPM_BUILD_ROOT install
0e50f1f
0e50f1f
# Ghost config file
0e50f1f
install -d $RPM_BUILD_ROOT/boot/%{name}
0e50f1f
touch $RPM_BUILD_ROOT/boot/%{name}/grub.cfg
0e50f1f
ln -s ../boot/%{name}/grub.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
0e50f1f
0e50f1f
# Install ELF files modules and images were created from into
0e50f1f
# the shadow root, where debuginfo generator will grab them from
0e50f1f
find $RPM_BUILD_ROOT -name '*.mod' -o -name '*.img' |
0e50f1f
while read MODULE
0e50f1f
do
0e50f1f
        BASE=$(echo $MODULE |sed -r "s,.*/([^/]*)\.(mod|img),\1,")
0e50f1f
        # Symbols from .img files are in .exec files, while .mod
0e50f1f
        # modules store symbols in .elf. This is just because we
0e50f1f
        # have both boot.img and boot.mod ...
0e50f1f
        EXT=$(echo $MODULE |grep -q '.mod' && echo '.elf' || echo '.exec')
0e50f1f
        TGT=$(echo $MODULE |sed "s,$RPM_BUILD_ROOT,.debugroot,")
e046631
#        install -m 755 -D $BASE$EXT $TGT
0e50f1f
done
0e50f1f
6092ed7
mv $RPM_BUILD_ROOT%{_infodir}/grub.info $RPM_BUILD_ROOT%{_infodir}/%{name}.info
6092ed7
mv $RPM_BUILD_ROOT%{_infodir}/grub-dev.info $RPM_BUILD_ROOT%{_infodir}/%{name}-dev.info
1fcd613
rm $RPM_BUILD_ROOT%{_infodir}/dir
1fcd613
0e50f1f
# Defaults
8d4efa5
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/default
8d4efa5
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/default/grub
62a7c9b
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
62a7c9b
ln -sf %{_sysconfdir}/default/grub \
62a7c9b
	${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/grub
62a7c9b
72b5f59
cd ..
72b5f59
%find_lang grub
72b5f59
171aabb
# Fedora theme in /boot/grub2/themes/system/
83183d5
cd $RPM_BUILD_ROOT
83183d5
tar xjf %{SOURCE5}
171aabb
$RPM_BUILD_ROOT%{_bindir}/%{name}-mkfont -o boot/grub2/themes/system/DejaVuSans-10.pf2      -s 10 /usr/share/fonts/dejavu/DejaVuSans.ttf # "DejaVu Sans Regular 10"
171aabb
$RPM_BUILD_ROOT%{_bindir}/%{name}-mkfont -o boot/grub2/themes/system/DejaVuSans-12.pf2      -s 12 /usr/share/fonts/dejavu/DejaVuSans.ttf # "DejaVu Sans Regular 12"
171aabb
$RPM_BUILD_ROOT%{_bindir}/%{name}-mkfont -o boot/grub2/themes/system/DejaVuSans-Bold-14.pf2 -s 14 /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf # "DejaVu Sans Bold 14"
83183d5
5d4d477
# Make selinux happy with exec stack binaries.
5d4d477
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/
5d4d477
cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf
5d4d477
# these have execstack, and break under selinux
5d4d477
-b /usr/bin/grub2-script-check
5d4d477
-b /usr/bin/grub2-mkrelpath
5d4d477
-b /usr/bin/grub2-fstest
5d4d477
-b /usr/sbin/grub2-bios-setup
5d4d477
-b /usr/sbin/grub2-probe
5d4d477
-b /usr/sbin/grub2-sparc64-setup
5d4d477
EOF
5d4d477
0e50f1f
%clean    
0e50f1f
rm -rf $RPM_BUILD_ROOT
0e50f1f
0e50f1f
%post
1fcd613
if [ "$1" = 1 ]; then
6092ed7
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
6092ed7
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
1fcd613
fi
0e50f1f
e376009
%triggerun -- grub2 < 1:1.99-4
eb5089f
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
eb5089f
# from the affected grub2 packages, we first back up the files in triggerun and
eb5089f
# later restore them in triggerpostun.
eb5089f
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
e376009
eb5089f
# Back up the files before uninstalling old grub2
eb5089f
mkdir -p /boot/grub2.tmp &&
1156d47
mv -f /boot/grub2/*.mod \
eb5089f
      /boot/grub2/*.img \
eb5089f
      /boot/grub2/*.lst \
eb5089f
      /boot/grub2/device.map \
eb5089f
      /boot/grub2.tmp/ || :
eb5089f
eb5089f
%triggerpostun -- grub2 < 1:1.99-4
eb5089f
# ... and restore the files.
eb5089f
test ! -f /boot/grub2/device.map &&
eb5089f
test -d /boot/grub2.tmp &&
eb5089f
mv -f /boot/grub2.tmp/*.mod \
eb5089f
      /boot/grub2.tmp/*.img \
eb5089f
      /boot/grub2.tmp/*.lst \
eb5089f
      /boot/grub2.tmp/device.map \
eb5089f
      /boot/grub2/ &&
eb5089f
rm -r /boot/grub2.tmp/ || :
eb5089f
0e50f1f
%preun
1fcd613
if [ "$1" = 0 ]; then
6092ed7
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
6092ed7
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
1fcd613
fi
0e50f1f
72b5f59
%files -f grub.lang
0e50f1f
%defattr(-,root,root,-)
28678c2
%{_libdir}/grub/*-%{platform}/
21f0c0b
%config(noreplace) %{_sysconfdir}/%{name}.cfg
bf4e2d2
%ghost %config(noreplace) /boot/%{name}/grub.cfg
9ef0c08
%doc grub-%{tarversion}/COPYING
0e50f1f
420dddc
%ifarch %{efiarchs}
9ef0c08
%files efi
95e479d
%defattr(-,root,root,-)
1d74d59
%{_libdir}/grub/%{grubefiarch}
9ef0c08
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg
8d4efa5
%attr(0755,root,root)/boot/efi/EFI/%{efidir}
58a808c
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts
8d4efa5
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg
9ef0c08
%doc grub-%{tarversion}/COPYING
9ef0c08
%endif
9ef0c08
9ef0c08
%files tools -f grub.lang
9ef0c08
%defattr(-,root,root,-)
9ef0c08
%dir %{_libdir}/grub/
caaeb9f
%{_datarootdir}/grub/
f06903e
%{_sbindir}/%{name}-mkconfig
f06903e
%{_sbindir}/%{name}-install
f06903e
%{_sbindir}/%{name}-probe
f06903e
%{_sbindir}/%{name}-reboot
f06903e
%{_sbindir}/%{name}-set-default
f06903e
%{_sbindir}/%{name}-bios-setup
f06903e
%{_sbindir}/%{name}-ofpathname
f06903e
%{_sbindir}/%{name}-sparc64-setup
a5bd9f6
%{_bindir}/%{name}-mknetdir
28678c2
%{_bindir}/%{name}-mkstandalone
0e50f1f
%{_bindir}/%{name}-editenv
a72f2be
%{_bindir}/%{name}-fstest
1fcd613
%{_bindir}/%{name}-kbdcomp
1fcd613
%{_bindir}/%{name}-menulst2cfg
a72f2be
%{_bindir}/%{name}-mkfont
1fcd613
%{_bindir}/%{name}-mklayout
1fcd613
%{_bindir}/%{name}-mkimage
692a778
%{_bindir}/%{name}-mkpasswd-pbkdf2
692a778
%{_bindir}/%{name}-mkrelpath
a5bd9f6
%{_bindir}/%{name}-glue-efi
a5bd9f6
%{_bindir}/%{name}-render-label
34399bb
%ifnarch %{sparc}
a72f2be
%{_bindir}/%{name}-mkrescue
34399bb
%endif
1fcd613
%{_bindir}/%{name}-script-check
3801bfd
%{_datarootdir}/bash-completion/completions/grub
5d4d477
%{_sysconfdir}/prelink.conf.d/grub2.conf
afddf87
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
0e50f1f
%config %{_sysconfdir}/grub.d/??_*
0e50f1f
%{_sysconfdir}/grub.d/README
d9c0e66
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
62a7c9b
%{_sysconfdir}/sysconfig/grub
0e50f1f
%dir /boot/%{name}
9ef0c08
/boot/%{name}/themes/
9ef0c08
%{_infodir}/%{name}*
0e50f1f
%exclude %{_mandir}
28678c2
%doc grub-%{tarversion}/COPYING grub-%{tarversion}/INSTALL
28678c2
%doc grub-%{tarversion}/NEWS grub-%{tarversion}/README
28678c2
%doc grub-%{tarversion}/THANKS grub-%{tarversion}/TODO
28678c2
%doc grub-%{tarversion}/ChangeLog grub-%{tarversion}/README.Fedora
0f31deb
%doc grub-%{tarversion}/grub.html
0f31deb
%doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png
171aabb
%doc grub-%{tarversion}/themes/starfield/COPYING.CC-BY-SA-3.0
95e479d
0e50f1f
%changelog
a5bd9f6
* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
a5bd9f6
- Rebase to upstream snapshot.
a5bd9f6
50b8f8e
* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
3ad78fd
- Fix booting from drives with 4k sectors on UEFI.
50b8f8e
- Move bash completion to new location (#922997)
50b8f8e
- Include lvm support for /boot (#906203)
3ad78fd
56aa737
* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
56aa737
- Allow the user to disable submenu generation
56aa737
- (partially) support BLS-style configuration stanzas.
56aa737
2ea29c3
* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
2ea29c3
- Add various config file related changes.
2ea29c3
d86e0a2
* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
d86e0a2
- bump nvr
d86e0a2
83401c6
* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
83401c6
- add bootpath device to the device list (pfsmorigo, #886685)
83401c6
5e0db24
* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
5e0db24
- Add vlan tag support (pfsmorigo, #871563)
5e0db24
- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
5e0db24
- Improve search paths for config files on network boot (pfsmorigo, #873406)
5e0db24
4788033
* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
4788033
- Don't load modules when grub transitions to "normal" mode on UEFI.
4788033
5598b7f
* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
66cba4f
- Rebuild with newer pesign so we'll get signed with the final signing keys.
66cba4f
f2e5630
* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
f2e5630
- Various PPC fixes.
f2e5630
- Fix crash fetching from http (gustavold, #860834)
f2e5630
- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
f2e5630
- Support IBM CAS reboot (pfsmorigo, #859223)
f2e5630
- Include all modules in the core image on ppc (pfsmorigo, #866559)
f2e5630
c849461
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
c849461
- Work around bug with using "\x20" in linux command line.
c849461
  Related: rhbz#855849
c849461
9d78483
* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
9d78483
- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
9d78483
- Increase device path size for ieee1275
9d78483
  Resolves: rhbz#857936
9d78483
- Make network booting work on ieee1275 machines.
9d78483
  Resolves: rhbz#857936
9d78483
Matthew Garrett 62fd5b9
* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
Matthew Garrett 62fd5b9
- Add Apple partition map support for EFI
Matthew Garrett 62fd5b9
David Cantrell d38088e
* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
David Cantrell d38088e
- Only require pesign on EFI architectures (#851215)
David Cantrell d38088e
f742f42
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
c1a25d0
- Work around AHCI firmware bug in efidisk driver.
f742f42
- Move to newer pesign macros
f742f42
- Don't allow insmod if we're in secure-boot mode.
f742f42
5d4d477
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
5d4d477
- Split module lists for UEFI boot vs UEFI cd images.
5d4d477
- Add raid modules for UEFI image (related: #750794)
5d4d477
- Include a prelink whitelist for binaries that need execstack (#839813)
945dd81
- Include fix efi memory map fix from upstream (#839363)
5d4d477
711f8a0
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
711f8a0
- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
711f8a0
- Sign with test keys on UEFI systems.
711f8a0
- PPC - Handle device paths with commas correctly.
711f8a0
  Related: rhbz#828740
Josh Boyer 2047240
58a808c
* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
58a808c
- Add some more code to support Secure Boot, and temporarily disable
58a808c
  some other bits that don't work well enough yet.
58a808c
  Resolves: rhbz#836695
58a808c
58a808c
* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
58a808c
- Set a prefix for the image - needed for installer work
58a808c
- Provide the font in the EFI directory for the same reason
58a808c
a37bbab
* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
a37bbab
- Rebase to grub-2.00 release.
a37bbab
8205bed
* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
8205bed
- Fix double-free in grub-probe.
8205bed
c4a749d
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
c4a749d
- Build with patch19 applied.
c4a749d
ad98057
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
ad98057
- More ppc fixes.
ad98057
fc6558c
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
fc6558c
- Add IBM PPC fixes.
fc6558c
37801c1
* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
460f2c5
- Update to beta6.
460f2c5
- Various fixes from mads.
460f2c5
bd43daa
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
bd43daa
- Revert builddep change for crt1.o; it breaks ppc build.
bd43daa
f3c723c
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
f3c723c
- Add fwsetup command (pjones)
f3c723c
- More ppc fixes (IBM)
f3c723c
8273501
* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
8273501
- Fix the /other/ grub2-tools require to include epoch.
8273501
c10845e
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
c10845e
- Get rid of efi_uga and efi_gop, favoring all_video instead.
c10845e
8d4efa5
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
8d4efa5
- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
8d4efa5
- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
8d4efa5
- move common stuff to -tools (kiilerix)
8d4efa5
- spec file cleanups (kiilerix)
8d4efa5
ed858ec
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
ed858ec
- Fix module trampolining on ppc (benh)
ed858ec
9f9108b
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
f7d8706
- Fix license of theme (mizmo)
f7d8706
  Resolves: rhbz#820713
31ad4e0
- Fix some PPC bootloader detection IBM problem
31ad4e0
  Resolves: rhbz#820722
f7d8706
44de025
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
44de025
- Update to beta5.
44de025
- Update how efi building works (kiilerix)
4a93dba
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
44de025
f45c3d8
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
f45c3d8
- Include theme support (mizmo)
f45c3d8
- Include locale support (kiilerix)
f45c3d8
- Include html docs (kiilerix)
f45c3d8
0e6e69f
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
3bcbea7
- Various fixes from Mads Kiilerich
3bcbea7
f06903e
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
f06903e
- Update to 2.00~beta4
f06903e
- Make fonts work so we can do graphics reasonably
f06903e
David W. Aquilina 81e64b5
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
David W. Aquilina 81e64b5
- Fix ieee1275 platform define for ppc
David W. Aquilina 81e64b5
c967306
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
c967306
- Remove ppc excludearch lines (dwa)
c967306
- Update ppc terminfo patch (hamzy)
c967306
6950aa5
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
6950aa5
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
6950aa5
- Fix version number to better match policy.
6950aa5
f2a9f13
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
f2a9f13
- Add support for serial terminal consoles on PPC by Mark Hamzy
f2a9f13
e91c775
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
e91c775
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
e91c775
1baa278
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
1baa278
- Use --with-grubdir= on configure to make it behave like -17 did.
1baa278
28678c2
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
28678c2
- Rebase from 1.99 to 2.00~beta2
c7429be
645dc62
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
645dc62
- Update for newer autotools and gcc 4.7.0
645dc62
  Related: rhbz#782144
62a7c9b
- Add /etc/sysconfig/grub link to /etc/default/grub
62a7c9b
  Resolves: rhbz#800152
c07e9a4
- ExcludeArch s390*, which is not supported by this package.
c07e9a4
  Resolves: rhbz#758333
c07e9a4
62a7c9b
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
62a7c9b
- Build with -Os (bug 782144)
62a7c9b
62a7c9b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
62a7c9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62a7c9b
62a7c9b
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
62a7c9b
- fix up various grub2-efi issues
62a7c9b
6c1e129
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
6c1e129
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
6c1e129
212d822
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
212d822
- Lots of .spec fixes from Mads Kiilerich:
212d822
  Remove comment about update-grub - it isn't run in any scriptlets
212d822
  patch info pages so they can be installed and removed correctly when renamed
212d822
  fix references to grub/grub2 renames in info pages (#743964)
212d822
  update README.Fedora (#734090)
212d822
  fix comments for the hack for upgrading from grub2 < 1.99-4
212d822
  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
212d822
  make /etc/grub2*.cfg %config(noreplace)
212d822
  make grub.cfg %ghost - an empty file is of no use anyway
212d822
  create /etc/default/grub more like anaconda would create it (#678453)
212d822
  don't create rescue entries by default - grubby will not maintain them anyway
212d822
  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
212d822
  grub2-efi should have its own bash completion
212d822
  don't set gfxpayload in efi mode - backport upstream r3402
212d822
- Handle dmraid better. Resolves: rhbz#742226
212d822
7cabf5f
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
7cabf5f
- Rebuilt for glibc bug#747377
7cabf5f
7c419b8
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
7c419b8
- /etc/default/grub is explicitly intended for user customization, so
7c419b8
  mark it as config(noreplace)
7c419b8
328405c
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
328405c
- grub has an epoch, so we need that expressed in the obsolete as well.
328405c
  Today isn't my day.
328405c
ba6990d
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
ba6990d
- Fix my bad obsoletes syntax.
ba6990d
5606a4e
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
5606a4e
- Obsolete grub
5606a4e
  Resolves: rhbz#743381
5606a4e
1156d47
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
1156d47
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
1156d47
  Related: rhbz#735259
1156d47
- handle initramfs on xen better (patch from Marko Ristola)
1156d47
  Resolves: rhbz#728775
1156d47
eb5089f
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
eb5089f
- Fix upgrades from grub2 < 1.99-4 (#735259)
eb5089f
6098d12
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
6098d12
- Don't do sysadminny things in %preun or %post ever. (#735259)
6098d12
- Actually include the changelog in this build (sorry about -3)
6098d12
62686d2
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
62686d2
- Require os-prober (#678456) (patch from Elad Alfassa)
62686d2
- Require which (#734959) (patch from Elad Alfassa)
62686d2
ee1d6da
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
ee1d6da
- Update to grub-1.99 final.
ee1d6da
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
ee1d6da
- Various CFLAGS fixes (from Mads Kiilerich)
ee1d6da
  - -fexceptions and -m64
ee1d6da
- Temporarily ignore translations (from Mads Kiilerich)
ee1d6da
b35cdf3
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
b35cdf3
- Use /sbin not /usr/sbin .
b35cdf3
b577e7c
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
b577e7c
- Fixes for ppc and ppc64
b577e7c
6233068
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
6233068
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild