nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
f725e3
%undefine _hardened_build
f725e3
f725e3
%global tarversion 2.02~beta2
f725e3
%undefine _missing_build_ids_terminate_build
f725e3
f725e3
Name:           grub2
f725e3
Epoch:          1
f725e3
Version:        2.02
f725e3
Release:        0.76%{?dist}%{?buildid}
f725e3
Summary:        Bootloader with support for Linux, Multiboot and more
f725e3
Group:          System Environment/Base
f725e3
License:        GPLv3+
f725e3
URL:            http://www.gnu.org/software/grub/
f725e3
Source0:        ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
f725e3
#Source0:	ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz
f725e3
Source1:	grub.macros
f725e3
Source2:	grub.patches
66d204
Source3:	centos.cer
66d204
#(source removed)
f725e3
Source5:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
f725e3
Source6:	gitignore
f725e3
f725e3
%include %{SOURCE1}
f725e3
f725e3
# generate with do-rebase
f725e3
%include %{SOURCE2}
f725e3
f725e3
BuildRequires:  flex bison binutils python
f725e3
BuildRequires:  ncurses-devel xz-devel bzip2-devel
f725e3
BuildRequires:  freetype-devel libusb-devel
f725e3
BuildRequires:	rpm-devel rpm-libs
f725e3
%ifarch %{sparc} aarch64 ppc64le
f725e3
# sparc builds need 64 bit glibc-devel - also for 32 bit userland
f725e3
BuildRequires:  /usr/lib64/crt1.o glibc-static glibc-devel
f725e3
%else
f725e3
%ifarch x86_64
f725e3
BuildRequires:  /usr/lib64/crt1.o glibc-static(x86-64) glibc-devel(x86-64)
f725e3
# glibc32 is what will be in the buildroots, but glibc-static(x86-32) is what
f725e3
# will be in an epel-7 (i.e. centos) mock root.  I think.
f725e3
%if 0%{?centos}%{?mock}
f725e3
BuildRequires:  /usr/lib/crt1.o glibc-static(x86-32) glibc-devel(x86-32)
f725e3
%else
f725e3
BuildRequires:  /usr/lib/crt1.o glibc32
f725e3
%endif
f725e3
%else
f725e3
# ppc64 builds need the ppc crt1.o
f725e3
BuildRequires:  /usr/lib/crt1.o glibc-static glibc-devel
f725e3
%endif
f725e3
%endif
f725e3
BuildRequires:  autoconf automake autogen device-mapper-devel
f725e3
BuildRequires:	freetype-devel gettext-devel git
f725e3
BuildRequires:	texinfo
f725e3
BuildRequires:	dejavu-sans-fonts
f725e3
BuildRequires:	help2man
f725e3
%ifarch %{efi_arch}
f725e3
BuildRequires:	pesign >= 0.99-8
f725e3
%endif
f725e3
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
f725e3
BuildRequires:  ccache
f725e3
%endif
66d204
%if 0%{?centos}
66d204
%global efidir centos
66d204
%endif
f725e3
f725e3
ExcludeArch:	s390 s390x %{arm} %{?ix86}
f725e3
Obsoletes:	%{name} <= %{flagday}
f725e3
f725e3
%if 0%{with_legacy_arch}
f725e3
Requires:	%{name}-%{legacy_package_arch} = %{evr}
f725e3
%else
f725e3
Requires:	%{name}-%{package_arch} = %{evr}
f725e3
%endif
f725e3
f725e3
%global desc \
f725e3
The GRand Unified Bootloader (GRUB) is a highly configurable and \
f725e3
customizable bootloader with modular architecture.  It supports a rich \
f725e3
variety of kernel formats, file systems, computer architectures and \
f725e3
hardware devices.\
f725e3
%{nil}
f725e3
f725e3
%description
f725e3
%{desc}
f725e3
f725e3
%ifarch x86_64
f725e3
%package common
f725e3
Summary:	grub2 common layout
f725e3
Group:		System Environment/Base
f725e3
BuildArch:	noarch
f725e3
f725e3
%description common
f725e3
This package provides some directories which are required by various grub2
f725e3
subpackages.
f725e3
%endif
f725e3
f725e3
%package tools
f725e3
Summary:	Support tools for GRUB.
f725e3
Group:		System Environment/Base
f725e3
Obsoletes:	%{name}-tools <= %{flagday}
f725e3
Obsoletes:	%{name}-tools-efi <= %{flagday}
f725e3
Provides:	%{name}-tools-efi = %{evr}
f725e3
Requires:	%{name}-tools-minimal = %{evr}
f725e3
Requires:	%{name}-common = %{evr}
f725e3
Requires:	gettext os-prober which file
f725e3
Requires(pre):  dracut
f725e3
Requires(post): dracut
f725e3
f725e3
%description tools
f725e3
%{desc}
f725e3
This subpackage provides tools for support of all platforms.
f725e3
f725e3
%package tools-minimal
f725e3
Summary:	Support tools for GRUB.
f725e3
Group:		System Environment/Base
f725e3
Requires:	gettext
f725e3
Requires:	%{name}-common = %{evr}
f725e3
Obsoletes:	%{name}-tools <= %{flagday}
f725e3
f725e3
%description tools-minimal
f725e3
%{desc}
f725e3
This subpackage provides tools for support of all platforms.
f725e3
f725e3
%package tools-extra
f725e3
Summary:	Support tools for GRUB.
f725e3
Group:		System Environment/Base
f725e3
Requires:	gettext os-prober which file
f725e3
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
f725e3
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
f725e3
Requires:	%{name}-tools = %{evr}
f725e3
Obsoletes:	%{name}-tools <= %{flagday}
f725e3
f725e3
%description tools-extra
f725e3
%{desc}
f725e3
This subpackage provides tools for support of all platforms.
f725e3
f725e3
%if 0%{with_efi_arch}
f725e3
%define_efi_variant %{package_arch} -p
f725e3
%endif
f725e3
%if 0%{with_alt_efi_arch}
f725e3
%define_efi_variant %{alt_package_arch}
f725e3
%endif
f725e3
%if 0%{with_legacy_arch}
f725e3
%define_legacy_variant %{legacy_package_arch}
f725e3
%endif
f725e3
f725e3
%prep
f725e3
%setup -T -c -n grub-%{tarversion}
f725e3
%do_common_setup
f725e3
%if 0%{with_efi_arch}
f725e3
%do_setup %{grubefiarch}
f725e3
%endif
f725e3
%if 0%{with_alt_efi_arch}
f725e3
%do_setup %{grubaltefiarch}
f725e3
%endif
f725e3
%if 0%{with_legacy_arch}%{with_legacy_utils}
f725e3
%do_setup %{grublegacyarch}
f725e3
%endif
f725e3
f725e3
%build
f725e3
%if 0%{with_efi_arch}
f725e3
%do_primary_efi_build %{grubefiarch} %{grubefiname} %{grubeficdname} %{_target_platform} "'%{efi_cflags}'" %{SOURCE3} %{SOURCE4} redhatsecureboot301
f725e3
%endif
f725e3
%if 0%{with_alt_efi_arch}
f725e3
%do_alt_efi_build %{grubaltefiarch} %{grubaltefiname} %{grubalteficdname} %{_alt_target_platform} "'%{alt_efi_cflags}'" %{SOURCE3} %{SOURCE4} redhatsecureboot301
f725e3
%endif
f725e3
%if 0%{with_legacy_arch}%{with_legacy_utils}
f725e3
%do_legacy_build %{grublegacyarch}
f725e3
%endif
f725e3
%do_common_build
f725e3
f725e3
%install
f725e3
set -e
f725e3
rm -fr $RPM_BUILD_ROOT
f725e3
f725e3
%do_common_install
f725e3
%if 0%{with_efi_arch}
f725e3
%do_efi_install %{grubefiarch} %{grubefiname} %{grubeficdname}
f725e3
%endif
f725e3
%if 0%{with_alt_efi_arch}
f725e3
%do_alt_efi_install %{grubaltefiarch} %{grubaltefiname} %{grubalteficdname}
f725e3
%endif
f725e3
%if 0%{with_legacy_arch}%{with_legacy_utils}
f725e3
%do_legacy_install %{grublegacyarch} %{alt_grub_target_name}
f725e3
%endif
f725e3
${RPM_BUILD_ROOT}/%{_bindir}/%{name}-editenv ${RPM_BUILD_ROOT}/boot/efi/EFI/%{efidir}/grubenv create
f725e3
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
f725e3
f725e3
%find_lang grub
f725e3
f725e3
# Make selinux happy with exec stack binaries.
f725e3
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/
f725e3
cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf
f725e3
# these have execstack, and break under selinux
f725e3
-b /usr/bin/grub2-script-check
f725e3
-b /usr/bin/grub2-mkrelpath
f725e3
-b /usr/bin/grub2-fstest
f725e3
-b /usr/sbin/grub2-bios-setup
f725e3
-b /usr/sbin/grub2-probe
f725e3
-b /usr/sbin/grub2-sparc64-setup
f725e3
EOF
f725e3
f725e3
# Don't run debuginfo on all the grub modules and whatnot; it just
f725e3
# rejects them, complains, and slows down extraction.
f725e3
%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
f725e3
f725e3
%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
f725e3
%define __debug_install_post (						\
f725e3
	mkdir -p %{finddebugroot}/usr					\
f725e3
	mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin		\
f725e3
	mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin		\
f725e3
	%{dip}								\
f725e3
	install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/	\
f725e3
	cp -al %{finddebugroot}/usr/lib/debug/				\\\
f725e3
		%{buildroot}/usr/lib/debug/				\
f725e3
	cp -al %{finddebugroot}/usr/src/debug/				\\\
f725e3
		%{buildroot}/usr/src/debug/ )				\
f725e3
	mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin		\
f725e3
	mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin		\
f725e3
	%{nil}
f725e3
f725e3
%clean    
f725e3
rm -rf $RPM_BUILD_ROOT
f725e3
f725e3
%pre tools
f725e3
if [ -f /boot/grub2/user.cfg ]; then
f725e3
    if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then
f725e3
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg
f725e3
    fi
f725e3
elif [ -f /boot/efi/EFI/%{efidir}/user.cfg ]; then
f725e3
    if grep -q '^GRUB_PASSWORD=' /boot/efi/EFI/%{efidir}/user.cfg ; then
f725e3
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
f725e3
	    /boot/efi/EFI/%{efidir}/user.cfg
f725e3
    fi
f725e3
elif [ -f /etc/grub.d/01_users ] && \
f725e3
	grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
f725e3
    if [ -f /boot/efi/EFI/%{efidir}/grub.cfg ]; then
f725e3
	# on EFI we don't get permissions on the file, but
f725e3
	# the directory is protected.
f725e3
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
f725e3
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
f725e3
	    > /boot/efi/EFI/%{efidir}/user.cfg
f725e3
    fi
f725e3
    if [ -f /boot/grub2/grub.cfg ]; then
f725e3
	install -m 0600 /dev/null /boot/grub2/user.cfg
f725e3
	chmod 0600 /boot/grub2/user.cfg
f725e3
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
f725e3
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
f725e3
	    > /boot/grub2/user.cfg
f725e3
    fi
f725e3
fi
f725e3
if [ -f /boot/grub2/grubenv ] && ! [ -f /boot/efi/EFI/%{efidir}/grubenv ] ; then
f725e3
	if [ -e /boot/efi/EFI/%{efidir}/grubenv ] ; then
f725e3
		rm /boot/efi/EFI/%{efidir}/grubenv
f725e3
		mv /boot/grub2/grubenv /boot/efi/EFI/%{efidir}/grubenv
f725e3
		ln -sf ../efi/EFI/%{efidir}/grubenv /boot/grub2/grubenv
f725e3
	fi
f725e3
fi
f725e3
f725e3
%post tools
f725e3
if [ "$1" = 1 ]; then
f725e3
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
f725e3
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
f725e3
fi
f725e3
f725e3
%triggerun -- grub2 < 1:1.99-4
f725e3
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
f725e3
# from the affected grub2 packages, we first back up the files in triggerun and
f725e3
# later restore them in triggerpostun.
f725e3
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
f725e3
f725e3
# Back up the files before uninstalling old grub2
f725e3
mkdir -p /boot/grub2.tmp &&
f725e3
mv -f /boot/grub2/*.mod \
f725e3
      /boot/grub2/*.img \
f725e3
      /boot/grub2/*.lst \
f725e3
      /boot/grub2/device.map \
f725e3
      /boot/grub2.tmp/ || :
f725e3
f725e3
%triggerpostun -- grub2 < 1:1.99-4
f725e3
# ... and restore the files.
f725e3
test ! -f /boot/grub2/device.map &&
f725e3
test -d /boot/grub2.tmp &&
f725e3
mv -f /boot/grub2.tmp/*.mod \
f725e3
      /boot/grub2.tmp/*.img \
f725e3
      /boot/grub2.tmp/*.lst \
f725e3
      /boot/grub2.tmp/device.map \
f725e3
      /boot/grub2/ &&
f725e3
rm -r /boot/grub2.tmp/ || :
f725e3
f725e3
%preun tools
f725e3
if [ "$1" = 0 ]; then
f725e3
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
f725e3
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
f725e3
fi
f725e3
f725e3
%files
f725e3
%ifnarch x86_64 %{ix86}
f725e3
%exclude %{_bindir}/%{name}-render-label
f725e3
%exclude %{_sbindir}/%{name}-bios-setup
f725e3
%exclude %{_sbindir}/%{name}-macbless
f725e3
%endif
f725e3
%ifnarch x86_64
f725e3
%exclude /boot/grub2/grubenv
f725e3
%exclude /boot/efi/EFI/*/grubenv
f725e3
%exclude %{_datadir}/locale
f725e3
%endif
f725e3
f725e3
%ifarch x86_64
f725e3
%files common -f grub.lang
f725e3
%dir %{_libdir}/grub/
f725e3
%dir %{_datarootdir}/grub/
f725e3
%dir %{_datarootdir}/grub/themes/
f725e3
%exclude %{_datarootdir}/grub/themes/*
f725e3
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
f725e3
%dir %{_datarootdir}/grub
f725e3
%exclude %{_datarootdir}/grub/*
f725e3
%dir /boot/%{name}
f725e3
%dir /boot/%{name}/themes/
f725e3
%dir /boot/%{name}/themes/system
f725e3
%exclude /boot/%{name}/themes/system/*
f725e3
%attr(0700,root,root) %dir /boot/grub2
f725e3
%exclude /boot/grub2/*
f725e3
%dir %attr(0700,root,root)/boot/efi/EFI/%{efidir}
f725e3
%exclude /boot/efi/EFI/%{efidir}/*
f725e3
%license %{common_srcdir}/COPYING
f725e3
%ghost %config(noreplace) /boot/grub2/grubenv
f725e3
%doc %{common_srcdir}/INSTALL
f725e3
%doc %{common_srcdir}/NEWS
f725e3
%doc %{common_srcdir}/README
f725e3
%doc %{common_srcdir}/THANKS
f725e3
%doc %{common_srcdir}/TODO
f725e3
%doc %{common_srcdir}/docs/grub.html
f725e3
%doc %{common_srcdir}/docs/grub-dev.html
f725e3
%doc %{common_srcdir}/docs/font_char_metrics.png
f725e3
%endif
f725e3
f725e3
%files tools-minimal
f725e3
%defattr(-,root,root,-)
f725e3
%{_sysconfdir}/prelink.conf.d/grub2.conf
f725e3
%{_sbindir}/%{name}-get-kernel-settings
f725e3
%{_sbindir}/%{name}-set-default
f725e3
%{_sbindir}/%{name}-setpassword
f725e3
%{_bindir}/%{name}-editenv
f725e3
%{_bindir}/%{name}-mkpasswd-pbkdf2
f725e3
f725e3
%{_datadir}/man/man3/%{name}-get-kernel-settings*
f725e3
%{_datadir}/man/man8/%{name}-set-default*
f725e3
%{_datadir}/man/man8/%{name}-setpassword*
f725e3
%{_datadir}/man/man1/%{name}-editenv*
f725e3
%{_datadir}/man/man1/%{name}-mkpasswd-*
f725e3
f725e3
%files tools
f725e3
%defattr(-,root,root,-)
f725e3
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
f725e3
%config %{_sysconfdir}/grub.d/??_*
f725e3
%{_sysconfdir}/grub.d/README
f725e3
%{_infodir}/%{name}*
f725e3
%{_datarootdir}/grub/*
f725e3
%exclude %{_datarootdir}/grub/themes
f725e3
%exclude %{_datarootdir}/grub/*.h
f725e3
%{_datarootdir}/bash-completion/completions/grub
f725e3
%{_sbindir}/%{name}-install
f725e3
%{_sbindir}/%{name}-mkconfig
f725e3
%{_sbindir}/%{name}-probe
f725e3
%{_sbindir}/%{name}-rpm-sort
f725e3
%{_sbindir}/%{name}-reboot
f725e3
%{_bindir}/%{name}-file
f725e3
%{_bindir}/%{name}-menulst2cfg
f725e3
%{_bindir}/%{name}-mkrelpath
f725e3
%{_bindir}/%{name}-script-check
f725e3
%{_datadir}/man/man?/*
f725e3
f725e3
# exclude man pages from tools-extra
f725e3
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
f725e3
%exclude %{_datadir}/man/man8/%{name}-install*
f725e3
%exclude %{_datadir}/man/man1/%{name}-fstest*
f725e3
%exclude %{_datadir}/man/man1/%{name}-glue-efi*
f725e3
%exclude %{_datadir}/man/man1/%{name}-kbdcomp*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mkfont*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mkimage*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mklayout*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mknetdir*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mkrescue*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mkstandalone*
f725e3
%exclude %{_datadir}/man/man1/%{name}-syslinux2cfg*
f725e3
f725e3
# exclude man pages from tools-minimal
f725e3
%exclude %{_datadir}/man/man3/%{name}-get-kernel-settings*
f725e3
%exclude %{_datadir}/man/man8/%{name}-set-default*
f725e3
%exclude %{_datadir}/man/man8/%{name}-setpassword*
f725e3
%exclude %{_datadir}/man/man1/%{name}-editenv*
f725e3
%exclude %{_datadir}/man/man1/%{name}-mkpasswd-*
f725e3
f725e3
%ifarch x86_64 %{?ix86}
f725e3
%{_sbindir}/%{name}-macbless
f725e3
%{_bindir}/%{name}-render-label
f725e3
%{_datadir}/man/man8/%{name}-macbless*
f725e3
%{_datadir}/man/man1/%{name}-render-label*
f725e3
%else
f725e3
%exclude %{_sbindir}/%{name}-macbless
f725e3
%exclude %{_bindir}/%{name}-render-label
f725e3
%exclude %{_datadir}/man/man8/%{name}-macbless*
f725e3
%exclude %{_datadir}/man/man1/%{name}-render-label*
f725e3
%endif
f725e3
f725e3
%if %{with_legacy_utils}
f725e3
%{_sbindir}/%{name}-install
f725e3
%ifarch %{ix86} x86_64
f725e3
%{_sbindir}/%{name}-bios-setup
f725e3
%else
f725e3
%exclude %{_sbindir}/%{name}-bios-setup
f725e3
%exclude %{_datadir}/man/man8/%{name}-bios-setup*
f725e3
%endif
f725e3
%ifarch %{sparc}
f725e3
%{_sbindir}/%{name}-sparc64-setup
f725e3
%else
f725e3
%exclude %{_sbindir}/%{name}-sparc64-setup
f725e3
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
f725e3
%endif
f725e3
%ifarch %{sparc} ppc ppc64 ppc64le
f725e3
%{_sbindir}/%{name}-ofpathname
f725e3
%else
f725e3
%exclude %{_sbindir}/%{name}-ofpathname
f725e3
%exclude %{_datadir}/man/man8/%{name}-ofpathname*
f725e3
%endif
f725e3
%endif
f725e3
f725e3
%files tools-extra
f725e3
%{_sbindir}/%{name}-sparc64-setup
f725e3
%{_sbindir}/%{name}-ofpathname
f725e3
%{_bindir}/%{name}-fstest
f725e3
%{_bindir}/%{name}-glue-efi
f725e3
%{_bindir}/%{name}-kbdcomp
f725e3
%{_bindir}/%{name}-mkfont
f725e3
%{_bindir}/%{name}-mkimage
f725e3
%{_bindir}/%{name}-mklayout
f725e3
%{_bindir}/%{name}-mknetdir
f725e3
%ifnarch %{sparc}
f725e3
%{_bindir}/%{name}-mkrescue
f725e3
%endif
f725e3
%{_bindir}/%{name}-mkstandalone
f725e3
%{_bindir}/%{name}-syslinux2cfg
f725e3
%{_sysconfdir}/sysconfig/grub
f725e3
%{_datadir}/man/man8/%{name}-sparc64-setup*
f725e3
%{_datadir}/man/man8/%{name}-install*
f725e3
%{_datadir}/man/man1/%{name}-fstest*
f725e3
%{_datadir}/man/man1/%{name}-glue-efi*
f725e3
%{_datadir}/man/man1/%{name}-kbdcomp*
f725e3
%{_datadir}/man/man1/%{name}-mkfont*
f725e3
%{_datadir}/man/man1/%{name}-mkimage*
f725e3
%{_datadir}/man/man1/%{name}-mklayout*
f725e3
%{_datadir}/man/man1/%{name}-mknetdir*
f725e3
%{_datadir}/man/man1/%{name}-mkrescue*
f725e3
%{_datadir}/man/man1/%{name}-mkstandalone*
f725e3
%{_datadir}/man/man8/%{name}-ofpathname*
f725e3
%{_datadir}/man/man1/%{name}-syslinux2cfg*
f725e3
%exclude %{_datarootdir}/grub/themes/starfield
f725e3
f725e3
%if 0%{with_efi_arch}
f725e3
%define_efi_variant_files %{package_arch} %{grubefiname} %{grubeficdname} %{grubefiarch} %{target_cpu_name} %{grub_target_name}
f725e3
%endif
f725e3
%if 0%{with_alt_efi_arch}
f725e3
%define_efi_variant_files %{alt_package_arch} %{grubaltefiname} %{grubalteficdname} %{grubaltefiarch} %{alt_target_cpu_name} %{alt_grub_target_name}
f725e3
%endif
f725e3
%if 0%{with_legacy_arch}
f725e3
%define_legacy_variant_files %{legacy_package_arch} %{grublegacyarch}
f725e3
%else
f725e3
%if 0%{with_legacy_utils}
f725e3
%exclude %{_sysconfdir}/%{name}.cfg
f725e3
%exclude %{_libdir}/grub/%{grublegacyarch}/*
f725e3
%exclude %{_libdir}/grub/%{grublegacyarch}/
f725e3
%endif
f725e3
%endif
f725e3
f725e3
%changelog
66d204
* Tue Oct 30 2018 CentOS Sources <bugs@centos.org> - 2.02-0.76.el7.centos
66d204
- Roll in CentOS Secureboot keys
66d204
- Move the edidir to be CentOS, so people can co-install fedora, rhel and centos
66d204
f725e3
* Mon Jul 30 2018 pjones <pjones@redhat.com> - 2.02.0.76
f725e3
- Fix PCIe probing in EFI UGA driver.
f725e3
  Resolves: rhbz#1583708
f725e3
f725e3
* Wed Jul 18 2018 Peter Jones <pjones@redhat.com> - 2.02-0.74
f725e3
- Fix symlink issues with grubenv
f725e3
  Resolves: rhbz#1602773
f725e3
  Related: rhbz#1497918
f725e3
- Make the common subpackage only build on x86_64 to avoid timestamp
f725e3
  mismatches.
f725e3
  Related: rhbz#1602773
f725e3
  Related: rhbz#1497918
f725e3
f725e3
* Fri Jun 29 2018 Peter Jones <pjones@redhat.com> - 2.02-0.73
f725e3
- Fix loading grub modules with no symbols defined.
f725e3
  Related: rhbz#1490981
f725e3
f725e3
* Thu Jun 28 2018 Peter Jones <pjones@redhat.com> - 2.02-0.72
f725e3
- Revert module dir fix; it still doesn't work.
f725e3
  Resolves: rhbz#1594703
f725e3
f725e3
* Mon Jun 25 2018 Peter Jones <pjones@redhat.com> - 2.02-0.71
f725e3
- The change from 2.02-0.65.el7_4.2 never made it onto the main branch,
f725e3
  so one more build to avoid the regression.
f725e3
  Related: rhbz#1340893
f725e3
f725e3
* Mon Jun 25 2018 Peter Jones <pjones@redhat.com> 2.02-0.70
f725e3
- ... and once more, because I built for the wrong target.
f725e3
  Related: rhbz#1340893
f725e3
f725e3
* Mon Jun 25 2018 Peter Jones <pjones@redhat.com> - 2.02-0.69
f725e3
- Build utilities on i686 as well, so grubby can build-dep it there.
f725e3
  Related: rhbz#1340893
f725e3
f725e3
* Fri Jun 22 2018 Peter Jones <pjones@redhat.com> - 2.02-0.68
f725e3
- More work on /boot/efi/... permissions
f725e3
  Resolves: rhbz#1496952
f725e3
- Rework grubenv symlinks and handle them on upgrades
f725e3
  Resolves: rhbz#1497918
f725e3
- Make grub2-setpassword -o work
f725e3
  Resolves: rhbz#1512749
f725e3
f725e3
* Thu Jun 21 2018 Peter Jones <pjones@redhat.com> - 2.02-0.67
f725e3
- Make the permissions on /boot/efi/... match the filesystem's requirements.
f725e3
  Resolves: rhbz#1496952
f725e3
f725e3
* Thu Jun 21 2018 Peter Jones <pjones@redhat.com> - 2.02-0.66
f725e3
- Fix EFI UGA driver when the framebuffer is above 4G
f725e3
  Resolves: rhbz#1457988
f725e3
- Handle XFS filesystems with sparse inodes
f725e3
  Resolves: rhbz#1402716
f725e3
- Support HTTP booting
f725e3
  Resolves: rhbz#1490981
f725e3
f725e3
* Mon Oct 09 2017 Peter Jones <pjones@redhat.com> - 2.02-0.65.el7_4.2
f725e3
- Fix an incorrect man page exclusion on x86_64.
f725e3
f725e3
* Fri Oct 06 2017 Peter Jones <pjones@redhat.com> - 2.02-0.65.1
f725e3
- More precise requires and obsoletes on the -tools* subpackages to avoid
f725e3
  issues with mixing and matching repos the subpackages are split between.
f725e3
f725e3
* Fri Sep 22 2017 Peter Jones <pjones@redhat.com> - 2.02-0.65
f725e3
- Fix spurious : at the end of the mac address netboot paths.
f725e3
  Resolves: rhbz#1483740
f725e3
f725e3
* Wed May 31 2017 Peter Jones <pjones@redhat.com> - 2.02-0.64
f725e3
- Revert pkglibdir usage; we have to coordinate this with Lorax.
f725e3
  Related: rhbz#1455243
f725e3
f725e3
* Tue May 30 2017 pjones <pjones@redhat.com> - 2.02-0.63
f725e3
- Fix grub2-mkimage on ppc* to *also* deal with pkglibdir changing.
f725e3
  Related: rhbz#1455243
f725e3
f725e3
* Tue May 30 2017 Peter Jones <pjones@redhat.com> - 2.02-0.62
f725e3
- Fix grub2-mkimage on ppc* to *also* deal with pkglibdir changing.
f725e3
  Related: rhbz#1455243
f725e3
f725e3
* Wed May 24 2017 Peter Jones <pjones@redhat.com> - 2.02-0.61
f725e3
- Fix some minor ia32 booting bugs
f725e3
  Related: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
  Related: rhbz#1300009
f725e3
- Add support for non-Ethernet network cards
f725e3
  Related: rhbz#1232432
f725e3
- Add support for http booting
f725e3
  Resolves: rhbz#1232432
f725e3
- Fix efi module subpackage obsoletes/provides
f725e3
  Resolves: rhbz#1447723
f725e3
- Make ppc modules subpackages use different directories on the filesystem.
f725e3
  Resolves: rhbz#1455243
f725e3
f725e3
* Thu Apr 20 2017 Peter Jones <pjones@redhat.com> - 2.02-0.60
f725e3
- Fix ppc64 deciding /boot/efi might somehow be the CHRP partition if it
f725e3
  exists.  This is also why the bug we fixed in 0.59 showed up at all.
f725e3
  Resolves: rhbz#1443809
f725e3
  Resolves: rhbz#1442970
f725e3
- Fix a regexp problem where rpm spec parser un-escapes things that
f725e3
  don't need escaping, which causes our s/-mcpu=power8/-mcpu=power6/
f725e3
  to fail.
f725e3
  Related: rhbz#1443809
f725e3
f725e3
* Wed Apr 19 2017 Peter Jones <pjones@redhat.com> - 2.02-0.59
f725e3
- Fix ppc64 "grub2.chrp" to be "grub.chrp" harder
f725e3
  Resolves: rhbz#1442970
f725e3
f725e3
* Wed Apr 19 2017 Peter Jones <pjones@redhat.com> - 2.02-0.58
f725e3
- Add Aarch64 FDT #address-cells and #size-cells support
f725e3
  Resolves: rhbz#1436745
f725e3
- Fix ppc64 "grub2.chrp" to be "grub.chrp"
f725e3
  Resolves: rhbz#1442970
f725e3
f725e3
* Wed Apr 12 2017 Peter Jones <pjones@redhat.com> - 2.02-0.57
f725e3
- Make "grub2" require the grub2-efi-... package on arches where there's no
f725e3
  legacy build.
f725e3
  Related: rhbz#1440787
f725e3
f725e3
* Tue Apr 11 2017 Peter Jones <pjones@redhat.com> - 2.02-0.56
f725e3
- Rebuild in the right build root.
f725e3
  Related: rhbz#1437450
f725e3
f725e3
* Tue Apr 11 2017 Peter Jones <pjones@redhat.com> - 2.02-0.55
f725e3
- Make a "grub2" top-level package to help solve Jira RCM-14929.
f725e3
  Related: rhbz#1437450
f725e3
f725e3
* Mon Apr 10 2017 Peter Jones <pjones@redhat.com> - 2.02-0.54
f725e3
- Make grub2-pc, grub2-ppc64le, etc, also have an Obsoletes for the old grub2
f725e3
  packages.  Hoping this will solve Jira RCM-14929.
f725e3
  Related: rhbz#1437450
f725e3
f725e3
* Thu Mar 30 2017 Peter Jones <pjones@redhat.com> - 2.02-0.53
f725e3
- Don't manually put an arch in a requires.
f725e3
  The automatically generated provides won't have it, and all of the
f725e3
  tools display the packages as if it were there, so you can't ever see
f725e3
  that they never match up. Meanwhile the auto generator *will* add
f725e3
  $name($arch)=$evr provides, which aren't quite the same.  We probably
f725e3
  don't need it anyway.  Maybe.
f725e3
  Resolves: rhbz#1437450
f725e3
f725e3
* Thu Mar 30 2017 Peter Jones <pjones@redhat.com> - 2.02-0.52
f725e3
- Fix our debuginfo filter to not accidentally discard the stripped versions of
f725e3
  userland binaries.
f725e3
  Related: rhbz#1310763
f725e3
f725e3
* Tue Mar 28 2017 Peter Jones <pjones@redhat.com> - 2.02-0.51
f725e3
- Also be sure to pull in grub2-tools-extras for now, to make upgrades work.
f725e3
  Related: rhbz#1310763
f725e3
f725e3
* Tue Mar 28 2017 Peter Jones <pjones@redhat.com> - 2.02-0.50
f725e3
- Fix where the grub2-ofpathname man page lands
f725e3
  Related: rhbz#1310763
f725e3
- Fix stripping of userland binaries
f725e3
  Related: rhbz#1310763
f725e3
f725e3
* Tue Mar 21 2017 Peter Jones <pjones@redhat.com> - 2.02-0.49
f725e3
- Include unicode.pf2 in the grub-efi-ARCH-cdboot images
f725e3
  Related: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
  Related: rhbz#1300009
f725e3
f725e3
* Tue Mar 21 2017 Peter Jones <pjones@redhat.com> - 2.02-0.48
f725e3
- grub2-efi-* don't actually need to require grub2-tools-efi (i.e. the mac
f725e3
  tools), anaconda and lorax can know how to do that.
f725e3
  Related: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
  Related: rhbz#1300009
f725e3
f725e3
* Mon Mar 20 2017 Peter Jones <pjones@redhat.com> - 2.02-0.47
f725e3
- Fix ia32 booting.
f725e3
  Related: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
  Related: rhbz#1300009
f725e3
f725e3
* Fri Mar 17 2017 Peter Jones <pjones@redhat.com> - 2.02-0.46
f725e3
- Fix ppc* package names.
f725e3
  Related: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
  Related: rhbz#1300009
f725e3
f725e3
* Wed Mar 15 2017 Peter Jones <pjones@redhat.com> - 2.02-0.45
f725e3
- Rework package to make multi-arch EFI easier.
f725e3
  Resolves: rhbz#1310763
f725e3
  Related: rhbz#1411748
f725e3
- Honor IO alignment on EFI systems
f725e3
  Resolves: rhbz#1300009
f725e3
f725e3
* Mon Aug 29 2016 Peter Jones <pjones@redhat.com> - 2.02-0.44
f725e3
- Work around tftp servers that don't work with multiple consecutive slashes in
f725e3
  file paths.
f725e3
  Resolves: rhbz#1217243
f725e3
f725e3
* Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.42
f725e3
- Make grub2-mkconfig export grub2-get-kernel-settings variables correctly.
f725e3
  Related: rhbz#1226325
f725e3
f725e3
* Tue Aug 23 2016 Peter Jones <pjones@redhat.com> - 2.02-0.42
f725e3
- Rebuild in the right build root.  Again.
f725e3
  Related: rhbz#1273974
f725e3
f725e3
* Wed Jul 13 2016 Peter Jones <pjones@redhat.com> - 2.02-0.41
f725e3
- Build with coverity patch I missed last time.
f725e3
  Related: rhbz#1226325
f725e3
f725e3
* Wed Jul 13 2016 rmarshall@redhat.com - 2.02-0.40
f725e3
- Build with coverity patches.
f725e3
  Related: rhbz#1226325
f725e3
f725e3
* Wed Jul 13 2016 Peter Jones <pjones@redhat.com>
f725e3
- Remove our patch to force a paricular uefi network interface
f725e3
  Related: rhbz#1273974
f725e3
  Related: rhbz#1277599
f725e3
  Related: rhbz#1298765
f725e3
- Update some more coverity issues
f725e3
  Related: rhbz#1226325
f725e3
  Related: rhbz#1154226
f725e3
f725e3
* Mon Jul 11 2016 rmarshall@redhat.com - 2.02-0.39
f725e3
- Fix all issues discovered during coverity scan. 
f725e3
  Related: rhbz#1154226
f725e3
- Fix a couple compiler and CLANG issues discovered during coverity scan.
f725e3
  Related: rhbz#1154226
f725e3
- Fix the last few CLANG issues and a deadcode issue discovered by the
f725e3
  coverity scan.
f725e3
  Related: rhbz#1154226
f725e3
f725e3
* Fri Jul 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
f725e3
- Pick the right build target.  Again.
f725e3
  Related: rhbz#1226325
f725e3
f725e3
* Tue Jun 21 2016 rmarshall@redhat.com - 2.02-0.37
f725e3
- Update fix for rhbz#1212114 to reflect the move to handling this case
f725e3
  in anaconda.
f725e3
  Related: rhbz#1315468
f725e3
  Resolves: rhbz#1261926
f725e3
- Add grub2-get-kernel-settings to allow grub2-mkconfig to take grubby
f725e3
  configuration changes into account.
f725e3
  Resolves: rhbz#1226325
f725e3
f725e3
* Fri Jun 17 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
f725e3
- Better support for EFI network booting with dhcpv6.
f725e3
  Resolves: rhbz#1154226
f725e3
- Back out a duplicate change resulting in some EFI network firmware drivers
f725e3
  not working properly.
f725e3
  Related: rhbz#1273974
f725e3
  Related: rhbz#1277599
f725e3
  Related: rhbz#1298765
f725e3
f725e3
* Mon Jun 06 2016 Peter Jones <pjones@redhat.com> - 2.02-0.35
f725e3
- Don't use legacy methods to make device node variables.
f725e3
  Resolves: rhbz#1279599
f725e3
- Don't pad initramfs with zeros
f725e3
  Resolves: rhbz#1219864
f725e3
f725e3
* Thu Apr 28 2016 rmarshall@redhat.com 2.02-0.34
f725e3
- Exit grub-mkconfig with a proper code when the new configuration would be
f725e3
  invalid.
f725e3
  Resolves: rhbz#1252311
f725e3
- Warn users if grub-mkconfig needs to be run to add support for GRUB
f725e3
  passwords.
f725e3
  Resolves: rhbz#1290803
f725e3
- Fix the information in the --help and man pages for grub-setpassword
f725e3
  Resolves: rhbz#1290799
f725e3
- Fix issue where shell substitution expected non-translated output when
f725e3
  setting a bootloader password.
f725e3
  Resolves: rhbz#1294243
f725e3
- Fix an issue causing memory regions with unknown types to be marked available
f725e3
  through a series of backports from upstream.
f725e3
  Resolves: rhbz#1288608
f725e3
f725e3
* Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.33
f725e3
- Don't remove 01_users, it's the wrong thing to do.
f725e3
  Related: rhbz#1284370
f725e3
f725e3
* Wed Dec 09 2015 Peter Jones <pjones@redhat.com> - 2.02-0.32
f725e3
- Rebuild for .z so the release number is different.
f725e3
  Related: rhbz#1284370
f725e3
f725e3
* Wed Dec 09 2015 Peter Jones <pjones@redhat.com> - 2.02-0.31
f725e3
- More work on handling of GRUB2_PASSWORD
f725e3
  Resolves: rhbz#1284370
f725e3
f725e3
* Tue Dec 08 2015 Peter Jones <pjones@redhat.com> - 2.02-0.30
f725e3
- Fix security issue when reading username and password
f725e3
  Resolves: CVE-2015-8370
f725e3
- Do a better job of handling GRUB_PASSWORD
f725e3
  Resolves: rhbz#1284370
f725e3
f725e3
* Fri Oct 09 2015 Peter Jones <pjones@redhat.com> - 2.02-0.29
f725e3
- Fix DHCP6 timeouts due to failed network stack once more.
f725e3
  Resolves: rhbz#1267139
f725e3
f725e3
* Thu Sep 17 2015 Peter Jones <pjones@redhat.com> - 2.02-0.28
f725e3
- Once again, rebuild for the right build target.
f725e3
  Resolves: CVE-2015-5281
f725e3
f725e3
* Thu Sep 17 2015 Peter Jones <pjones@redhat.com> - 2.02-0.27
f725e3
- Remove multiboot and multiboot2 modules from the .efi builds; they
f725e3
  should never have been there.
f725e3
  Resolves: CVE-2015-5281
f725e3
f725e3
* Mon Sep 14 2015 Peter Jones <pjones@redhat.com> - 2.02-0.26
f725e3
- Be more aggressive about trying to make sure we use the configured SNP
f725e3
  device in UEFI.
f725e3
  Resolves: rhbz#1257475
f725e3
f725e3
* Wed Aug 05 2015 Robert Marshall <rmarshall@redhat.com> - 2.02-0.25
f725e3
- Force file sync to disk on ppc64le machines.
f725e3
  Resolves: rhbz#1212114
f725e3
f725e3
* Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
f725e3
- Undo 0.23 and fix it a different way.
f725e3
  Resolves: rhbz#1124074
f725e3
f725e3
* Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.23
f725e3
- Reverse kernel sort order so they're displayed correctly.
f725e3
  Resolves: rhbz#1124074
f725e3
f725e3
* Wed Jul 08 2015 Peter Jones <pjones@redhat.com> - 2.02-0.22
f725e3
- Make upgrades work reasonably well with grub2-setpassword .
f725e3
  Related: rhbz#985962
f725e3
f725e3
* Tue Jul 07 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
f725e3
- Add a simpler grub2 password config tool
f725e3
  Related: rhbz#985962
f725e3
- Some more coverity nits.
f725e3
f725e3
* Mon Jul 06 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
f725e3
- Deal with some coverity nits.
f725e3
  Related: rhbz#1215839
f725e3
  Related: rhbz#1124074
f725e3
f725e3
* Mon Jul 06 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
f725e3
- Rebuild for Aarch64
f725e3
- Deal with some coverity nits.
f725e3
  Related: rhbz#1215839
f725e3
  Related: rhbz#1124074
f725e3
f725e3
* Thu Jul 02 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
f725e3
- Update for an rpmdiff problem with one of the man pages.
f725e3
  Related: rhbz#1124074
f725e3
f725e3
* Tue Jun 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
f725e3
- Handle ipv6 better
f725e3
  Resolves: rhbz#1154226
f725e3
- On UEFI, use SIMPLE_NETWORK_PROTOCOL when we can.
f725e3
  Resolves: rhbz#1233378
f725e3
- Handle rssd disk drives in grub2 utilities.
f725e3
  Resolves: rhbz#1087962
f725e3
- Handle xfs CRC disk format.
f725e3
  Resolves: rhbz#1001279
f725e3
- Calibrate TCS using the EFI Stall service
f725e3
  Resolves: rhbz#1150698
f725e3
- Fix built-in gpg verification when using TFTP
f725e3
  Resolves: rhbz#1167977
f725e3
- Generate better stanza titles so grubby can find them easier.
f725e3
  Resolves: rhbz#1177003
f725e3
- Don't strip the fw_path variable twice when we're using EFI networking.
f725e3
  Resolves: rhbz#1211101
f725e3
f725e3
* Mon May 11 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
f725e3
- Document network boot paths better
f725e3
  Resolves: rhbz#1148650
f725e3
- Use an rpm-based version sorted in grub2-mkconfig
f725e3
  Resolves: rhbz#1124074
f725e3
f725e3
* Thu Oct 09 2014 Peter Jones <pjones@redhat.com> - 2.02-0.16
f725e3
- ... and build it on the right target.
f725e3
  Related: rhbz#1148652
f725e3
f725e3
* Thu Oct 09 2014 Peter Jones <pjones@redhat.com> - 2.02-0.15
f725e3
- Make netbooting do a better job of picking the config path *again*.
f725e3
  Resolves: rhbz#1148652
f725e3
f725e3
* Sat Oct 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.14
f725e3
- Be sure to *install* gcdaa64.efi
f725e3
  Related: rhbz#1100048
f725e3
f725e3
* Fri Sep 26 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
f725e3
- Make sure to build a gcdaa64.efi
f725e3
  Related: rhbz#1100048
f725e3
f725e3
* Tue Sep 23 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
f725e3
- Fix minor problems rpmdiff found.
f725e3
  Related: rhbz#1125540
f725e3
f725e3
* Mon Sep 22 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
f725e3
- Fix grub2 segfault when root isn't set.
f725e3
  Resolves: rhbz#1084536
f725e3
- Make the aarch64 loader be SB-aware.
f725e3
  Related: rhbz#1100048
f725e3
- Enable regexp module
f725e3
  Resolves: rhbz#1125916
f725e3
f725e3
* Thu Sep 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
f725e3
- Make editenv utilities (grub2-editenv, grub2-set-default, etc.) from
f725e3
  non-UEFI builds work with UEFI builds as well, since they're shared
f725e3
  from grub2-tools.
f725e3
  Resolves: rhbz#1119943
f725e3
- Make more grub2-mkconfig generate menu entries with the OS name and version
f725e3
  included.
f725e3
  Resolves: rhbz#996794
f725e3
- Minimize the sort ordering for .debug and -rescue- kernels.
f725e3
  Resolves: rhbz#1065360
f725e3
- Add GRUB_DISABLE_UUID to disable filesystem searching by UUID.
f725e3
  Resolves: rhbz#1027833
f725e3
- Allow "fallback" to specify titles like the documentation says
f725e3
  Resolves: rhbz#1026084
f725e3
f725e3
* Wed Aug 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9.1
f725e3
- A couple of patches for aarch64 got missed.
f725e3
  Related: rhbz#967937
f725e3
f725e3
* Wed Aug 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
f725e3
- Once again, I have built with the wrong target.
f725e3
  Related: rhbz#1125540
f725e3
  Resolves: rhbz#967937
f725e3
f725e3
* Fri Aug 22 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
f725e3
- Add patches for ppc64le
f725e3
  Related: rhbz#1125540
f725e3
f725e3
* Thu Mar 20 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.10
f725e3
- Fix GRUB_DISABLE_SUBMENU one more time.
f725e3
  Resolves: rhbz#1063414
f725e3
f725e3
* Tue Mar 18 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.9
f725e3
- Not sure why the right build target wasn't used *again*.
f725e3
  Resolves: rhbz#1073337
f725e3
f725e3
* Wed Mar 12 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.8
f725e3
- Make GRUB_DISABLE_SUBMENU work again.
f725e3
  Resolves: rhbz#1063414
f725e3
f725e3
* Thu Mar 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.7
f725e3
- Build on the right target.
f725e3
  Resolves: rhbz#1073337
f725e3
f725e3
* Wed Mar 05 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.6
f725e3
- Fix minor man page install bug
f725e3
  Related: rhbz#948847
f725e3
f725e3
* Tue Mar 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.5
f725e3
- Add man pages for common grub utilities.
f725e3
  Resolves: rhbz#948847
f725e3
- Fix shift key behavior on UEFI.
f725e3
  Resolves: rhbz#1068215
f725e3
f725e3
* Tue Feb 18 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.4
f725e3
- Build against the right target.
f725e3
  Related: rhbz#1064424
f725e3
f725e3
* Tue Feb 18 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.3
f725e3
- Don't emit "Booting <foo>" message.
f725e3
  Resolves: rhbz#1023142
f725e3
- Don't require a password for booting, only for editing entries.
f725e3
  Resolves: rhbz#1030176
f725e3
- Several network fixes from IBM
f725e3
  Resolves: rhbz#1056324
f725e3
- Support NVMe device names
f725e3
  Resolves: rhbz#1019660
f725e3
- Make control keys work on UEFI systems.
f725e3
  Resolves: rhbz#1056035
f725e3
f725e3
* Fri Jan 31 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.2
f725e3
- Fix FORTIFY_SOURCE for util/
f725e3
  Related: rhbz#1049047
f725e3
f725e3
* Tue Jan 21 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2.1
f725e3
- Don't destroy symlinks when re-writing grub.cfg
f725e3
  Resolves: rhbz#1032182
f725e3
f725e3
* Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
f725e3
- Update to grub-2.02~beta2
f725e3
f725e3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:2.00-23
f725e3
- Mass rebuild 2013-12-27
f725e3
f725e3
* Wed Nov 20 2013 Peter Jones <pjones@redhat.com> - 2.00-22.10
f725e3
- Rebuild with correct release number and with correct target.
f725e3
  Related: rhbz#1032530
f725e3
f725e3
* Wed Nov 20 2013 Daniel Mach <dmach@redhat.com> - 2.00-22.9.1
f725e3
- Enable tftp module
f725e3
  Resolves: rhbz#1032530
f725e3
f725e3
* Thu Nov 14 2013 Peter Jones <pjones@redhat.com> - 2.00-22.9
f725e3
- Make "linux16" happen on x86_64 machines as well.
f725e3
  Resolves: rhbz#880840
f725e3
f725e3
* Wed Nov 06 2013 Peter Jones <pjones@redhat.com> - 2.00-22.8
f725e3
- Rebuild with correct build target for signing.
f725e3
  Related: rhbz#996863
f725e3
f725e3
* Tue Nov 05 2013 Peter Jones <pjones@redhat.com> - 2.00-22.7
f725e3
- Build with -mcpu=power6 as we did before redhat-rpm-config changed
f725e3
  Resolves: rhbz#1026368
f725e3
f725e3
* Thu Oct 31 2013 Peter Jones <pjones@redhat.com> - 2.00-22.6
f725e3
- Make linux16 work with the shell better.
f725e3
  Resolves: rhbz#880840
f725e3
f725e3
* Thu Oct 31 2013 Peter Jones <pjones@redhat.com> - 2.00-22.5
f725e3
- Rebuild because we were clobbering signing in the spec file...
f725e3
  Related: rhbz#1017855
f725e3
f725e3
* Thu Oct 31 2013 Peter Jones <pjones@redhat.com> - 2.00-22.4
f725e3
- Rebuild because signing didn't work.
f725e3
  Related: rhbz#1017855
f725e3
f725e3
* Mon Oct 28 2013 Peter Jones <pjones@redhat.com> - 2.00-22.3
f725e3
- Use linux16 when appropriate:
f725e3
  Resolves: rhbz#880840
f725e3
- Enable pager by default:
f725e3
  Resolves: rhbz#985860
f725e3
- Don't ask the user to hit keys that won't work.
f725e3
  Resolves: rhbz#987443
f725e3
- Sign grub2 during builds
f725e3
  Resolves: rhbz#1017855
f725e3
f725e3
* Thu Aug 29 2013 Peter Jones <pjones@redhat.com> - 2.00-22.2
f725e3
- Fix minor rpmdiff complaints.
f725e3
f725e3
* Wed Aug 07 2013 Peter Jones <pjones@redhat.com> - 2.00-22.1
f725e3
- Fix url so PkgWrangler doesn't go crazy.
f725e3
f725e3
* Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
f725e3
- Fix linewrapping in edit menu.
f725e3
  Resolves: rhbz #976643
f725e3
f725e3
* Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
f725e3
- Fix obsoletes to pull in -starfield-theme subpackage when it should.
f725e3
f725e3
* Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
f725e3
- Put the theme entirely ento the subpackage where it belongs (#974667)
f725e3
f725e3
* Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
f725e3
- Rebase to upstream snapshot.
f725e3
- Fix PPC build error (#967862)
f725e3
- Fix crash on net_bootp command (#960624)
f725e3
- Reset colors on ppc when appropriate (#908519)
f725e3
- Left align "Loading..." messages (#908492)
f725e3
- Fix probing of SAS disks on PPC (#953954)
f725e3
- Add support for UEFI OSes returned by os-prober
f725e3
- Disable "video" mode on PPC for now (#973205)
f725e3
- Make grub fit better into the boot sequence, visually (#966719)
f725e3
f725e3
* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
f725e3
- Move the starfield theme to a subpackage (#962004)
f725e3
- Don't allow SSE or MMX on UEFI builds (#949761)
f725e3
f725e3
* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
f725e3
- Rebase to upstream snapshot.
f725e3
f725e3
* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
f725e3
- Fix booting from drives with 4k sectors on UEFI.
f725e3
- Move bash completion to new location (#922997)
f725e3
- Include lvm support for /boot (#906203)
f725e3
f725e3
* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
f725e3
- Allow the user to disable submenu generation
f725e3
- (partially) support BLS-style configuration stanzas.
f725e3
f725e3
* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
f725e3
- Add various config file related changes.
f725e3
f725e3
* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
f725e3
- bump nvr
f725e3
f725e3
* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
f725e3
- add bootpath device to the device list (pfsmorigo, #886685)
f725e3
f725e3
* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
f725e3
- Add vlan tag support (pfsmorigo, #871563)
f725e3
- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
f725e3
- Improve search paths for config files on network boot (pfsmorigo, #873406)
f725e3
f725e3
* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
f725e3
- Don't load modules when grub transitions to "normal" mode on UEFI.
f725e3
f725e3
* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
f725e3
- Rebuild with newer pesign so we'll get signed with the final signing keys.
f725e3
f725e3
* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
f725e3
- Various PPC fixes.
f725e3
- Fix crash fetching from http (gustavold, #860834)
f725e3
- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
f725e3
- Support IBM CAS reboot (pfsmorigo, #859223)
f725e3
- Include all modules in the core image on ppc (pfsmorigo, #866559)
f725e3
f725e3
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
f725e3
- Work around bug with using "\x20" in linux command line.
f725e3
  Related: rhbz#855849
f725e3
f725e3
* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
f725e3
- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
f725e3
- Increase device path size for ieee1275
f725e3
  Resolves: rhbz#857936
f725e3
- Make network booting work on ieee1275 machines.
f725e3
  Resolves: rhbz#857936
f725e3
f725e3
* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
f725e3
- Add Apple partition map support for EFI
f725e3
f725e3
* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
f725e3
- Only require pesign on EFI architectures (#851215)
f725e3
f725e3
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
f725e3
- Work around AHCI firmware bug in efidisk driver.
f725e3
- Move to newer pesign macros
f725e3
- Don't allow insmod if we're in secure-boot mode.
f725e3
f725e3
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
f725e3
- Split module lists for UEFI boot vs UEFI cd images.
f725e3
- Add raid modules for UEFI image (related: #750794)
f725e3
- Include a prelink whitelist for binaries that need execstack (#839813)
f725e3
- Include fix efi memory map fix from upstream (#839363)
f725e3
f725e3
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
f725e3
- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
f725e3
- Sign with test keys on UEFI systems.
f725e3
- PPC - Handle device paths with commas correctly.
f725e3
  Related: rhbz#828740
f725e3
f725e3
* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
f725e3
- Add some more code to support Secure Boot, and temporarily disable
f725e3
  some other bits that don't work well enough yet.
f725e3
  Resolves: rhbz#836695
f725e3
f725e3
* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
f725e3
- Set a prefix for the image - needed for installer work
f725e3
- Provide the font in the EFI directory for the same reason
f725e3
f725e3
* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
f725e3
- Rebase to grub-2.00 release.
f725e3
f725e3
* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
f725e3
- Fix double-free in grub-probe.
f725e3
f725e3
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
f725e3
- Build with patch19 applied.
f725e3
f725e3
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
f725e3
- More ppc fixes.
f725e3
f725e3
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
f725e3
- Add IBM PPC fixes.
f725e3
f725e3
* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
f725e3
- Update to beta6.
f725e3
- Various fixes from mads.
f725e3
f725e3
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
f725e3
- Revert builddep change for crt1.o; it breaks ppc build.
f725e3
f725e3
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
f725e3
- Add fwsetup command (pjones)
f725e3
- More ppc fixes (IBM)
f725e3
f725e3
* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
f725e3
- Fix the /other/ grub2-tools require to include epoch.
f725e3
f725e3
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
f725e3
- Get rid of efi_uga and efi_gop, favoring all_video instead.
f725e3
f725e3
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
f725e3
- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
f725e3
- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
f725e3
- move common stuff to -tools (kiilerix)
f725e3
- spec file cleanups (kiilerix)
f725e3
f725e3
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
f725e3
- Fix module trampolining on ppc (benh)
f725e3
f725e3
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
f725e3
- Fix license of theme (mizmo)
f725e3
  Resolves: rhbz#820713
f725e3
- Fix some PPC bootloader detection IBM problem
f725e3
  Resolves: rhbz#820722
f725e3
f725e3
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
f725e3
- Update to beta5.
f725e3
- Update how efi building works (kiilerix)
f725e3
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
f725e3
f725e3
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
f725e3
- Include theme support (mizmo)
f725e3
- Include locale support (kiilerix)
f725e3
- Include html docs (kiilerix)
f725e3
f725e3
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
f725e3
- Various fixes from Mads Kiilerich
f725e3
f725e3
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
f725e3
- Update to 2.00~beta4
f725e3
- Make fonts work so we can do graphics reasonably
f725e3
f725e3
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
f725e3
- Fix ieee1275 platform define for ppc
f725e3
f725e3
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
f725e3
- Remove ppc excludearch lines (dwa)
f725e3
- Update ppc terminfo patch (hamzy)
f725e3
f725e3
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
f725e3
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
f725e3
- Fix version number to better match policy.
f725e3
f725e3
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
f725e3
- Add support for serial terminal consoles on PPC by Mark Hamzy
f725e3
f725e3
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
f725e3
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
f725e3
f725e3
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
f725e3
- Use --with-grubdir= on configure to make it behave like -17 did.
f725e3
f725e3
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
f725e3
- Rebase from 1.99 to 2.00~beta2
f725e3
f725e3
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
f725e3
- Update for newer autotools and gcc 4.7.0
f725e3
  Related: rhbz#782144
f725e3
- Add /etc/sysconfig/grub link to /etc/default/grub
f725e3
  Resolves: rhbz#800152
f725e3
- ExcludeArch s390*, which is not supported by this package.
f725e3
  Resolves: rhbz#758333
f725e3
f725e3
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
f725e3
- Build with -Os (bug 782144)
f725e3
f725e3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
f725e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f725e3
f725e3
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
f725e3
- fix up various grub2-efi issues
f725e3
f725e3
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
f725e3
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
f725e3
f725e3
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
f725e3
- Lots of .spec fixes from Mads Kiilerich:
f725e3
  Remove comment about update-grub - it isn't run in any scriptlets
f725e3
  patch info pages so they can be installed and removed correctly when renamed
f725e3
  fix references to grub/grub2 renames in info pages (#743964)
f725e3
  update README.Fedora (#734090)
f725e3
  fix comments for the hack for upgrading from grub2 < 1.99-4
f725e3
  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
f725e3
  make /etc/grub2*.cfg %config(noreplace)
f725e3
  make grub.cfg %ghost - an empty file is of no use anyway
f725e3
  create /etc/default/grub more like anaconda would create it (#678453)
f725e3
  don't create rescue entries by default - grubby will not maintain them anyway
f725e3
  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
f725e3
  grub2-efi should have its own bash completion
f725e3
  don't set gfxpayload in efi mode - backport upstream r3402
f725e3
- Handle dmraid better. Resolves: rhbz#742226
f725e3
f725e3
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
f725e3
- Rebuilt for glibc bug#747377
f725e3
f725e3
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
f725e3
- /etc/default/grub is explicitly intended for user customization, so
f725e3
  mark it as config(noreplace)
f725e3
f725e3
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
f725e3
- grub has an epoch, so we need that expressed in the obsolete as well.
f725e3
  Today isn't my day.
f725e3
f725e3
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
f725e3
- Fix my bad obsoletes syntax.
f725e3
f725e3
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
f725e3
- Obsolete grub
f725e3
  Resolves: rhbz#743381
f725e3
f725e3
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
f725e3
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
f725e3
  Related: rhbz#735259
f725e3
- handle initramfs on xen better (patch from Marko Ristola)
f725e3
  Resolves: rhbz#728775
f725e3
f725e3
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
f725e3
- Fix upgrades from grub2 < 1.99-4 (#735259)
f725e3
f725e3
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
f725e3
- Don't do sysadminny things in %preun or %post ever. (#735259)
f725e3
- Actually include the changelog in this build (sorry about -3)
f725e3
f725e3
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
f725e3
- Require os-prober (#678456) (patch from Elad Alfassa)
f725e3
- Require which (#734959) (patch from Elad Alfassa)
f725e3
f725e3
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
f725e3
- Update to grub-1.99 final.
f725e3
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
f725e3
- Various CFLAGS fixes (from Mads Kiilerich)
f725e3
  - -fexceptions and -m64
f725e3
- Temporarily ignore translations (from Mads Kiilerich)
f725e3
f725e3
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
f725e3
- Use /sbin not /usr/sbin .
f725e3
f725e3
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
f725e3
- Fixes for ppc and ppc64
f725e3
f725e3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
f725e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild