Blame SPECS/grub2.spec

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