dcavalca / rpms / grub2

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