8631a2
%undefine _hardened_build
8631a2
8631a2
%global tarversion 2.02
8631a2
%undefine _missing_build_ids_terminate_build
8631a2
%global _configure_gnuconfig_hack 0
8631a2
8631a2
Name:		grub2
8631a2
Epoch:		1
8631a2
Version:	2.02
530103
Release:	147%{?dist}
8631a2
Summary:	Bootloader with support for Linux, Multiboot and more
8631a2
Group:		System Environment/Base
8631a2
License:	GPLv3+
8631a2
URL:		http://www.gnu.org/software/grub/
8631a2
Obsoletes:	grub < 1:0.98
8631a2
Source0:	ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
8631a2
#Source0:	ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz
8631a2
Source1:	grub.macros
8631a2
Source2:	grub.patches
8631a2
Source3:	release-to-master.patch
8631a2
Source4:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
8631a2
Source5:	theme.tar.bz2
8631a2
Source6:	gitignore
8631a2
Source8:	strtoull_test.c
8631a2
Source9:	20-grub.install
8631a2
Source12:	99-grub-mkconfig.install
0ccc47
Source13:	redhatsecurebootca3.cer
0ccc47
Source14:	redhatsecureboot301.cer
0ccc47
Source15:	redhatsecurebootca5.cer
0ccc47
Source16:	redhatsecureboot502.cer
0ccc47
Source17:	redhatsecureboot601.cer
0ccc47
Source18:	redhatsecureboot701.cer
4e7deb
Source19:	sbat.csv.in
8631a2
8631a2
%include %{SOURCE1}
8631a2
4e7deb
%if 0%{with_efi_arch}
4e7deb
%define old_sb_ca	%{SOURCE13}
4e7deb
%define old_sb_cer	%{SOURCE14}
0ccc47
%define old_sb_key	redhatsecureboot301
4e7deb
%define sb_ca		%{SOURCE15}
4e7deb
%define sb_cer		%{SOURCE16}
0ccc47
%define sb_key		redhatsecureboot502
09e3cc
%endif
09e3cc
09e3cc
%ifarch ppc64le
09e3cc
%define old_sb_cer	%{SOURCE17}
09e3cc
%define sb_cer		%{SOURCE18}
0ccc47
%define sb_key		redhatsecureboot702
4e7deb
%endif
4e7deb
8631a2
# generate with do-rebase
8631a2
%include %{SOURCE2}
8631a2
8631a2
BuildRequires:	gcc efi-srpm-macros
8631a2
BuildRequires:	flex bison binutils python3-devel
8631a2
BuildRequires:	ncurses-devel xz-devel bzip2-devel
8631a2
BuildRequires:	freetype-devel libusb-devel
8631a2
BuildRequires:	rpm-devel
8631a2
BuildRequires:	rpm-devel rpm-libs
8631a2
BuildRequires:	autoconf automake autogen device-mapper-devel
8631a2
BuildRequires:	freetype-devel gettext-devel git
8631a2
BuildRequires:	texinfo
8631a2
BuildRequires:	dejavu-sans-fonts
8631a2
BuildRequires:	help2man
8631a2
# For %%_userunitdir macro
8631a2
BuildRequires:	systemd
8631a2
%ifarch %{efi_arch}
8631a2
BuildRequires:	pesign >= 0.99-8
8631a2
%endif
8631a2
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
8631a2
BuildRequires:	ccache
8631a2
%endif
8631a2
0ccc47
ExcludeArch:	s390 s390x %{arm}
8631a2
Obsoletes:	%{name} <= %{evr}
8631a2
8631a2
%if 0%{with_legacy_arch}
8631a2
Requires:	%{name}-%{legacy_package_arch} = %{evr}
8631a2
%else
8631a2
Requires:	%{name}-%{package_arch} = %{evr}
8631a2
%endif
8631a2
8631a2
%global desc \
8631a2
The GRand Unified Bootloader (GRUB) is a highly configurable and \
8631a2
customizable bootloader with modular architecture.  It supports a rich \
8631a2
variety of kernel formats, file systems, computer architectures and \
8631a2
hardware devices.\
8631a2
%{nil}
8631a2
8631a2
%description
8631a2
%{desc}
8631a2
8631a2
%package common
8631a2
Summary:	grub2 common layout
8631a2
Group:		System Environment/Base
8631a2
BuildArch:	noarch
8631a2
Conflicts:	grubby < 8.40-13
8631a2
8631a2
%description common
8631a2
This package provides some directories which are required by various grub2
8631a2
subpackages.
8631a2
8631a2
%package tools
8631a2
Summary:	Support tools for GRUB.
8631a2
Group:		System Environment/Base
8631a2
Obsoletes:	%{name}-tools < %{evr}
8631a2
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
8631a2
Requires:	gettext os-prober which file
8631a2
Requires(pre):	dracut
8631a2
Requires(post):	dracut
8631a2
8631a2
%description tools
8631a2
%{desc}
8631a2
This subpackage provides tools for support of all platforms.
8631a2
8631a2
%ifarch x86_64
8631a2
%package tools-efi
8631a2
Summary:	Support tools for GRUB.
8631a2
Group:		System Environment/Base
8631a2
Requires:	gettext os-prober which file
8631a2
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
8631a2
Obsoletes:	%{name}-tools < %{evr}
8631a2
8631a2
%description tools-efi
8631a2
%{desc}
8631a2
This subpackage provides tools for support of EFI platforms.
8631a2
%endif
8631a2
8631a2
%package tools-minimal
8631a2
Summary:	Support tools for GRUB.
8631a2
Group:		System Environment/Base
8631a2
Requires:	gettext
8631a2
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
8631a2
Obsoletes:	%{name}-tools < %{evr}
8631a2
8631a2
%description tools-minimal
8631a2
%{desc}
8631a2
This subpackage provides tools for support of all platforms.
8631a2
8631a2
%package tools-extra
8631a2
Summary:	Support tools for GRUB.
8631a2
Group:		System Environment/Base
8631a2
Requires:	gettext os-prober which file
8631a2
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
8631a2
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
8631a2
Obsoletes:	%{name}-tools < %{evr}
8631a2
8631a2
%description tools-extra
8631a2
%{desc}
8631a2
This subpackage provides tools for support of all platforms.
8631a2
8631a2
%if 0%{with_efi_arch}
8631a2
%{expand:%define_efi_variant %%{package_arch} -o}
8631a2
%endif
8631a2
%if 0%{with_alt_efi_arch}
8631a2
%{expand:%define_efi_variant %%{alt_package_arch}}
8631a2
%endif
8631a2
%if 0%{with_legacy_arch}
8631a2
%{expand:%define_legacy_variant %%{legacy_package_arch}}
8631a2
%endif
8631a2
8631a2
%prep
8631a2
%do_common_setup
8631a2
%if 0%{with_efi_arch}
8631a2
mkdir grub-%{grubefiarch}-%{tarversion}
8631a2
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
8631a2
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
0ccc47
sed -e "s,@@VERSION@@,%{version},g" -e "s,@@VERSION_RELEASE@@,%{version}-%{release},g" \
0ccc47
    %{SOURCE19} > grub-%{grubefiarch}-%{tarversion}/sbat.csv
8631a2
git add grub-%{grubefiarch}-%{tarversion}
8631a2
%endif
8631a2
%if 0%{with_alt_efi_arch}
8631a2
mkdir grub-%{grubaltefiarch}-%{tarversion}
8631a2
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore
8631a2
cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz
8631a2
git add grub-%{grubaltefiarch}-%{tarversion}
8631a2
%endif
8631a2
%if 0%{with_legacy_arch}
8631a2
mkdir grub-%{grublegacyarch}-%{tarversion}
8631a2
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore
8631a2
cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz
8631a2
git add grub-%{grublegacyarch}-%{tarversion}
8631a2
%endif
8631a2
git commit -m "After making subdirs"
8631a2
8631a2
%build
8631a2
%if 0%{with_efi_arch}
4e7deb
%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags} %{old_sb_ca} %{old_sb_cer} %{old_sb_key} %{sb_ca} %{sb_cer} %{sb_key}}
8631a2
%endif
8631a2
%if 0%{with_alt_efi_arch}
4e7deb
%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags} %{old_sb_ca} %{old_sb_cer} %{old_sb_key} %{sb_ca} %{sb_cer} %{sb_key}}
8631a2
%endif
8631a2
%if 0%{with_legacy_arch}
8631a2
%{expand:%do_legacy_build %%{grublegacyarch}}
8631a2
%endif
0ccc47
%ifarch ppc64le
0ccc47
%{expand:%do_ieee1275_build_images %%{grublegacyarch} %{grubelfname} %{old_sb_cer} %{sb_cer} %{sb_key}}
0ccc47
%endif
8631a2
makeinfo --info --no-split -I docs -o docs/grub-dev.info \
8631a2
	docs/grub-dev.texi
8631a2
makeinfo --info --no-split -I docs -o docs/grub.info \
8631a2
	docs/grub.texi
8631a2
makeinfo --html --no-split -I docs -o docs/grub-dev.html \
8631a2
	docs/grub-dev.texi
8631a2
makeinfo --html --no-split -I docs -o docs/grub.html \
8631a2
	docs/grub.texi
8631a2
8631a2
%install
8631a2
set -e
8631a2
rm -fr $RPM_BUILD_ROOT
8631a2
8631a2
%do_common_install
8631a2
%if 0%{with_efi_arch}
8631a2
%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
8631a2
%endif
8631a2
%if 0%{with_alt_efi_arch}
8631a2
%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
8631a2
%endif
8631a2
%if 0%{with_legacy_arch}
8631a2
%{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}}
8631a2
%endif
8631a2
8631a2
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
8631a2
ln -s %{name}-set-password ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-setpassword
8631a2
echo '.so man8/%{name}-set-password.8' > ${RPM_BUILD_ROOT}/%{_datadir}/man/man8/%{name}-setpassword.8
8631a2
%ifnarch x86_64
8631a2
rm -vf ${RPM_BUILD_ROOT}/%{_bindir}/%{name}-render-label
8631a2
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-bios-setup
8631a2
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-macbless
8631a2
%endif
8631a2
8631a2
%find_lang grub
8631a2
8631a2
# Install kernel-install scripts
8631a2
install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/
8631a2
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE9}
8631a2
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE12}
8631a2
install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
8631a2
install -m 0644 /dev/null %{buildroot}%{_sysconfdir}/kernel/install.d/20-grubby.install
8631a2
install -m 0644 /dev/null %{buildroot}%{_sysconfdir}/kernel/install.d/90-loaderentry.install
8631a2
# Install systemd user service to set the boot_success flag
8631a2
install -D -m 0755 -t %{buildroot}%{_userunitdir} \
8631a2
	docs/grub-boot-success.{timer,service}
8631a2
install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants
8631a2
ln -s ../grub-boot-success.timer \
8631a2
	%{buildroot}%{_userunitdir}/timers.target.wants
8631a2
# Install systemd system-update unit to set boot_indeterminate for offline-upd
8631a2
install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
8631a2
install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
8631a2
ln -s ../grub-boot-indeterminate.service \
8631a2
	%{buildroot}%{_unitdir}/system-update.target.wants
8631a2
8631a2
# Don't run debuginfo on all the grub modules and whatnot; it just
8631a2
# rejects them, complains, and slows down extraction.
8631a2
%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
8631a2
8631a2
%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
8631a2
%define __debug_install_post (						\
8631a2
	mkdir -p %{finddebugroot}/usr					\
8631a2
	mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin		\
8631a2
	mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin		\
8631a2
	%{dip}								\
8631a2
	install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/	\
8631a2
	cp -al %{finddebugroot}/usr/lib/debug/				\\\
8631a2
		%{buildroot}/usr/lib/debug/				\
8631a2
	cp -al %{finddebugroot}/usr/src/debug/				\\\
8631a2
		%{buildroot}/usr/src/debug/ )				\
8631a2
	mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin		\
8631a2
	mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin		\
8631a2
	%{nil}
8631a2
8631a2
%undefine buildsubdir
8631a2
8631a2
%pre tools
8631a2
if [ -f /boot/grub2/user.cfg ]; then
8631a2
    if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then
8631a2
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg
8631a2
    fi
8631a2
elif [ -f %{efi_esp_dir}/user.cfg ]; then
8631a2
    if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then
8631a2
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
8631a2
	    %{efi_esp_dir}/user.cfg
8631a2
    fi
8631a2
elif [ -f /etc/grub.d/01_users ] && \
8631a2
	grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
8631a2
    if [ -f %{efi_esp_dir}/grub.cfg ]; then
8631a2
	# on EFI we don't get permissions on the file, but
8631a2
	# the directory is protected.
8631a2
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
8631a2
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
8631a2
	    > %{efi_esp_dir}/user.cfg
8631a2
    fi
8631a2
    if [ -f /boot/grub2/grub.cfg ]; then
8631a2
	install -m 0600 /dev/null /boot/grub2/user.cfg
8631a2
	chmod 0600 /boot/grub2/user.cfg
8631a2
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
8631a2
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
8631a2
	    > /boot/grub2/user.cfg
8631a2
    fi
8631a2
fi
8631a2
8631a2
%post tools
8631a2
if [ "$1" = 1 ]; then
8631a2
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
8631a2
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
8631a2
fi
8631a2
8631a2
if [ "$1" = 2 ]; then
8631a2
	/sbin/grub2-switch-to-blscfg --backup-suffix=.rpmsave &>/dev/null || :
8631a2
fi
8631a2
8631a2
%triggerun -- grub2 < 1:1.99-4
8631a2
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
8631a2
# from the affected grub2 packages, we first back up the files in triggerun and
8631a2
# later restore them in triggerpostun.
8631a2
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
8631a2
8631a2
# Back up the files before uninstalling old grub2
8631a2
mkdir -p /boot/grub2.tmp &&
8631a2
mv -f /boot/grub2/*.mod \
8631a2
      /boot/grub2/*.img \
8631a2
      /boot/grub2/*.lst \
8631a2
      /boot/grub2/device.map \
8631a2
      /boot/grub2.tmp/ || :
8631a2
8631a2
%triggerpostun -- grub2 < 1:1.99-4
8631a2
# ... and restore the files.
8631a2
test ! -f /boot/grub2/device.map &&
8631a2
test -d /boot/grub2.tmp &&
8631a2
mv -f /boot/grub2.tmp/*.mod \
8631a2
      /boot/grub2.tmp/*.img \
8631a2
      /boot/grub2.tmp/*.lst \
8631a2
      /boot/grub2.tmp/device.map \
8631a2
      /boot/grub2/ &&
8631a2
rm -r /boot/grub2.tmp/ || :
8631a2
8631a2
%preun tools
8631a2
if [ "$1" = 0 ]; then
8631a2
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
8631a2
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
8631a2
fi
8631a2
8631a2
%files common -f grub.lang
8631a2
%dir %{_libdir}/grub/
8631a2
%dir %{_datarootdir}/grub/
8631a2
%dir %{_datarootdir}/grub/themes/
8631a2
%exclude %{_datarootdir}/grub/themes/*
8631a2
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
8631a2
%{_prefix}/lib/kernel/install.d/20-grub.install
8631a2
%{_sysconfdir}/kernel/install.d/20-grubby.install
8631a2
%{_sysconfdir}/kernel/install.d/90-loaderentry.install
8631a2
%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
8631a2
%dir %{_datarootdir}/grub
8631a2
%exclude %{_datarootdir}/grub/*
8631a2
%dir /boot/%{name}
8631a2
%dir /boot/%{name}/themes/
8631a2
%dir /boot/%{name}/themes/system
8631a2
%exclude /boot/%{name}/themes/system/*
8631a2
%attr(0700,root,root) %dir /boot/grub2
8631a2
%exclude /boot/grub2/*
8631a2
%dir %attr(0700,root,root) %{efi_esp_dir}
8631a2
%exclude %{efi_esp_dir}/*
8631a2
%license COPYING
a7e0e3
%ghost %config(noreplace) %verify(not size mode md5 mtime) /boot/grub2/grubenv
8631a2
%doc INSTALL
8631a2
%doc NEWS
8631a2
%doc README
8631a2
%doc THANKS
8631a2
%doc TODO
8631a2
%doc docs/grub.html
8631a2
%doc docs/grub-dev.html
8631a2
%doc docs/font_char_metrics.png
8631a2
8631a2
%files tools-minimal
8631a2
%{_sbindir}/%{name}-get-kernel-settings
8631a2
%attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag
8631a2
%{_sbindir}/%{name}-set-default
8631a2
%{_sbindir}/%{name}-set*password
8631a2
%{_bindir}/%{name}-editenv
8631a2
%{_bindir}/%{name}-mkpasswd-pbkdf2
8631a2
8631a2
%{_datadir}/man/man3/%{name}-get-kernel-settings*
8631a2
%{_datadir}/man/man8/%{name}-set-default*
8631a2
%{_datadir}/man/man8/%{name}-set*password*
8631a2
%{_datadir}/man/man1/%{name}-editenv*
8631a2
%{_datadir}/man/man1/%{name}-mkpasswd-*
8631a2
8631a2
%ifarch x86_64
8631a2
%files tools-efi
8631a2
%{_sbindir}/%{name}-macbless
8631a2
%{_bindir}/%{name}-render-label
8631a2
%{_datadir}/man/man8/%{name}-macbless*
8631a2
%{_datadir}/man/man1/%{name}-render-label*
8631a2
%endif
8631a2
8631a2
%files tools
8631a2
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
8631a2
%config %{_sysconfdir}/grub.d/??_*
8631a2
%ifarch ppc64 ppc64le
8631a2
%exclude %{_sysconfdir}/grub.d/10_linux
8631a2
%else
8631a2
%exclude %{_sysconfdir}/grub.d/10_linux_bls
8631a2
%endif
8631a2
%{_sysconfdir}/grub.d/README
8631a2
%{_userunitdir}/grub-boot-success.timer
8631a2
%{_userunitdir}/grub-boot-success.service
8631a2
%{_userunitdir}/timers.target.wants
8631a2
%{_unitdir}/grub-boot-indeterminate.service
8631a2
%{_unitdir}/system-update.target.wants
8631a2
%{_infodir}/%{name}*
8631a2
%{_datarootdir}/grub/*
8631a2
%{_sbindir}/%{name}-install
8631a2
%exclude %{_datarootdir}/grub/themes
8631a2
%exclude %{_datarootdir}/grub/*.h
8631a2
%{_datarootdir}/bash-completion/completions/grub
8631a2
%{_sbindir}/%{name}-mkconfig
8631a2
%{_sbindir}/%{name}-switch-to-blscfg
8631a2
%{_sbindir}/%{name}-probe
8631a2
%{_sbindir}/%{name}-rpm-sort
8631a2
%{_sbindir}/%{name}-reboot
8631a2
%{_bindir}/%{name}-file
8631a2
%{_bindir}/%{name}-menulst2cfg
8631a2
%{_bindir}/%{name}-mkimage
8631a2
%{_bindir}/%{name}-mkrelpath
8631a2
%{_bindir}/%{name}-script-check
8631a2
%{_datadir}/man/man?/*
8631a2
8631a2
# exclude man pages from tools-extra
8631a2
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
8631a2
%exclude %{_datadir}/man/man8/%{name}-install*
8631a2
%exclude %{_datadir}/man/man1/%{name}-fstest*
8631a2
%exclude %{_datadir}/man/man1/%{name}-glue-efi*
8631a2
%exclude %{_datadir}/man/man1/%{name}-kbdcomp*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mkfont*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mklayout*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mknetdir*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mkrescue*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mkstandalone*
8631a2
%exclude %{_datadir}/man/man1/%{name}-syslinux2cfg*
8631a2
8631a2
# exclude man pages from tools-minimal
8631a2
%exclude %{_datadir}/man/man3/%{name}-get-kernel-settings*
8631a2
%exclude %{_datadir}/man/man8/%{name}-set-default*
8631a2
%exclude %{_datadir}/man/man8/%{name}-set*password*
8631a2
%exclude %{_datadir}/man/man1/%{name}-editenv*
8631a2
%exclude %{_datadir}/man/man1/%{name}-mkpasswd-*
8631a2
%exclude %{_datadir}/man/man8/%{name}-macbless*
8631a2
%exclude %{_datadir}/man/man1/%{name}-render-label*
8631a2
8631a2
%if %{with_legacy_arch}
8631a2
%{_sbindir}/%{name}-install
8631a2
%ifarch x86_64
8631a2
%{_sbindir}/%{name}-bios-setup
8631a2
%else
8631a2
%exclude %{_sbindir}/%{name}-bios-setup
8631a2
%exclude %{_datadir}/man/man8/%{name}-bios-setup*
8631a2
%endif
8631a2
%ifarch %{sparc}
8631a2
%{_sbindir}/%{name}-sparc64-setup
8631a2
%else
8631a2
%exclude %{_sbindir}/%{name}-sparc64-setup
8631a2
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
8631a2
%endif
8631a2
%ifarch %{sparc} ppc ppc64 ppc64le
8631a2
%{_sbindir}/%{name}-ofpathname
8631a2
%else
8631a2
%exclude %{_sbindir}/%{name}-ofpathname
8631a2
%exclude %{_datadir}/man/man8/%{name}-ofpathname*
8631a2
%endif
8631a2
%endif
8631a2
8631a2
%files tools-extra
8631a2
%{_sbindir}/%{name}-sparc64-setup
8631a2
%{_sbindir}/%{name}-ofpathname
8631a2
%{_bindir}/%{name}-fstest
8631a2
%{_bindir}/%{name}-glue-efi
8631a2
%{_bindir}/%{name}-kbdcomp
8631a2
%{_bindir}/%{name}-mkfont
8631a2
%{_bindir}/%{name}-mklayout
8631a2
%{_bindir}/%{name}-mknetdir
8631a2
%ifnarch %{sparc}
8631a2
%{_bindir}/%{name}-mkrescue
8631a2
%endif
8631a2
%{_bindir}/%{name}-mkstandalone
8631a2
%{_bindir}/%{name}-syslinux2cfg
8631a2
%{_sysconfdir}/sysconfig/grub
8631a2
%{_datadir}/man/man8/%{name}-sparc64-setup*
8631a2
%{_datadir}/man/man8/%{name}-install*
8631a2
%{_datadir}/man/man1/%{name}-fstest*
8631a2
%{_datadir}/man/man1/%{name}-glue-efi*
8631a2
%{_datadir}/man/man1/%{name}-kbdcomp*
8631a2
%{_datadir}/man/man1/%{name}-mkfont*
8631a2
%{_datadir}/man/man1/%{name}-mklayout*
8631a2
%{_datadir}/man/man1/%{name}-mknetdir*
8631a2
%{_datadir}/man/man1/%{name}-mkrescue*
8631a2
%{_datadir}/man/man1/%{name}-mkstandalone*
8631a2
%{_datadir}/man/man8/%{name}-ofpathname*
8631a2
%{_datadir}/man/man1/%{name}-syslinux2cfg*
8631a2
%exclude %{_datarootdir}/grub/themes/starfield
8631a2
8631a2
%if 0%{with_efi_arch}
8631a2
%{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
8631a2
%endif
8631a2
%if 0%{with_alt_efi_arch}
8631a2
%{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}}
8631a2
%endif
8631a2
%if 0%{with_legacy_arch}
8631a2
%{expand:%define_legacy_variant_files %%{legacy_package_arch} %%{grublegacyarch}}
8631a2
%endif
8631a2
8631a2
%changelog
530103
* Tue Jan 10 2023 Robbie Harwood <rharwood@redhat.com> - 2.02-147
530103
- Enable TDX measurement to RTMR register
530103
- Resolves: #1981485
530103
530103
* Wed Dec 14 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-146
530103
- ppc64le: fix lpar cas5
530103
- Resolves: #2139508
530103
530103
* Tue Nov 08 2022 Robbie Harwood <rharwood@redhat.com> - 1:2.02-145
530103
- Font CVE fixes
530103
- Resolves: CVE-2022-2601
530103
530103
* Tue Oct 18 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-144
530103
- blscfg: don't assume newline at end of cfg
530103
- Resolves: #2121132
530103
530103
* Wed Oct 12 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-143
530103
- x86-efi: Fix an incorrect array size in kernel allocation
530103
- Also merge with 8.7
530103
- Resolves: #2031288
b54ed4
530103
* Thu Aug 25 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-141
b54ed4
- Implement vec5 for cas negotiation
b54ed4
- Resolves: #2117914
b54ed4
530103
* Wed Aug 24 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-140
b54ed4
- Or two, because I forgot the debug patch
b54ed4
- Resolves: #2118896
b54ed4
530103
* Thu Aug 18 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-139
b54ed4
- Kernel allocator fixups (in one pass)
b54ed4
- Resolves: #2118896
b54ed4
530103
* Wed Jul 20 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-138
0ccc47
- Rotate signing keys on ppc64le
0ccc47
- Resolves: #2074762
0ccc47
530103
* Fri Jun 03 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-137
0ccc47
- CVE fixes for 2022-06-07
0ccc47
- CVE-2022-28736 CVE-2022-28735 CVE-2022-28734 CVE-2022-28733
0ccc47
- CVE-2021-3697 CVE-2021-3696 CVE-2021-3695
0ccc47
- Resolves: #2070687
0ccc47
530103
* Mon May 16 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-129
f6e916
- ppc64le: Slow boot after LPM
f6e916
- Resolves: #2070347
f6e916
530103
* Wed May 04 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-127
f6e916
- ppc64le: CAS improvements, prefix detection, and vTPM support
f6e916
- Resolves: #2076795
f6e916
- Resolves: #2026568
f6e916
- Resolves: #2051331
f6e916
530103
* Wed May 04 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-126
f6e916
- Fix rpm verification error on grub.cfg permissions
f6e916
- Resolves: #2071643
f6e916
530103
* Wed Apr 20 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-125
f6e916
- RHEL 8.6.0 import; no code changes
f6e916
- Resolves: #2062892
f6e916
530103
* Mon Mar 28 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-123
f6e916
- Bump for signing
f6e916
530103
* Wed Mar 09 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-122
f6e916
- Fix initialization on efidisk patch
f6e916
530103
* Tue Mar 08 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-121
23a3f0
- Backport support for loading initrd above 4GB
f6e916
530103
* Mon Feb 28 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-120
f6e916
- Bump signing
f6e916
- Resolves: #2032294
f6e916
530103
* Mon Feb 28 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-119
f6e916
- Enable connectefi module
f6e916
- Resolves: #2032294
f6e916
f6e916
* Fri Feb 25 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-118
f6e916
- Fix check on blscfg conditional (mlewando)
f6e916
- Resolves: #1899903
f6e916
f6e916
* Thu Feb 24 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-117
f6e916
- Once more, for signing
f6e916
- Resolves: #2048904
f6e916
f6e916
* Thu Feb 24 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-116
f6e916
- Add efidisk/connectefi patches
f6e916
- Resolves: #2048904
f6e916
- Resolves: #2032294
f6e916
f6e916
* Fri Feb 18 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-115
f6e916
- Re-arm GRUB_ENABLE_BLSCFG=false
f6e916
- Resolves: #1899903
f6e916
f6e916
* Mon Feb 14 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-114
f6e916
- Fix behavior of GRUB_TERMINAL_INPUT=at_keyboard
f6e916
- Resolves: #2020927
f6e916
f6e916
* Wed Feb 09 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-113
f6e916
- Bump to fix target
f6e916
- Resolves: #1809246
f6e916
f6e916
* Wed Feb 09 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-112
f6e916
- Fix DHCP proxy efi booting
f6e916
- Resolves: #1809246
f6e916
f6e916
* Mon Feb 07 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-111
f6e916
- Bump to fix target
f6e916
- Resolves: #1914575
f6e916
f6e916
* Mon Feb 07 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-110
f6e916
- Don't run grub-boot-success.timer in a nspawn container
f6e916
- Resolves: #1914575
f6e916
f6e916
* Mon Feb 07 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-109
f6e916
- Drop prelink snippet
f6e916
- Resolves: #2016269
f6e916
f6e916
* Wed Feb 02 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-108
f6e916
- Bump version to fix build target
f6e916
- Resolves: #2030359
f6e916
f6e916
* Wed Feb 02 2022 Robbie Harwood <rharwood@redhat.com> - 2.02-107
f6e916
- CVE-2021-3981 (Incorrect read permission in grub.cfg)
f6e916
- Resolves: #2030359
09e3cc
98a0ca
* Thu Aug 19 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-106
98a0ca
- Fix device discoverability on PowerVM when the prefix is not set (dja)
98a0ca
  Related: rhbz#1899864
98a0ca
98a0ca
* Thu Jul 22 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-105
98a0ca
- Discover the device to read the config from as a fallback
98a0ca
  Related: rhbz#1899864
98a0ca
4e7deb
* Mon Jun 21 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-104
4e7deb
- 20-grub-install: Create a symvers.gz symbolic link
4e7deb
  Resolves: rhbz#1919125
4e7deb
4e7deb
* Mon May 17 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-103
4e7deb
- Fix boot failures in ppc64le caused by storage race condition (diegodo)
4e7deb
  Resolves: rhbz#1942152
4e7deb
4e7deb
* Tue May 11 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-102
4e7deb
- Build and sign powerpc-ieee1275 images
4e7deb
  Related: rhbz#1899864
4e7deb
4e7deb
* Fri Apr 23 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-101
4e7deb
- Find and claim more memory for ieee1275 (dja)
4e7deb
  Related: rhbz#1853410
4e7deb
4e7deb
* Fri Apr 23 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-100
4e7deb
- Sync with the latest content of the rhel-8.4.0 branch
4e7deb
  Resolves: rhbz#1952840
4e7deb
468bd4
* Thu Feb 25 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-99
468bd4
- Fix bug of grub2-install not checking for the SBAT option
468bd4
  Resolves: CVE-2020-14372
468bd4
  Resolves: CVE-2020-25632
468bd4
  Resolves: CVE-2020-25647
468bd4
  Resolves: CVE-2020-27749
468bd4
  Resolves: CVE-2020-27779
468bd4
  Resolves: CVE-2021-20225
468bd4
  Resolves: CVE-2021-20233
468bd4
468bd4
* Thu Feb 25 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-98
468bd4
- Fix another batch of CVEs
468bd4
  Resolves: CVE-2020-14372
468bd4
  Resolves: CVE-2020-25632
468bd4
  Resolves: CVE-2020-25647
468bd4
  Resolves: CVE-2020-27749
468bd4
  Resolves: CVE-2020-27779
468bd4
  Resolves: CVE-2021-20225
468bd4
  Resolves: CVE-2021-20233
468bd4
ccbde2
* Tue Feb 23 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-97
ccbde2
- Fix keylayouts module listed twice in GRUB_MODULES variable
ccbde2
ccbde2
* Tue Feb 23 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-96
ccbde2
- Fix "Add 'at_keyboard_fallback_set' var to force the set manually"
ccbde2
- Fix a boot failure due patch "ieee1275: claim up to 256MB memory"
ccbde2
5975ab
* Tue Jan 26 2021 Javier Martinez Canillas <javierm@redhat.com> - 2.02-95
5975ab
- Add appended signatures support for ppc64le LPAR Secure Boot (daxtens)
5975ab
  Resolves: rhbz#1853410
5975ab
5975ab
* Wed Jan 20 2021 Renaud Métrich <rmetrich@redhat.com> - 2.02-94
5975ab
- Add 'at_keyboard_fallback_set' var to force the set manually
5975ab
- Related: rhbz#1897587
5975ab
dbe756
* Mon Dec 14 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-93
dbe756
- add keylayouts and at_keyboard modules to UEFI Grub2 (rmetrich)
5975ab
  Related: rhbz#1897587
dbe756
- at_keyboard: use set 1 when keyboard is in Translate mode (rmetrich)
dbe756
  Resolves: rhbz#1897587
dbe756
- add GRUB enhanced debugging features (rmetrich)
dbe756
  Resolves: rhbz#1776249
dbe756
- ieee1275: Avoiding many unecessary open/close (diegodo)
dbe756
  Resolves: rhbz#1862632
dbe756
- ieee1275: device mapper and fibre channel discovery support (diegodo)
dbe756
  Resolves: rhbz#1873724
dbe756
c0334e
* Mon Nov 23 2020 Jan Hlavac <jhlavac@redhat.com> - 2.02-92
c0334e
- grub2-install: disable support for EFI platforms
c0334e
  Resolves: rhbz#1737444
c0334e
- Include a few more modules to EFI build needed for LUKS support (javierm)
c0334e
  Related: rhbz#1873725
c0334e
a7e0e3
* Mon Nov 16 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-91
a7e0e3
- Fix tps-rpmtest failing due /boot/grub2/grubenv attributes mismatch
a7e0e3
  Resolves: rhbz#1813959
a7e0e3
- Include in EFI build the modules needed for LUKS support
a7e0e3
  Resolves: rhbz#1873725
a7e0e3
- Fix keyboards that report IBM PC AT scan codes
a7e0e3
  Resolves: rhbz#1897587
a7e0e3
c87ad5
* Mon Aug 31 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-90
c87ad5
- Roll over TFTP block counter to prevent timeouts with data packets
c87ad5
  Resolves: rhbz#1871034
c87ad5
c87ad5
* Fri Aug 21 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-89
c87ad5
- Fix TFTP timeouts when trying to fetch files larger than 65535 KiB
c87ad5
  Resolves: rhbz#1871034
c87ad5
da16a7
* Tue Aug 11 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-88
da16a7
- Fix a legacy BIOS boot issue when a using config file shared with EFI
da16a7
  Resolves: rhbz#1850193
da16a7
a4d572
* Mon Jul 27 2020 Peter Jones <pjones@redhat.com> - 2.02-87
a4d572
- Couple more late fixes.
a4d572
  Resolves: CVE-2020-15705
a4d572
a4d572
* Sun Jul 26 2020 Peter Jones <pjones@redhat.com> - 2.02-86
a4d572
- Couple more late fixes.
a4d572
  Resolves: CVE-2020-10713
a4d572
  Resolves: CVE-2020-14308
a4d572
  Resolves: CVE-2020-14309
a4d572
  Resolves: CVE-2020-14310
a4d572
  Resolves: CVE-2020-14311
a4d572
a4d572
* Mon Jul 20 2020 Peter Jones <pjones@redhat.com> - 2.02-85
a4d572
- Fix several CVEs
a4d572
  Resolves: CVE-2020-10713
a4d572
  Resolves: CVE-2020-14308
a4d572
  Resolves: CVE-2020-14309
a4d572
  Resolves: CVE-2020-14310
a4d572
  Resolves: CVE-2020-14311
a4d572
ee2076
* Tue May 19 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-84
ee2076
- Add fixes for greenboot support
ee2076
  Resolves: rhbz#1832336
ee2076
5caed3
* Mon May 18 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-83
5caed3
- Fix a segfault in grub2-editenv when attempting to shrink a variable
5caed3
  Resolves: rhbz#1761496
5caed3
5caed3
* Mon Apr 27 2020 Javier Martinez Canillas <javierm@redhat.com> - 2.02-82
5caed3
- Drop "Disable multiboot, multiboot2, and linux16 modules on EFI builds"
5caed3
  Resolves: rhbz#1779480
5caed3
- efi/http: Export {fw,http}_path variables to make them global
5caed3
  Resolves: rhbz#1811561
5caed3
- efi/http: Enclose literal IPv6 addresses in square brackets
5caed3
- efi/net: Allow to specify a port number in addresses
5caed3
- efi/ip4_config: Improve check to detect literal IPv6 addresses
5caed3
- efi/net: Print a debug message if parsing the address fails
5caed3
  Resolves: rhbz#1811560
5caed3
- Set image base address before jumping to the PE/COFF entry point
5caed3
  Resolves: rhbz#1819624
dde0bc
eefaf6
* Thu Dec 05 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-81
eefaf6
- Another fix for blscfg variable expansion support
eefaf6
  Related: rhbz#1669252
eefaf6
eefaf6
* Thu Nov 28 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-80
eefaf6
- Fix PRIxGRUB_EFI_STATUS definition
eefaf6
  Related: rhbz#1761811
eefaf6
- TPM: Print messages if measuraments fail as debug instead of error
eefaf6
  Resolves: rhbz#1761811
eefaf6
- unix/platform: Initialize variable to fix grub-install on UEFI system
eefaf6
  Resolves: rhbz#1768689
eefaf6
- blscfg: add a space char when appending fields for variable expansion
eefaf6
  Resolves: rhbz#1669252
eefaf6
eefaf6
* Fri Nov 22 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-79
eefaf6
- grub-set-bootflag: Write new env to tmpfile and then rename (hdegoede)
eefaf6
  Resolves: CVE-2019-14865
eefaf6
eefaf6
* Thu Sep 26 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-77
eefaf6
- 10_linux_bls: don't add --users option to generated menu entries
eefaf6
  Resolves: rhbz#1755815
eefaf6
eefaf6
* Fri Aug 09 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-76
eefaf6
- Include regexp module in EFI builds
eefaf6
  Resolves: rhbz#1737670
eefaf6
eefaf6
* Wed Jun 19 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-75
eefaf6
- Fix setting default entry on ppc64le when using OPAL
eefaf6
  Resolves: rhbz#1721815
1dd4f7
8631a2
* Tue Jun 04 2019 Sergio Durigan Junior <sergiodj@redhat.com> - 2.02-74
8631a2
- Use '-g' instead of '-g3' when compiling grub2.
8631a2
  Related: rhbz#1653961
8631a2
8631a2
* Wed May 29 2019 Peter Jones <pjones@redhat.com> - 2.02-73
8631a2
- Rebuild once again to try to get rpmdiff happy.
8631a2
  Related: rhbz#1653961
8631a2
8631a2
* Mon May 27 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-72
8631a2
- Build with the correct target
8631a2
  Related: rhbz#1653961
8631a2
8631a2
* Fri May 24 2019 Peter Jones <pjones@redhat.com> - 2.02-71
8631a2
- Fix (a fourth time, due to a typo) how LDFLAGS works on non-efi platforms.
8631a2
  Related: rhbz#1653961
8631a2
8631a2
* Thu May 23 2019 Peter Jones <pjones@redhat.com> - 2.02-70
8631a2
- Fix (once again) how CFLAGS and LDFLAGS propogate the settings for hardened
8631a2
  builds, because rpmdiff doesn't like the current way failing.
8631a2
  Related: rhbz#1653961
8631a2
8631a2
* Tue May 21 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-69
8631a2
- Enable package gating
8631a2
  Resolves: rhbz#1653961
8631a2
8631a2
* Mon May 20 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-68
8631a2
- Avoid grub2-efi package to overwrite existing /boot/grub2/grubenv file
8631a2
  Resolves: rhbz#1680572
8631a2
- Try to set -fPIE and friends on libgnu.a (pjones)
8631a2
- blscfg: fallback to default_kernelopts if BLS option field isn't set
8631a2
  Related: rhbz#1680572
8631a2
- Remove bogus load_env after blscfg command in 10_linux
8631a2
8631a2
* Mon Apr 29 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-67
8631a2
- Fix failure to request grub.cfg over HTTP
8631a2
  Resolves: rhbz#1490991
8631a2
8631a2
* Wed Dec 19 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-66
8631a2
- Fix grub.cfg-XXX look up when booting over TFTP
8631a2
  Resolves: rhbz#1658500
8631a2
8631a2
* Mon Dec 17 2018 Peter Jones <pjones@redhat.com> - 2.02-65
8631a2
- Don't build the grub2-efi-ia32-* packages on i686; it causes multilib
8631a2
  errors and we don't ship the result anyway.
8631a2
  Related: rhbz#1637875
8631a2
8631a2
* Tue Dec 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-64
8631a2
- Make grub2-mkconfig to honour GRUB_CMDLINE_LINUX in /etc/default/grub
8631a2
  Resolves: rhbz#1637875
8631a2
- docs: Stop using polkit / pkexec for grub-boot-success.timer / service
8631a2
  Resolves: rhbz#1655687
8631a2
8631a2
* Tue Dec 04 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-63
8631a2
- BLS files should only be copied by grub-switch-to-blscfg if BLS isn't set
8631a2
  Related: rhbz#1638117
8631a2
- Fix get_entry_number() wrongly dereferencing the tail pointer
8631a2
  Resolves: rhbz#1654936
8631a2
8631a2
* Fri Nov 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-62
8631a2
- Drop "Be more aggro about actually using the *configured* network device."
8631a2
  Resolves: rhbz#1654388
8631a2
- Fix menu entry selection based on title
8631a2
  Resolves: rhbz#1654936
8631a2
8631a2
* Tue Nov 27 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-61
8631a2
- Drop buggy downstream patch "efinet: retransmit if our device is busy"
8631a2
  Resolves: rhbz#1649048
8631a2
- Make the menu entry users option argument to be optional
8631a2
  Related: rhbz#1652434
8631a2
- 10_linux_bls: add missing menu entries options
8631a2
  Resolves: rhbz#1652434
8631a2
8631a2
* Wed Nov 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-60
8631a2
- Remove quotes when reading ID value from /etc/os-release
8631a2
  Related: rhbz#1650706
8631a2
- blscfg: expand grub_users before passing to grub_normal_add_menu_entry()
8631a2
  Resolves: rhbz#1650706
8631a2
8631a2
* Thu Nov 08 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-59
8631a2
- Remove installkernel-bls script
8631a2
  Related: rhbz#1647721
8631a2
8631a2
* Wed Oct 24 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-58
8631a2
- Don't unconditionally set default entry when installing debug kernels
8631a2
  Resolves: rhbz#1636346
8631a2
8631a2
* Fri Oct 19 2018 Peter Jones <pjones@redhat.com> - 2.02-57
8631a2
- Fix menu entry selection based on ID and title
8631a2
  Resolves: rhbz#1640979
8631a2
8631a2
* Fri Oct 19 2018 Javier Martinez Canillas <javierm@redhat.com>
8631a2
- don't set saved_entry on grub2-mkconfig
8631a2
  Resolves: rhbz#1636466
8631a2
8631a2
* Tue Oct 16 2018 Peter Jones <pjones@redhat.com> - 2.02-56
8631a2
- Rebuild for signing
8631a2
  Resolves: rhbz#1625565
8631a2
- blscfg: Make 10_linux_bls sort the same way as well
8631a2
  Related: rhbz#1638103
8631a2
8631a2
* Mon Oct 15 2018 Peter Jones <pjones@redhat.com> - 2.02-55
8631a2
- blscfg: sort everything with rpm *package* comparison
8631a2
  Related: rhbz#1638103
8631a2
8631a2
* Thu Oct 11 2018 Peter Jones <pjones@redhat.com> - 2.02-54
8631a2
- kernel-install: Remove existing initramfs if it's older than the kernel
8631a2
  Resolves: rhbz#1638405
8631a2
- Update the saved entry correctly after a kernel install
8631a2
  Resolves: rhbz#1638117
8631a2
8631a2
* Fri Oct 05 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-53
8631a2
- Only set kernelopts in grubenv if it wasn't set before
8631a2
  Resolves: rhbz#1636466
8631a2
8631a2
* Thu Oct 04 2018 Peter Jones <pjones@redhat.com> - 2.02-52
8631a2
- Remove 01_fallback_counting entirely until we can sort its issues out.
8631a2
  Resolves: rhbz#1615954
8631a2
8631a2
* Thu Oct 04 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-51
8631a2
- add 10_linux_bls grub.d snippet to generate menu entries from BLS files
8631a2
  Resolves: rhbz#1636013
8631a2
- Fix syntax issues in 01_fallback_counting.in
8631a2
  Resolves: rhbz#1615954
8631a2
8631a2
* Mon Oct 01 2018 pjones <pjones@redhat.com> - 1:2.02-50
8631a2
- Disable TPM (again) on BIOS; it really does not work reliably.
8631a2
  Resolves: rhbz#1579835
8631a2
- Make blscfg module loadable on other grub2 builds
8631a2
  Resolves: rhbz#1633646
8631a2
- Include blscfg module on ppc builds
8631a2
  Related: rhbz#1633646
8631a2
- Fix rpmdiff complaints about execstack
8631a2
  Related: rhbz#1633646
8631a2
8631a2
* Mon Sep 24 2018 Peter Jones <pjones@redhat.com> - 2.02-49
8631a2
- Add an installkernel script for BLS configurations
8631a2
  Related: rhbz#1619344
8631a2
8631a2
* Fri Sep 14 2018 Peter Jones <pjones@redhat.com> - 2.02-48
8631a2
- Go back to forcing all allocations on x86_64 to be 32-bit, as many UEFI
8631a2
  implementations seem to have drivers with DMA issues for addresses
8631a2
  above 4GB.
8631a2
  Resolves: rhbz#1628346
8631a2
8631a2
* Wed Sep 12 2018 Peter Jones <pjones@redhat.com> - 2.02-47
8631a2
- BLS fixes from the F29 tree
8631a2
  - Use /boot/loader/entries as BLS dir also on EFI systems
8631a2
  - Make 20-grub.install to exit if there is no machine ID set
8631a2
  - More fixes for BLS
8631a2
  Resolves: rhbz#1620954
8631a2
8631a2
* Mon Aug 27 2018 Peter Jones <pjones@redhat.com> - 2.02-46
8631a2
- Better memory allocation for kernel/initramfs on aarch64
8631a2
  Resolves: rhbz#1620954
8631a2
8631a2
* Tue Aug 14 2018 Peter Jones <pjones@redhat.com> - 2.02-45
8631a2
- Fix a typo in /etc/grub.d/01_fallback_counting
8631a2
  Resolves: rhbz#1615954
8631a2
8631a2
* Thu Aug 09 2018 Peter Jones <pjones@redhat.com> - 2.02-44
8631a2
- Rebased to newer upstream for fedora-29
8631a2
8631a2
* Thu Aug 09 2018 pjones <pjones@redhat.com> - 1:2.02-43
8631a2
- Rebased to newer upstream for fedora-29
8631a2
8631a2
* Tue Jul 17 2018 Peter Jones <pjones@redhat.com> - 2.02-42
8631a2
- Fix some minor BLS issues
8631a2
- Rework the FDT module linking to make aarch64 build and boot right
8631a2
  Resolves: rhbz#1601835
8631a2
8631a2
* Mon Jul 16 2018 pjones <pjones@redhat.com> - 2.02-41
8631a2
- Pull in newer sb patches that do a better job with config file writing
8631a2
8631a2
* Mon Jul 16 2018 Hans de Goede <hdegoede@redhat.com>
8631a2
- Make the user session automatically set the boot_success grubenv flag
8631a2
- Make offline-updates increment the boot_indeterminate grubenv variable
8631a2
8631a2
* Fri Jul 13 2018 Peter Jones <pjones@redhat.com> - 2.02-40
8631a2
- Revert broken moduledir fix in this tree as well.
8631a2
8631a2
* Tue Jul 10 2018 pjones <pjones@redhat.com> - 2.02-39
8631a2
- Fix our linuxefi/linux command reunion.
8631a2
8631a2
* Tue Jul 10 2018 pjones <pjones@redhat.com> - 2.02-38
8631a2
- Rebased to newer upstream for RHEL-8
8631a2
8631a2
* Wed May 16 2018 Peter Jones <pjones@redhat.com> - 2.02-37
8631a2
- Fixups to work with gcc 8
8631a2
- Experimental https boot support on UEFI
8631a2
- XFS fixes for sparse inode support
8631a2
  Resolves: rhbz#1575797
8631a2
8631a2
* Thu May 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-36
8631a2
- Use version field to sort BLS entries if id field isn't defined
8631a2
- Add version field to BLS fragments generated by 20-grub.install
8631a2
8631a2
* Tue Apr 24 2018 Peter Jones <pjones@redhat.com> - 2.02-35
8631a2
- A couple of fixes needed by Fedora Atomic - javierm
8631a2
8631a2
* Mon Apr 23 2018 Peter Jones <pjones@redhat.com> - 2.02-34
8631a2
- Put the os-prober dep back in - we need to change test plans and criteria
8631a2
  before it can go.
8631a2
  Resolves: rhbz#1569411
8631a2
8631a2
* Wed Apr 11 2018 Peter Jones <pjones@redhat.com> - 2.02-33
8631a2
- Work around some issues with older automake found in CentOS.
8631a2
- Make multiple initramfs images work in BLS.
8631a2
8631a2
* Wed Apr 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-32
8631a2
- Make 20-grub.install to generate debug BLS when MAKEDEBUG is set.
8631a2
8631a2
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-31
8631a2
- Pull in some TPM fixes I missed.
8631a2
8631a2
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-30
8631a2
- Enable TPM measurements
8631a2
- Set the default boot entry to the first entry when we're using BLS.
8631a2
8631a2
* Tue Apr 03 2018 Peter Jones <pjones@redhat.com> - 2.02-29
8631a2
- Add grub2-switch-to-blscfg
8631a2
- Fix for BLS paths on BIOS / non-UEFI (javierm)
8631a2
8631a2
* Fri Mar 09 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-28
8631a2
- Install kernel-install scripts.
8631a2
8631a2
* Tue Mar 06 2018 Peter Jones <pjones@redhat.com> - 2.02-27
8631a2
- Build the blscfg module in on EFI builds.
8631a2
8631a2
* Wed Feb 28 2018 Peter Jones <pjones@redhat.com> - 2.02-26
8631a2
- Try to fix things for new compiler madness.
8631a2
  I really don't know why gcc decided __attribute__((packed)) on a "typedef
8631a2
  struct" should imply __attribute__((align (1))) and that it should have a
8631a2
  warning that it does so.  The obvious behavior would be to keep the alignment
8631a2
  of the first element unless it's used in another object or type that /also/
8631a2
  hask the packed attribute.  Why should it change the default alignment at
8631a2
  all?
8631a2
- Merge in the BLS patches Javier and I wrote.
8631a2
- Attempt to fix pmtimer initialization failures to not be super duper slow.
8631a2
8631a2
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
8631a2
- Escape macros in %%changelog
8631a2
8631a2
* Tue Jan 23 2018 Peter Jones <pjones@redhat.com> - 2.02-24
8631a2
- Fix a merge error from 2.02-21 that affected kernel loading on Aarch64.
8631a2
  Related: rhbz#1519311
8631a2
  Related: rhbz#1506704
8631a2
  Related: rhbz#1502312
8631a2
8631a2
* Fri Jan 19 2018 Peter Jones <pjones@redhat.com> - 2.02-23
8631a2
- Only nerf annobin, not -fstack-crash-protection.
8631a2
- Fix a conflict on /boot/efi directory permissions between -cdboot and the
8631a2
  normal bootloader.
8631a2
8631a2
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-22
8631a2
- Nerf some gcc 7.2.1-6 'features' that cause grub to crash on start.
8631a2
8631a2
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-21
8631a2
- Fix grub2-efi-modules provides/obsoletes generation
8631a2
  Resolves: rhbz#1506704
8631a2
- *Also* build grub-efi-ia32{,-*,!-modules} packages for i686 builds
8631a2
  Resolves: rhbz#1502312
8631a2
- Make everything under /boot/efi be mode 0700, since that's what FAT will
8631a2
  show anyway.
8631a2
8631a2
* Wed Jan 17 2018 Peter Jones <pjones@redhat.com> - 2.02-20
8631a2
- Update to newer upstream for F28
8631a2
- Pull in patches for Apollo Lake hardware
8631a2
  Resolves: rhbz#1519311
8631a2
8631a2
* Tue Oct 24 2017 Peter Jones <pjones@redhat.com> - 2.02-19
8631a2
- Handle xen module loading (somewhat) better
8631a2
  Resolves: rhbz#1486002
8631a2
8631a2
* Wed Sep 20 2017 Peter Jones <pjones@redhat.com> - 2.02-18
8631a2
- Make grub2-efi-aa64 provide grub2
8631a2
  Resolves: rhbz#1491045
8631a2
8631a2
* Mon Sep 11 2017 Dennis Gilmore <dennis@ausil.us> - 2.02-17
8631a2
- bump for Obsoletes again
8631a2
8631a2
* Wed Sep 06 2017 Peter Jones <pjones@redhat.com> - 2.02-16
8631a2
- Fix Obsoletes on grub2-pc
8631a2
8631a2
* Wed Aug 30 2017 Petr Šabata <contyk@redhat.com> - 2.02-15
8631a2
- Limit the pattern matching in do_alt_efi_install to files to
8631a2
  unbreak module builds
8631a2
8631a2
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14
8631a2
- Revert the /usr/lib/.build-id/ change:
8631a2
  https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
8631a2
  says (without any particularly convincing reasoning):
8631a2
    The main build-id file should not be in the debuginfo file, but in the
8631a2
    main package (this was always a problem since the package and debuginfo
8631a2
    package installed might not match). If we want to make usr/lib/debug/ a
8631a2
    network resource then we will need to move the symlink to another
8631a2
    location (maybe /usr/lib/.build-id).
8631a2
  So do it that way.  Of course it doesn't matter, because exclude gets
8631a2
  ignored due to implementation details.
8631a2
8631a2
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13
8631a2
- Add some unconditional Provides:
8631a2
  grub2-efi on grub2-efi-${arch}
8631a2
  grub2-efi-cdboot on grub2-efi-${arch}-cdboot
8631a2
  grub2 on all grub2-${arch} pacakges
8631a2
- Something is somehow adding /usr/lib/.build-id/... to all the -tools
8631a2
  subpackages, so exclude all that.
8631a2
8631a2
* Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12
8631a2
- Fix arm kernel command line allocation
8631a2
  Resolves: rhbz#1484609
8631a2
- Get rid of the temporary extra efi packages hack.
8631a2
8631a2
* Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11
8631a2
- Put grub2-mkimage in -tools, not -tools-extra.
8631a2
- Fix i686 building
8631a2
- Fix ppc HFS+ usage due to /boot/efi's presence.
8631a2
8631a2
* Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10
8631a2
- Add the .img files into grub2-pc-modules (and all legacy variants)
8631a2
8631a2
* Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9
8631a2
- Re-work for ia32-efi.
8631a2
8631a2
* Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8
8631a2
- Rebased to newer upstream for fedora-27
8631a2
8631a2
* Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7
8631a2
- Rebuild again with new fixed rpm. (bug #1480407)
8631a2
8631a2
* Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6
8631a2
- Rebuild again with new fixed rpm. (bug #1480407)
8631a2
8631a2
* Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5
8631a2
- Rebuild for rpm soname bump again.
8631a2
8631a2
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4
8631a2
- Rebuilt for RPM soname bump
8631a2
8631a2
* Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3
8631a2
- Rebuild so it gets SB signed correctly.
8631a2
  Related: rhbz#1335533
8631a2
- Enable lsefi
8631a2
8631a2
* Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2
8631a2
- Fix symlink to work on both EFI and BIOS machines
8631a2
  Resolves: rhbz#1335533
8631a2
8631a2
* Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
8631a2
- Rebased to newer upstream for fedora-27
8631a2
8631a2
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39
8631a2
- Add missing %%license macro
8631a2
- Fix deps that should have moved to -tools but didn't.
8631a2
8631a2
* Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
8631a2
- Fix regexp in power compile flags, and synchronize release number with
8631a2
  other branches.
8631a2
8631a2
* Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37
8631a2
- Rebased to newer upstream for fedora-26
8631a2
8631a2
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
8631a2
- Update version to .36 because I already built an f25 one named 0.35
8631a2
8631a2
* Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35
8631a2
- Rebased to newer upstream for fedora-26
8631a2
8631a2
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
8631a2
- Fix power6 makefile bits for newer autoconf defaults.
8631a2
- efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek)
8631a2
  Resolves: rhbz#1347291
8631a2
8631a2
* Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
8631a2
- Update to be newer than f24's branch.
8631a2
- Add grub2-get-kernel-settings
8631a2
  Related: rhbz#1226325
8631a2
8631a2
* Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30
8631a2
- Revert 27e66193, which was replaced by upstream's 49426e9fd
8631a2
  Resolves: rhbz#1251600
8631a2
8631a2
* Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29
8631a2
- Fix ppc64 build failure and rebase to newer f24 code.
8631a2
8631a2
* Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
8631a2
- Pull TPM updates from mjg59.
8631a2
  Resolves: rhbz#1318067
8631a2
8631a2
* Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
8631a2
- Fix aarch64 build problem.
8631a2
8631a2
* Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26
8631a2
- Rebased to newer upstream (grub-2.02-beta3) for fedora-24
8631a2
8631a2
* Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25
8631a2
- Fix security issue when reading username and password
8631a2
  Related: CVE-2015-8370
8631a2
- Do a better job of handling GRUB2_PASSWORD
8631a2
  Related: rhbz#1284370
8631a2
8631a2
* Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
8631a2
- Rebuild without multiboot* modules in the EFI image.
8631a2
  Related: rhbz#1264103
8631a2
8631a2
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23
8631a2
- Rebuilt for librpm soname bump
8631a2
8631a2
* Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
8631a2
- Back out one of the debuginfo generation patches; it doesn't work right on
8631a2
  aarch64 yet.
8631a2
  Resolves: rhbz#1250197
8631a2
8631a2
* Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
8631a2
- The previous fix was completely not right, so fix it a different way.
8631a2
  Resolves: rhbz#1249668
8631a2
8631a2
* Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
8631a2
- Fix grub2-mkconfig's sort to put kernels in the right order.
8631a2
  Related: rhbz#1124074
8631a2
8631a2
* Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
8631a2
- Fix a build failure on aarch64
8631a2
8631a2
* Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
8631a2
- Don't build hardened (fixes FTBFS) (pbrobinson)
8631a2
- Reconcile with the current upstream
8631a2
- Fixes for gcc 5
8631a2
8631a2
* Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16
8631a2
- Make grub2-mkconfig produce the kernel titles we actually want.
8631a2
  Resolves: rhbz#1215839
8631a2
8631a2
* Sat Feb 21 2015 Till Maas <opensource@till.name>
8631a2
- Rebuilt for Fedora 23 Change
8631a2
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
8631a2
8631a2
* Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15
8631a2
- Bump release to rebuild with Ralf Corsépius's fixes.
8631a2
8631a2
* Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14
8631a2
- Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
8631a2
- Use sub-shell in %%__debug_install_post (RHBZ#1168732).
8631a2
- Cleanup grub2-starfield-theme packaging.
8631a2
8631a2
* Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
8631a2
- Update minilzo to 2.08 for CVE-2014-4607
8631a2
  Resolves: rhbz#1131793
8631a2
8631a2
* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
8631a2
- Make backtrace and usb conditional on !arm
8631a2
- Make sure gcdaa64.efi is packaged.
8631a2
  Resolves: rhbz#1163481
8631a2
8631a2
* Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
8631a2
- fix a copy-paste error in patch 0154.
8631a2
  Resolves: rhbz#964828
8631a2
8631a2
* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
8631a2
- Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
8631a2
  in 30_os-prober.
8631a2
  Resolves: rhbz#1108296
8631a2
- If $fw_path doesn't work to find the config file, try $prefix as well
8631a2
  Resolves: rhbz#1148652
8631a2
8631a2
* Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
8631a2
- Clean up the build a bit to make it faster
8631a2
- Make grubenv work right on UEFI machines
8631a2
  Related: rhbz#1119943
8631a2
- Sort debug and rescue kernels later than normal ones
8631a2
  Related: rhbz#1065360
8631a2
- Allow "fallback" to include entries by title as well as number.
8631a2
  Related: rhbz#1026084
8631a2
- Fix a segfault on aarch64.
8631a2
- Load arm with SB enabled if available.
8631a2
- Add some serial port options to GRUB_MODULES.
8631a2
8631a2
* Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
8631a2
- Add ppc64le support.
8631a2
  Resolves: rhbz#1125540
8631a2
8631a2
* Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7
8631a2
- Enabled syslinuxcfg module.
8631a2
8631a2
* Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6
8631a2
- Re-merge RHEL 7 changes and ARM works in progress.
8631a2
8631a2
* Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5
8631a2
- Avoid munging raw spaces when we're escaping command line arguments.
8631a2
  Resolves: rhbz#923374
8631a2
8631a2
* Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4
8631a2
- Update to latest upstream.
8631a2
8631a2
* Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3
8631a2
- Merge in RHEL 7 changes and ARM works in progress.
8631a2
8631a2
* Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
8631a2
- Update to grub-2.02~beta2
8631a2
8631a2
* Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25
8631a2
- Last build failed because of a hardware error on the builder.
8631a2
8631a2
* Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24
8631a2
- Fix compiler flags to deal with -fstack-protector-strong
8631a2
8631a2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24
8631a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8631a2
8631a2
* Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23
8631a2
- add epoch to obsoletes
8631a2
8631a2
* Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
8631a2
- Fix linewrapping in edit menu.
8631a2
  Resolves: rhbz #976643
8631a2
8631a2
* Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
8631a2
- Fix obsoletes to pull in -starfield-theme subpackage when it should.
8631a2
8631a2
* Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
8631a2
- Put the theme entirely ento the subpackage where it belongs (#974667)
8631a2
8631a2
* Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
8631a2
- Rebase to upstream snapshot.
8631a2
- Fix PPC build error (#967862)
8631a2
- Fix crash on net_bootp command (#960624)
8631a2
- Reset colors on ppc when appropriate (#908519)
8631a2
- Left align "Loading..." messages (#908492)
8631a2
- Fix probing of SAS disks on PPC (#953954)
8631a2
- Add support for UEFI OSes returned by os-prober
8631a2
- Disable "video" mode on PPC for now (#973205)
8631a2
- Make grub fit better into the boot sequence, visually (#966719)
8631a2
8631a2
* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
8631a2
- Move the starfield theme to a subpackage (#962004)
8631a2
- Don't allow SSE or MMX on UEFI builds (#949761)
8631a2
8631a2
* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
8631a2
- Rebase to upstream snapshot.
8631a2
8631a2
* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
8631a2
- Fix booting from drives with 4k sectors on UEFI.
8631a2
- Move bash completion to new location (#922997)
8631a2
- Include lvm support for /boot (#906203)
8631a2
8631a2
* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
8631a2
- Allow the user to disable submenu generation
8631a2
- (partially) support BLS-style configuration stanzas.
8631a2
8631a2
* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
8631a2
- Add various config file related changes.
8631a2
8631a2
* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
8631a2
- bump nvr
8631a2
8631a2
* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
8631a2
- add bootpath device to the device list (pfsmorigo, #886685)
8631a2
8631a2
* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
8631a2
- Add vlan tag support (pfsmorigo, #871563)
8631a2
- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
8631a2
- Improve search paths for config files on network boot (pfsmorigo, #873406)
8631a2
8631a2
* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
8631a2
- Don't load modules when grub transitions to "normal" mode on UEFI.
8631a2
8631a2
* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
8631a2
- Rebuild with newer pesign so we'll get signed with the final signing keys.
8631a2
8631a2
* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
8631a2
- Various PPC fixes.
8631a2
- Fix crash fetching from http (gustavold, #860834)
8631a2
- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
8631a2
- Support IBM CAS reboot (pfsmorigo, #859223)
8631a2
- Include all modules in the core image on ppc (pfsmorigo, #866559)
8631a2
8631a2
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
8631a2
- Work around bug with using "\x20" in linux command line.
8631a2
  Related: rhbz#855849
8631a2
8631a2
* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
8631a2
- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
8631a2
- Increase device path size for ieee1275
8631a2
  Resolves: rhbz#857936
8631a2
- Make network booting work on ieee1275 machines.
8631a2
  Resolves: rhbz#857936
8631a2
8631a2
* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
8631a2
- Add Apple partition map support for EFI
8631a2
8631a2
* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
8631a2
- Only require pesign on EFI architectures (#851215)
8631a2
8631a2
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
8631a2
- Work around AHCI firmware bug in efidisk driver.
8631a2
- Move to newer pesign macros
8631a2
- Don't allow insmod if we're in secure-boot mode.
8631a2
8631a2
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
8631a2
- Split module lists for UEFI boot vs UEFI cd images.
8631a2
- Add raid modules for UEFI image (related: #750794)
8631a2
- Include a prelink whitelist for binaries that need execstack (#839813)
8631a2
- Include fix efi memory map fix from upstream (#839363)
8631a2
8631a2
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
8631a2
- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
8631a2
- Sign with test keys on UEFI systems.
8631a2
- PPC - Handle device paths with commas correctly.
8631a2
  Related: rhbz#828740
8631a2
8631a2
* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
8631a2
- Add some more code to support Secure Boot, and temporarily disable
8631a2
  some other bits that don't work well enough yet.
8631a2
  Resolves: rhbz#836695
8631a2
8631a2
* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
8631a2
- Set a prefix for the image - needed for installer work
8631a2
- Provide the font in the EFI directory for the same reason
8631a2
8631a2
* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
8631a2
- Rebase to grub-2.00 release.
8631a2
8631a2
* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
8631a2
- Fix double-free in grub-probe.
8631a2
8631a2
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
8631a2
- Build with patch19 applied.
8631a2
8631a2
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
8631a2
- More ppc fixes.
8631a2
8631a2
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
8631a2
- Add IBM PPC fixes.
8631a2
8631a2
* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
8631a2
- Update to beta6.
8631a2
- Various fixes from mads.
8631a2
8631a2
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
8631a2
- Revert builddep change for crt1.o; it breaks ppc build.
8631a2
8631a2
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
8631a2
- Add fwsetup command (pjones)
8631a2
- More ppc fixes (IBM)
8631a2
8631a2
* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
8631a2
- Fix the /other/ grub2-tools require to include epoch.
8631a2
8631a2
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
8631a2
- Get rid of efi_uga and efi_gop, favoring all_video instead.
8631a2
8631a2
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
8631a2
- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
8631a2
- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
8631a2
- move common stuff to -tools (kiilerix)
8631a2
- spec file cleanups (kiilerix)
8631a2
8631a2
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
8631a2
- Fix module trampolining on ppc (benh)
8631a2
8631a2
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
8631a2
- Fix license of theme (mizmo)
8631a2
  Resolves: rhbz#820713
8631a2
- Fix some PPC bootloader detection IBM problem
8631a2
  Resolves: rhbz#820722
8631a2
8631a2
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
8631a2
- Update to beta5.
8631a2
- Update how efi building works (kiilerix)
8631a2
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
8631a2
8631a2
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
8631a2
- Include theme support (mizmo)
8631a2
- Include locale support (kiilerix)
8631a2
- Include html docs (kiilerix)
8631a2
8631a2
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
8631a2
- Various fixes from Mads Kiilerich
8631a2
8631a2
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
8631a2
- Update to 2.00~beta4
8631a2
- Make fonts work so we can do graphics reasonably
8631a2
8631a2
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
8631a2
- Fix ieee1275 platform define for ppc
8631a2
8631a2
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
8631a2
- Remove ppc excludearch lines (dwa)
8631a2
- Update ppc terminfo patch (hamzy)
8631a2
8631a2
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
8631a2
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
8631a2
- Fix version number to better match policy.
8631a2
8631a2
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
8631a2
- Add support for serial terminal consoles on PPC by Mark Hamzy
8631a2
8631a2
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
8631a2
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
8631a2
8631a2
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
8631a2
- Use --with-grubdir= on configure to make it behave like -17 did.
8631a2
8631a2
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
8631a2
- Rebase from 1.99 to 2.00~beta2
8631a2
8631a2
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
8631a2
- Update for newer autotools and gcc 4.7.0
8631a2
  Related: rhbz#782144
8631a2
- Add /etc/sysconfig/grub link to /etc/default/grub
8631a2
  Resolves: rhbz#800152
8631a2
- ExcludeArch s390*, which is not supported by this package.
8631a2
  Resolves: rhbz#758333
8631a2
8631a2
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
8631a2
- Build with -Os (bug 782144)
8631a2
8631a2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
8631a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8631a2
8631a2
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
8631a2
- fix up various grub2-efi issues
8631a2
8631a2
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
8631a2
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
8631a2
8631a2
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
8631a2
- Lots of .spec fixes from Mads Kiilerich:
8631a2
  Remove comment about update-grub - it isn't run in any scriptlets
8631a2
  patch info pages so they can be installed and removed correctly when renamed
8631a2
  fix references to grub/grub2 renames in info pages (#743964)
8631a2
  update README.Fedora (#734090)
8631a2
  fix comments for the hack for upgrading from grub2 < 1.99-4
8631a2
  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
8631a2
  make /etc/grub2*.cfg %%config(noreplace)
8631a2
  make grub.cfg %%ghost - an empty file is of no use anyway
8631a2
  create /etc/default/grub more like anaconda would create it (#678453)
8631a2
  don't create rescue entries by default - grubby will not maintain them anyway
8631a2
  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
8631a2
  grub2-efi should have its own bash completion
8631a2
  don't set gfxpayload in efi mode - backport upstream r3402
8631a2
- Handle dmraid better. Resolves: rhbz#742226
8631a2
8631a2
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
8631a2
- Rebuilt for glibc bug#747377
8631a2
8631a2
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
8631a2
- /etc/default/grub is explicitly intended for user customization, so
8631a2
  mark it as config(noreplace)
8631a2
8631a2
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
8631a2
- grub has an epoch, so we need that expressed in the obsolete as well.
8631a2
  Today isn't my day.
8631a2
8631a2
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
8631a2
- Fix my bad obsoletes syntax.
8631a2
8631a2
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
8631a2
- Obsolete grub
8631a2
  Resolves: rhbz#743381
8631a2
8631a2
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
8631a2
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
8631a2
  Related: rhbz#735259
8631a2
- handle initramfs on xen better (patch from Marko Ristola)
8631a2
  Resolves: rhbz#728775
8631a2
8631a2
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
8631a2
- Fix upgrades from grub2 < 1.99-4 (#735259)
8631a2
8631a2
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
8631a2
- Don't do sysadminny things in %%preun or %%post ever. (#735259)
8631a2
- Actually include the changelog in this build (sorry about -3)
8631a2
8631a2
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
8631a2
- Require os-prober (#678456) (patch from Elad Alfassa)
8631a2
- Require which (#734959) (patch from Elad Alfassa)
8631a2
8631a2
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
8631a2
- Update to grub-1.99 final.
8631a2
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
8631a2
- Various CFLAGS fixes (from Mads Kiilerich)
8631a2
  - -fexceptions and -m64
8631a2
- Temporarily ignore translations (from Mads Kiilerich)
8631a2
8631a2
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
8631a2
- Use /sbin not /usr/sbin .
8631a2
8631a2
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
8631a2
- Fixes for ppc and ppc64
8631a2
8631a2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
8631a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild