Blame SPECS/grub2.spec

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