405247
%undefine _hardened_build
405247
bc092b
%global tarversion 2.02
28678c
%undefine _missing_build_ids_terminate_build
41c167
%global _configure_gnuconfig_hack 0
28678c
b50565
Name:		grub2
b50565
Epoch:		1
b50565
Version:	2.02
753122
Release:	61%{?dist}
b50565
Summary:	Bootloader with support for Linux, Multiboot and more
b50565
Group:		System Environment/Base
b50565
License:	GPLv3+
b50565
URL:		http://www.gnu.org/software/grub/
328405
Obsoletes:	grub < 1:0.98
b50565
Source0:	ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
52f24b
#Source0:	ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz
9d2fdd
Source1:	grub.macros
9d2fdd
Source2:	grub.patches
15a207
Source3:	release-to-master.patch
f06903
Source4:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
83183d
Source5:	theme.tar.bz2
4dcaf2
Source6:	gitignore
bc092b
Source8:	strtoull_test.c
61faef
Source9:	20-grub.install
2d1140
Source11:	installkernel-bls
2d1140
Source12:	installkernel.in
78a3d7
b50565
%include %{SOURCE1}
b50565
52f24b
# generate with do-rebase
b50565
%include %{SOURCE2}
ea2871
a52365
BuildRequires:	gcc efi-srpm-macros
a52365
BuildRequires:	flex bison binutils python3
b50565
BuildRequires:	ncurses-devel xz-devel bzip2-devel
b50565
BuildRequires:	freetype-devel libusb-devel
171351
BuildRequires:	rpm-devel
b50565
BuildRequires:	rpm-devel rpm-libs
b50565
BuildRequires:	autoconf automake autogen device-mapper-devel
1fcd61
BuildRequires:	freetype-devel gettext-devel git
b87b26
BuildRequires:	texinfo
171aab
BuildRequires:	dejavu-sans-fonts
William Jon McCann 909ac6
BuildRequires:	help2man
1d36e1
# For %%_userunitdir macro
1d36e1
BuildRequires:	systemd
b50565
%ifarch %{efi_arch}
66cba4
BuildRequires:	pesign >= 0.99-8
David Cantrell d38088
%endif
b50565
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
b50565
BuildRequires:	ccache
b50565
%endif
b50565
8d5631
ExcludeArch:	s390 s390x
b50565
Obsoletes:	%{name} <= %{evr}
b50565
b50565
%if 0%{with_legacy_arch}
b50565
Requires:	%{name}-%{legacy_package_arch} = %{evr}
b50565
%else
b50565
Requires:	%{name}-%{package_arch} = %{evr}
8c7f75
%endif
0e50f1
b50565
%global desc \
b50565
The GRand Unified Bootloader (GRUB) is a highly configurable and \
b50565
customizable bootloader with modular architecture.  It supports a rich \
b50565
variety of kernel formats, file systems, computer architectures and \
b50565
hardware devices.\
b50565
%{nil}
0e50f1
0e50f1
%description
b50565
%{desc}
b50565
b50565
%package common
b50565
Summary:	grub2 common layout
7d5b63
Group:		System Environment/Base
b50565
BuildArch:	noarch
66fa58
Conflicts:	grubby < 8.40-18
b50565
b50565
%description common
b50565
This package provides some directories which are required by various grub2
b50565
subpackages.
0e50f1
9ef0c0
%package tools
171351
Summary:	Support tools for GRUB.
9ef0c0
Group:		System Environment/Base
b50565
Obsoletes:	%{name}-tools < %{evr}
b50565
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
578b4d
Requires:	gettext os-prober which file
b50565
Requires(pre):	dracut
b50565
Requires(post):	dracut
9ef0c0
9ef0c0
%description tools
b50565
%{desc}
b50565
This subpackage provides tools for support of all platforms.
9ef0c0
b50565
%ifarch x86_64
b50565
%package tools-efi
b50565
Summary:	Support tools for GRUB.
fa0bb1
Group:		System Environment/Base
578b4d
Requires:	gettext os-prober which file
b50565
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565
Obsoletes:	%{name}-tools < %{evr}
fa0bb1
b50565
%description tools-efi
b50565
%{desc}
b50565
This subpackage provides tools for support of EFI platforms.
95e479
%endif
8c7f75
b50565
%package tools-minimal
b50565
Summary:	Support tools for GRUB.
b50565
Group:		System Environment/Base
b50565
Requires:	gettext
b50565
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565
Obsoletes:	%{name}-tools < %{evr}
ca7499
b50565
%description tools-minimal
b50565
%{desc}
b50565
This subpackage provides tools for support of all platforms.
b50565
b50565
%package tools-extra
b50565
Summary:	Support tools for GRUB.
b50565
Group:		System Environment/Base
578b4d
Requires:	gettext os-prober which file
b50565
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
b50565
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565
Obsoletes:	%{name}-tools < %{evr}
b50565
b50565
%description tools-extra
b50565
%{desc}
b50565
This subpackage provides tools for support of all platforms.
b50565
b50565
%if 0%{with_efi_arch}
152cdc
%{expand:%define_efi_variant %%{package_arch} -o}
8c7f75
%endif
b50565
%if 0%{with_alt_efi_arch}
b50565
%{expand:%define_efi_variant %%{alt_package_arch}}
8c7f75
%endif
b50565
%if 0%{with_legacy_arch}
b50565
%{expand:%define_legacy_variant %%{legacy_package_arch}}
95e479
%endif
95e479
b50565
%prep
b50565
%do_common_setup
b50565
%if 0%{with_efi_arch}
3619a3
mkdir grub-%{grubefiarch}-%{tarversion}
dbfd2e
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
3619a3
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
dbfd2e
git add grub-%{grubefiarch}-%{tarversion}
e04663
%endif
b50565
%if 0%{with_alt_efi_arch}
3619a3
mkdir grub-%{grubaltefiarch}-%{tarversion}
dbfd2e
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore
3619a3
cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz
dbfd2e
git add grub-%{grubaltefiarch}-%{tarversion}
b50565
%endif
b50565
%if 0%{with_legacy_arch}
3619a3
mkdir grub-%{grublegacyarch}-%{tarversion}
dbfd2e
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore
3619a3
cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz
dbfd2e
git add grub-%{grublegacyarch}-%{tarversion}
8c7f75
%endif
dbfd2e
git commit -m "After making subdirs"
0e50f1
b50565
%build
b50565
%if 0%{with_efi_arch}
8d5631
%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
b50565
%endif
b50565
%if 0%{with_alt_efi_arch}
8d5631
%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}}
b50565
%endif
b50565
%if 0%{with_legacy_arch}
b50565
%{expand:%do_legacy_build %%{grublegacyarch}}
b50565
%endif
3619a3
makeinfo --info --no-split -I docs -o docs/grub-dev.info \
3619a3
	docs/grub-dev.texi
3619a3
makeinfo --info --no-split -I docs -o docs/grub.info \
3619a3
	docs/grub.texi
3619a3
makeinfo --html --no-split -I docs -o docs/grub-dev.html \
3619a3
	docs/grub-dev.texi
3619a3
makeinfo --html --no-split -I docs -o docs/grub.html \
3619a3
	docs/grub.texi
0f31de
0e50f1
%install
0e50f1
set -e
0e50f1
rm -fr $RPM_BUILD_ROOT
95e479
b50565
%do_common_install
b50565
%if 0%{with_efi_arch}
b50565
%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
95e479
%endif
b50565
%if 0%{with_alt_efi_arch}
b50565
%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
8c7f75
%endif
b50565
%if 0%{with_legacy_arch}
a52365
%{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}}
b50565
%endif
b50565
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
a52365
ln -s %{name}-set-password ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-setpassword
a52365
echo '.so man8/%{name}-set-password.8' > ${RPM_BUILD_ROOT}/%{_datadir}/man/man8/%{name}-setpassword.8
41c167
%ifnarch x86_64
41c167
rm -vf ${RPM_BUILD_ROOT}/%{_bindir}/%{name}-render-label
41c167
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-bios-setup
41c167
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-macbless
41c167
%endif
0e50f1
72b5f5
%find_lang grub
72b5f5
5d4d47
# Make selinux happy with exec stack binaries.
5d4d47
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/
5d4d47
cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf
5d4d47
# these have execstack, and break under selinux
5d4d47
-b /usr/bin/grub2-script-check
5d4d47
-b /usr/bin/grub2-mkrelpath
5d4d47
-b /usr/bin/grub2-fstest
5d4d47
-b /usr/sbin/grub2-bios-setup
5d4d47
-b /usr/sbin/grub2-probe
5d4d47
-b /usr/sbin/grub2-sparc64-setup
5d4d47
EOF
5d4d47
61faef
# Install kernel-install scripts
c78952
install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/
78e1a1
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE9}
78e1a1
install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
78e1a1
install -m 0644 /dev/null %{buildroot}%{_sysconfdir}/kernel/install.d/20-grubby.install
78e1a1
install -m 0644 /dev/null %{buildroot}%{_sysconfdir}/kernel/install.d/90-loaderentry.install
1d36e1
# Install systemd user service to set the boot_success flag
1d36e1
install -D -m 0755 -t %{buildroot}%{_userunitdir} \
1d36e1
	docs/grub-boot-success.{timer,service}
1d36e1
install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants
1d36e1
ln -s ../grub-boot-success.timer \
1d36e1
	%{buildroot}%{_userunitdir}/timers.target.wants
1d36e1
# Install systemd system-update unit to set boot_indeterminate for offline-upd
1d36e1
install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
1d36e1
install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
1d36e1
ln -s ../grub-boot-indeterminate.service \
1d36e1
	%{buildroot}%{_unitdir}/system-update.target.wants
61faef
2d1140
# Install installkernel script
2d1140
mkdir -p %{buildroot}%{_libexecdir}/installkernel/
2d1140
cp -v %{SOURCE11} %{buildroot}%{_libexecdir}/installkernel/
2d1140
sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/installkernel,g" %{SOURCE12} \
2d1140
	> %{buildroot}%{_sbindir}/installkernel
2d1140
ee7733
# Don't run debuginfo on all the grub modules and whatnot; it just
ee7733
# rejects them, complains, and slows down extraction.
ee7733
%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
ee7733
ee7733
%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
b50565
%define __debug_install_post (						\
b50565
	mkdir -p %{finddebugroot}/usr					\
b50565
	mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin		\
b50565
	mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin		\
b50565
	%{dip}								\
ee7733
	install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/	\
ee7733
	cp -al %{finddebugroot}/usr/lib/debug/				\\\
ee7733
		%{buildroot}/usr/lib/debug/				\
ee7733
	cp -al %{finddebugroot}/usr/src/debug/				\\\
b50565
		%{buildroot}/usr/src/debug/ )				\
b50565
	mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin		\
b50565
	mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin		\
b50565
	%{nil}
ee7733
b50565
%undefine buildsubdir
b50565
bf8e18
%pre tools
bf8e18
if [ -f /boot/grub2/user.cfg ]; then
bf8e18
    if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then
bf8e18
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg
bf8e18
    fi
a52365
elif [ -f %{efi_esp_dir}/user.cfg ]; then
a52365
    if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then
bf8e18
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
a52365
	    %{efi_esp_dir}/user.cfg
bf8e18
    fi
bf8e18
elif [ -f /etc/grub.d/01_users ] && \
bf8e18
	grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
a52365
    if [ -f %{efi_esp_dir}/grub.cfg ]; then
bf8e18
	# on EFI we don't get permissions on the file, but
bf8e18
	# the directory is protected.
bf8e18
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
bf8e18
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
a52365
	    > %{efi_esp_dir}/user.cfg
bf8e18
    fi
bf8e18
    if [ -f /boot/grub2/grub.cfg ]; then
bf8e18
	install -m 0600 /dev/null /boot/grub2/user.cfg
bf8e18
	chmod 0600 /boot/grub2/user.cfg
bf8e18
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
bf8e18
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
bf8e18
	    > /boot/grub2/user.cfg
bf8e18
    fi
bf8e18
fi
bf8e18
767f98
%post tools
1fcd61
if [ "$1" = 1 ]; then
6092ed
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
6092ed
	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
1fcd61
fi
0e50f1
e37600
%triggerun -- grub2 < 1:1.99-4
eb5089
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
eb5089
# from the affected grub2 packages, we first back up the files in triggerun and
eb5089
# later restore them in triggerpostun.
eb5089
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
e37600
eb5089
# Back up the files before uninstalling old grub2
eb5089
mkdir -p /boot/grub2.tmp &&
1156d4
mv -f /boot/grub2/*.mod \
eb5089
      /boot/grub2/*.img \
eb5089
      /boot/grub2/*.lst \
eb5089
      /boot/grub2/device.map \
eb5089
      /boot/grub2.tmp/ || :
eb5089
eb5089
%triggerpostun -- grub2 < 1:1.99-4
eb5089
# ... and restore the files.
eb5089
test ! -f /boot/grub2/device.map &&
eb5089
test -d /boot/grub2.tmp &&
eb5089
mv -f /boot/grub2.tmp/*.mod \
eb5089
      /boot/grub2.tmp/*.img \
eb5089
      /boot/grub2.tmp/*.lst \
eb5089
      /boot/grub2.tmp/device.map \
eb5089
      /boot/grub2/ &&
eb5089
rm -r /boot/grub2.tmp/ || :
eb5089
767f98
%preun tools
1fcd61
if [ "$1" = 0 ]; then
6092ed
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
6092ed
	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
1fcd61
fi
0e50f1
b50565
%files common -f grub.lang
b50565
%dir %{_libdir}/grub/
b50565
%dir %{_datarootdir}/grub/
b50565
%dir %{_datarootdir}/grub/themes/
b50565
%exclude %{_datarootdir}/grub/themes/*
b50565
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
61faef
%{_prefix}/lib/kernel/install.d/20-grub.install
61faef
%{_sysconfdir}/kernel/install.d/20-grubby.install
61faef
%{_sysconfdir}/kernel/install.d/90-loaderentry.install
2d1140
%dir %{_libexecdir}/installkernel
2d1140
%{_libexecdir}/installkernel/installkernel-bls
2d1140
%attr(0755,root,root) %{_sbindir}/installkernel
b50565
%dir %{_datarootdir}/grub
b50565
%exclude %{_datarootdir}/grub/*
b50565
%dir /boot/%{name}
b50565
%dir /boot/%{name}/themes/
b50565
%dir /boot/%{name}/themes/system
b50565
%exclude /boot/%{name}/themes/system/*
b50565
%attr(0700,root,root) %dir /boot/grub2
b50565
%exclude /boot/grub2/*
a52365
%dir %attr(0700,root,root) %{efi_esp_dir}
a52365
%exclude %{efi_esp_dir}/*
b50565
%license COPYING
b50565
%ghost %config(noreplace) /boot/grub2/grubenv
b50565
%doc INSTALL
b50565
%doc NEWS
b50565
%doc README
b50565
%doc THANKS
b50565
%doc TODO
b50565
%doc docs/grub.html
b50565
%doc docs/grub-dev.html
b50565
%doc docs/font_char_metrics.png
0e50f1
b50565
%files tools-minimal
b50565
%{_sysconfdir}/prelink.conf.d/grub2.conf
b50565
%{_sbindir}/%{name}-get-kernel-settings
ace3c2
%attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag
b50565
%{_sbindir}/%{name}-set-default
a52365
%{_sbindir}/%{name}-set*password
b50565
%{_bindir}/%{name}-editenv
b50565
%{_bindir}/%{name}-mkpasswd-pbkdf2
b50565
b50565
%{_datadir}/man/man3/%{name}-get-kernel-settings*
b50565
%{_datadir}/man/man8/%{name}-set-default*
a52365
%{_datadir}/man/man8/%{name}-set*password*
b50565
%{_datadir}/man/man1/%{name}-editenv*
b50565
%{_datadir}/man/man1/%{name}-mkpasswd-*
b50565
dcee99
%ifarch x86_64
b50565
%files tools-efi
b50565
%{_sbindir}/%{name}-macbless
b50565
%{_bindir}/%{name}-render-label
b50565
%{_datadir}/man/man8/%{name}-macbless*
b50565
%{_datadir}/man/man1/%{name}-render-label*
9ef0c0
%endif
9ef0c0
b50565
%files tools
b50565
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
b50565
%config %{_sysconfdir}/grub.d/??_*
b50565
%{_sysconfdir}/grub.d/README
1d36e1
%{_userunitdir}/grub-boot-success.timer
1d36e1
%{_userunitdir}/grub-boot-success.service
1d36e1
%{_userunitdir}/timers.target.wants
1d36e1
%{_unitdir}/grub-boot-indeterminate.service
1d36e1
%{_unitdir}/system-update.target.wants
b50565
%{_infodir}/%{name}*
fa0bb1
%{_datarootdir}/grub/*
f06903
%{_sbindir}/%{name}-install
b50565
%exclude %{_datarootdir}/grub/themes
b50565
%exclude %{_datarootdir}/grub/*.h
b50565
%{_datarootdir}/bash-completion/completions/grub
481bf3
%{_sbindir}/%{name}-mkconfig
78e1a1
%{_sbindir}/%{name}-switch-to-blscfg
f06903
%{_sbindir}/%{name}-probe
f4c76c
%{_sbindir}/%{name}-rpm-sort
b50565
%{_sbindir}/%{name}-reboot
481bf3
%{_bindir}/%{name}-file
b50565
%{_bindir}/%{name}-menulst2cfg
71e0fb
%{_bindir}/%{name}-mkimage
b50565
%{_bindir}/%{name}-mkrelpath
b50565
%{_bindir}/%{name}-script-check
b50565
%{_datadir}/man/man?/*
b50565
b50565
# exclude man pages from tools-extra
b50565
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
b50565
%exclude %{_datadir}/man/man8/%{name}-install*
b50565
%exclude %{_datadir}/man/man1/%{name}-fstest*
b50565
%exclude %{_datadir}/man/man1/%{name}-glue-efi*
b50565
%exclude %{_datadir}/man/man1/%{name}-kbdcomp*
b50565
%exclude %{_datadir}/man/man1/%{name}-mkfont*
b50565
%exclude %{_datadir}/man/man1/%{name}-mklayout*
b50565
%exclude %{_datadir}/man/man1/%{name}-mknetdir*
b50565
%exclude %{_datadir}/man/man1/%{name}-mkrescue*
b50565
%exclude %{_datadir}/man/man1/%{name}-mkstandalone*
b50565
%exclude %{_datadir}/man/man1/%{name}-syslinux2cfg*
b50565
b50565
# exclude man pages from tools-minimal
b50565
%exclude %{_datadir}/man/man3/%{name}-get-kernel-settings*
b50565
%exclude %{_datadir}/man/man8/%{name}-set-default*
a52365
%exclude %{_datadir}/man/man8/%{name}-set*password*
b50565
%exclude %{_datadir}/man/man1/%{name}-editenv*
b50565
%exclude %{_datadir}/man/man1/%{name}-mkpasswd-*
b50565
%exclude %{_datadir}/man/man8/%{name}-macbless*
b50565
%exclude %{_datadir}/man/man1/%{name}-render-label*
b50565
b50565
%if %{with_legacy_arch}
b50565
%{_sbindir}/%{name}-install
dcee99
%ifarch x86_64
b50565
%{_sbindir}/%{name}-bios-setup
b50565
%else
b50565
%exclude %{_sbindir}/%{name}-bios-setup
b50565
%exclude %{_datadir}/man/man8/%{name}-bios-setup*
b50565
%endif
b50565
%ifarch %{sparc}
b50565
%{_sbindir}/%{name}-sparc64-setup
b50565
%else
b50565
%exclude %{_sbindir}/%{name}-sparc64-setup
b50565
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
b50565
%endif
b50565
%ifarch %{sparc} ppc ppc64 ppc64le
b50565
%{_sbindir}/%{name}-ofpathname
b50565
%else
b50565
%exclude %{_sbindir}/%{name}-ofpathname
b50565
%exclude %{_datadir}/man/man8/%{name}-ofpathname*
b50565
%endif
b50565
%endif
b50565
b50565
%files tools-extra
b50565
%{_sbindir}/%{name}-sparc64-setup
b50565
%{_sbindir}/%{name}-ofpathname
a72f2b
%{_bindir}/%{name}-fstest
481bf3
%{_bindir}/%{name}-glue-efi
1fcd61
%{_bindir}/%{name}-kbdcomp
a72f2b
%{_bindir}/%{name}-mkfont
481bf3
%{_bindir}/%{name}-mklayout
481bf3
%{_bindir}/%{name}-mknetdir
34399b
%ifnarch %{sparc}
a72f2b
%{_bindir}/%{name}-mkrescue
34399b
%endif
481bf3
%{_bindir}/%{name}-mkstandalone
481bf3
%{_bindir}/%{name}-syslinux2cfg
62a7c9
%{_sysconfdir}/sysconfig/grub
b50565
%{_datadir}/man/man8/%{name}-sparc64-setup*
b50565
%{_datadir}/man/man8/%{name}-install*
b50565
%{_datadir}/man/man1/%{name}-fstest*
b50565
%{_datadir}/man/man1/%{name}-glue-efi*
b50565
%{_datadir}/man/man1/%{name}-kbdcomp*
b50565
%{_datadir}/man/man1/%{name}-mkfont*
b50565
%{_datadir}/man/man1/%{name}-mklayout*
b50565
%{_datadir}/man/man1/%{name}-mknetdir*
b50565
%{_datadir}/man/man1/%{name}-mkrescue*
b50565
%{_datadir}/man/man1/%{name}-mkstandalone*
b50565
%{_datadir}/man/man8/%{name}-ofpathname*
b50565
%{_datadir}/man/man1/%{name}-syslinux2cfg*
b50565
%exclude %{_datarootdir}/grub/themes/starfield
b50565
b50565
%if 0%{with_efi_arch}
b50565
%{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
b50565
%endif
b50565
%if 0%{with_alt_efi_arch}
b50565
%{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}}
b50565
%endif
b50565
%if 0%{with_legacy_arch}
b50565
%{expand:%define_legacy_variant_files %%{legacy_package_arch} %%{grublegacyarch}}
b50565
%endif
fa0bb1
0e50f1
%changelog
753122
* Wed Oct 03 2018 Peter Jones <pjones@redhat.com> - 2.02-61
753122
- Fix the fallback counting script even harder. Apparently, this wasn't
753122
  tested well enough.
753122
  Resolves: rhbz#1614637
753122
a3bfe3
* Tue Oct 02 2018 Peter Jones <pjones@redhat.com> - 2.02-60
a3bfe3
- Fix grub.cfg boot counting snippet generation (lorbus)
a3bfe3
  Resolves: rhbz#1614637
a3bfe3
- Fix spurrious allocation error reporting on EFI boot
a3bfe3
  Resolves: rhbz#1635319
a3bfe3
- Stop doing TPM on BIOS *again*.  It just doesn't work.
a3bfe3
  Related: rhbz#1579835
a3bfe3
- Make blscfg module loadable on older grub2 i386-pc and powerpc-ieee1275
a3bfe3
  builds
a3bfe3
- Fix execstack cropping up in grub2-tools
a3bfe3
- Ban stack trampolines with compiler flags.
a3bfe3
ace3c2
* Tue Sep 25 2018 Hans de Goede <hdegoede@redhat.com> - 2.02-59
ace3c2
- Stop using pkexec for grub2-set-bootflag, it does not work under gdm
ace3c2
  instead make it suid root (it was written with this in mind)
ace3c2
e30274
* Tue Sep 25 2018 Peter Jones <pjones@redhat.com>
e30274
- Use bounce buffers for addresses above 4GB
e30274
- Allow initramfs, cmdline, and params >4GB, but not kernel
e30274
c4e6bf
* Wed Sep 12 2018 Peter Jones <pjones@redhat.com> - 2.02-58
c4e6bf
- Add 2 conditions to boot-success timer and service:
c4e6bf
  - Don't run it for system users
c4e6bf
  Resolves: rhbz#1592201
c4e6bf
  - Don't run it when pkexec isn't available
c4e6bf
  Resolves: rhbz#1619445
c4e6bf
- Use -Wsign-compare -Wconversion -Wextra in the build.
c4e6bf
98536e
* Tue Sep 11 2018 Peter Jones <pjones@redhat.com> - 2.02-57
98536e
- Limit grub_malloc() on x86_64 to < 31bit addresses, as some devices seem to
98536e
  have a colossally broken storage controller (or UEFI driver) that can't do
98536e
  DMA to higher memory addresses, but fails silently.
98536e
  Resolves: rhbz#1626844 (possibly really resolving it this time.)
98536e
- Also integrate Hans's attempt to fix the related error from -54, but do it
98536e
  the other way around: try the low addresses first and *then* the high one if
98536e
  the allocation fails.  This way we'll get low regions by default, and if
98536e
  kernel/initramfs don't fit anywhere, it'll try the higher addresses.
98536e
  Related: rhbz#1624532
98536e
- Coalesce all the intermediate debugging junk from -54/-55/-56.
98536e
371309
* Tue Sep 11 2018 Peter Jones <pjones@redhat.com> - 2.02-56
371309
- Don't mangle fw_path even harder.
371309
  Resolves: rhbz#1626844
371309
- Fix reboot being missing on some platforms, and make it alias to
371309
  "reset" as well.
371309
- More dprintf().
371309
0c7274
* Mon Sep 10 2018 Peter Jones <pjones@redhat.com> - 2.02-55
76df82
- Fix UEFI memory problem in a different way.
0c7274
  Related: rhbz#1624532
76df82
- Don't mangle fw_path with a / unless we're on http
76df82
  Resolves: rhbz#1626844
0c7274
1b5108
* Fri Sep 07 2018 Kevin Fenzi <kevin@scrye.com> - 2.02-54
1b5108
- Add patch from https://github.com/rhboot/grub2/pull/30 to fix uefi booting
0c7274
  Resolves: rhbz#1624532
1b5108
66fa58
* Thu Aug 30 2018 Peter Jones <pjones@redhat.com> - 2.02-53
c2f7a5
- Fix AArch64 machines with no RAM latched lower than 1GB 
c2f7a5
  Resolves: rhbz#1615969
c2f7a5
- Set http_path and http_url when HTTP booting
c2f7a5
- Hopefully slightly better error reporting in some cases
c2f7a5
- Better allocation of kernel+initramfs on x86_64 and aarch64
c2f7a5
  Resolves: rhbz#1572126
c2f7a5
66fa58
* Mon Aug 20 2018 Peter Jones <pjones@redhat.com> - 2.02-52
66fa58
- Update conflicts on grubby not to care about %%{?dist}
66fa58
c87b93
* Sun Aug 19 2018 Peter Jones <pjones@redhat.com> - 2.02-51
c87b93
- Make it quieter.
c87b93
bed013
* Thu Aug 16 2018 Peter Jones <pjones@redhat.com> - 2.02-50
bed013
- Fix arm32 off-by-one error on reading the PE header.
bed013
f0ceaa
* Tue Aug 14 2018 Peter Jones <pjones@redhat.com> - 2.02-50
f0ceaa
- Fix typo in /etc/grub.d/01_fallback_counting
f0ceaa
  Resolves: rhbz#1614637
f0ceaa
2d1140
* Fri Aug 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-50
2d1140
- Add an installkernel script for BLS configurations
2d1140
4892e6
* Tue Aug 07 2018 Peter Jones <pjones@redhat.com> - 2.02-49
4892e6
- Temporarily make -cdboot perms 0700 again.
4892e6
73bf90
* Fri Aug 03 2018 Peter Jones <pjones@redhat.com> - 2.02-48
73bf90
- Kill .note.gnu.property with fire.
73bf90
  Resolves: rhbz#1612339
73bf90
3e07ee
* Thu Aug 02 2018 Peter Jones <pjones@redhat.com> - 2.02-47
3e07ee
- Enable armv7 EFI builds.  This was way harder than I expected.
3e07ee
1f9267
* Tue Jul 17 2018 Peter Jones <pjones@redhat.com> - 2.02-46
1f9267
- Fix some minor BLS issues
1f9267
- Rework the FDT module linking to make aarch64 build and boot right
1f9267
ad4aff
* Mon Jul 16 2018 pjones <pjones@redhat.com> - 2.02-45
ad4aff
- Rework SB patches and 10_linux.in changes even harder.
ad4aff
  Resolves: rhbz#1601578
ad4aff
1d36e1
* Mon Jul 16 2018 Hans de Goede <hdegoede@redhat.com> - 2.02-44
1d36e1
- Make the user session automatically set the boot_success grubenv flag
1d36e1
- Make offline-updates increment the boot_indeterminate grubenv variable
1d36e1
ce0f49
* Mon Jul 16 2018 pjones <pjones@redhat.com> - 2.02-43
ce0f49
- Rework SB patches and 10_linux.in changes
ce0f49
e08eb3
* Fri Jul 13 2018 Peter Jones <pjones@redhat.com> - 2.02-42
e08eb3
- Revert broken moduledir fix *again*.
e08eb3
321567
* Thu Jul 12 2018 Peter Jones <pjones@redhat.com> - 2.02-41
321567
- Fix our linuxefi/linux command reunion.
321567
a52365
* Wed Jul 11 2018 Peter Jones <pjones@redhat.com> - 2.02-40
a52365
- Port several fixes from the F28 tree and a WIP tree.
a52365
cee225
* Mon Jul 09 2018 pjones <pjones@redhat.com> - 2.02-39
cee225
- Fix my fix of grub2-switch-to-blscfg (javierm and pjones)
cee225
cee225
* Mon Jul 02 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-38
cee225
- Use BLS fragment filename as menu entry id and for sort criterion
cee225
cee225
* Tue Jun 26 2018 Javier Martinez Canillas <javierm@redhat.com>
cee225
- Cleanups and fixes for grub2-switch-to-blscfg (pjones)
cee225
- Use /boot/loader/entries as BLS dir also on EFI (javierm)
cee225
cee225
* Tue Jun 19 2018 Peter Jones <pjones@redhat.com> - 2.02-37
cee225
- Fix some TPM errors on 32-bit (hdegoede)
cee225
- More fixups to avoid compiler changes (pjones)
cee225
- Put lsmmap into the EFI builds (pjones)
cee225
  Related: rhbz#1572126
cee225
- Make 20-grub.install to exit if there is no machine ID set (javierm)
cee225
  Resolves: rhbz#1576573
cee225
- More fixes for BLS (javierm)
cee225
  Resolves: rhbz#1588184
cee225
cee225
* Wed May 16 2018 Peter Jones <pjones@redhat.com> - 2.02-37.fc29
63f1a9
- Fixups to work with gcc 8
63f1a9
- Experimental https boot support on UEFI
63f1a9
- XFS fixes for sparse inode support
63f1a9
  Resolves: rhbz#1575797
63f1a9
dc178a
* Thu May 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-36
dc178a
- Use version field to sort BLS entries if id field isn't defined
dc178a
- Add version field to BLS fragments generated by 20-grub.install
dc178a
a8d8dc
* Tue Apr 24 2018 Peter Jones <pjones@redhat.com> - 2.02-35
a8d8dc
- A couple of fixes needed by Fedora Atomic - javierm
a8d8dc
578b4d
* Mon Apr 23 2018 Peter Jones <pjones@redhat.com> - 2.02-34
578b4d
- Put the os-prober dep back in - we need to change test plans and criteria
578b4d
  before it can go.
578b4d
  Resolves: rhbz#1569411
578b4d
c78952
* Wed Apr 11 2018 Peter Jones <pjones@redhat.com> - 2.02-33
c78952
- Work around some issues with older automake found in CentOS.
fb3328
- Make multiple initramfs images work in BLS.
c78952
ed50db
* Wed Apr 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-32
ed50db
- Make 20-grub.install to generate debug BLS when MAKEDEBUG is set.
ed50db
4fd69f
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-31
4fd69f
- Pull in some TPM fixes I missed.
4fd69f
0bcec2
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-30
0bcec2
- Enable TPM measurements
0bcec2
- Set the default boot entry to the first entry when we're using BLS.
0bcec2
78e1a1
* Tue Apr 03 2018 Peter Jones <pjones@redhat.com> - 2.02-29
78e1a1
- Fix for BLS paths on BIOS / non-UEFI (javierm)
78e1a1
cee225
* Fri Mar 16 2018 Peter Jones <pjones@redhat.com> - 2.02-28
cee225
- Install kernel-install scripts. (javierm)
cee225
- Add grub2-switch-to-blscfg
61faef
06b68a
* Tue Mar 06 2018 Peter Jones <pjones@redhat.com> - 2.02-27
06b68a
- Build the blscfg module in on EFI builds.
06b68a
ec4acb
* Wed Feb 28 2018 Peter Jones <pjones@redhat.com> - 2.02-26
ec4acb
- Try to fix things for new compiler madness.
ec4acb
  I really don't know why gcc decided __attribute__((packed)) on a "typedef
ec4acb
  struct" should imply __attribute__((align (1))) and that it should have a
ec4acb
  warning that it does so.  The obvious behavior would be to keep the alignment
ec4acb
  of the first element unless it's used in another object or type that /also/
ec4acb
  hask the packed attribute.  Why should it change the default alignment at
ec4acb
  all?
ec4acb
- Merge in the BLS patches Javier and I wrote.
ec4acb
- Attempt to fix pmtimer initialization failures to not be super duper slow.
ec4acb
8bbfda
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
8bbfda
- Escape macros in %%changelog
8bbfda
8b3d20
* Tue Jan 23 2018 Peter Jones <pjones@redhat.com> - 2.02-24
8b3d20
- Fix a merge error from 2.02-21 that affected kernel loading on Aarch64.
8b3d20
  Related: rhbz#1519311
8b3d20
  Related: rhbz#1506704
8b3d20
  Related: rhbz#1502312
8b3d20
d51395
* Fri Jan 19 2018 Peter Jones <pjones@redhat.com> - 2.02-23
d51395
- Only nerf annobin, not -fstack-crash-protection.
d51395
- Fix a conflict on /boot/efi directory permissions between -cdboot and the
d51395
  normal bootloader.
d51395
28076b
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-22
28076b
- Nerf some gcc 7.2.1-6 'features' that cause grub to crash on start.
28076b
a91fed
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-21
a91fed
- Fix grub2-efi-modules provides/obsoletes generation
a91fed
  Resolves: rhbz#1506704
a91fed
- *Also* build grub-efi-ia32{,-*,!-modules} packages for i686 builds
a91fed
  Resolves: rhbz#1502312
8cceee
- Make everything under /boot/efi be mode 0700, since that's what FAT will
8cceee
  show anyway.
8cceee
da63b3
* Wed Jan 17 2018 Peter Jones <pjones@redhat.com> - 2.02-20
da63b3
- Update to newer upstream for F28
da63b3
- Pull in patches for Apollo Lake hardware
da63b3
  Resolves: rhbz#1519311
da63b3
307d01
* Tue Oct 24 2017 Peter Jones <pjones@redhat.com> - 2.02-19
307d01
- Handle xen module loading (somewhat) better
307d01
  Resolves: rhbz#1486002
307d01
e1f4c0
* Wed Sep 20 2017 Peter Jones <pjones@redhat.com> - 2.02-18
e1f4c0
- Make grub2-efi-aa64 provide grub2
e1f4c0
  Resolves: rhbz#1491045
e1f4c0
8887fc
* Mon Sep 11 2017 Dennis Gilmore <dennis@ausil.us> - 2.02-17
8887fc
- bump for Obsoletes again
8887fc
b52a72
* Wed Sep 06 2017 Peter Jones <pjones@redhat.com> - 2.02-16
b52a72
- Fix Obsoletes on grub2-pc
b52a72
Petr Šabata 50a9c3
* Wed Aug 30 2017 Petr Šabata <contyk@redhat.com> - 2.02-15
Petr Šabata 50a9c3
- Limit the pattern matching in do_alt_efi_install to files to
Petr Šabata 50a9c3
  unbreak module builds
Petr Šabata 50a9c3
7849a8
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14
7849a8
- Revert the /usr/lib/.build-id/ change:
7849a8
  https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
7849a8
  says (without any particularly convincing reasoning):
7849a8
    The main build-id file should not be in the debuginfo file, but in the
7849a8
    main package (this was always a problem since the package and debuginfo
7849a8
    package installed might not match). If we want to make usr/lib/debug/ a
7849a8
    network resource then we will need to move the symlink to another
7849a8
    location (maybe /usr/lib/.build-id).
7849a8
  So do it that way.  Of course it doesn't matter, because exclude gets
7849a8
  ignored due to implementation details.
7849a8
152cdc
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13
152cdc
- Add some unconditional Provides:
152cdc
  grub2-efi on grub2-efi-${arch}
152cdc
  grub2-efi-cdboot on grub2-efi-${arch}-cdboot
152cdc
  grub2 on all grub2-${arch} pacakges
152cdc
- Something is somehow adding /usr/lib/.build-id/... to all the -tools
152cdc
  subpackages, so exclude all that.
152cdc
1300d7
* Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12
1300d7
- Fix arm kernel command line allocation
1300d7
  Resolves: rhbz#1484609
1300d7
- Get rid of the temporary extra efi packages hack.
1300d7
53a417
* Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11
71e0fb
- Put grub2-mkimage in -tools, not -tools-extra.
53a417
- Fix i686 building
53a417
- Fix ppc HFS+ usage due to /boot/efi's presence.
71e0fb
31ea67
* Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10
31ea67
- Add the .img files into grub2-pc-modules (and all legacy variants)
31ea67
b50565
* Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9
b50565
- Re-work for ia32-efi.
b50565
b50565
* Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8
bbc6a8
- Rebased to newer upstream for fedora-27
bbc6a8
47f2da
* Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7
47f2da
- Rebuild again with new fixed rpm. (bug #1480407)
47f2da
21962f
* Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6
21962f
- Rebuild again with new fixed rpm. (bug #1480407)
21962f
e3cdc1
* Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5
e3cdc1
- Rebuild for rpm soname bump again.
e3cdc1
e3cdc1
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4
Igor Gnatenko 5e05db
- Rebuilt for RPM soname bump
Igor Gnatenko 5e05db
dd8457
* Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3
dd8457
- Rebuild so it gets SB signed correctly.
dd8457
  Related: rhbz#1335533
dd8457
- Enable lsefi
dd8457
749540
* Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2
749540
- Fix symlink to work on both EFI and BIOS machines
749540
  Resolves: rhbz#1335533
749540
bc092b
* Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
bc092b
- Rebased to newer upstream for fedora-27
bc092b
eea0c0
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39
eea0c0
- Add missing %%license macro
6d8e18
- Fix deps that should have moved to -tools but didn't.
eea0c0
819251
* Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
819251
- Fix regexp in power compile flags, and synchronize release number with
819251
  other branches.
819251
377f5f
* Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37
377f5f
- Rebased to newer upstream for fedora-26
377f5f
1f6f8c
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
1f6f8c
- Update version to .36 because I already built an f25 one named 0.35
1f6f8c
475000
* Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35
475000
- Rebased to newer upstream for fedora-26
475000
7c83ce
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
7c83ce
- Fix power6 makefile bits for newer autoconf defaults.
ced107
- efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek)
ced107
  Resolves: rhbz#1347291
7c83ce
9d15b4
* Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
9d15b4
- Update to be newer than f24's branch.
9d15b4
- Add grub2-get-kernel-settings
9d15b4
  Related: rhbz#1226325
9d15b4
336bf3
* Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30
336bf3
- Revert 27e66193, which was replaced by upstream's 49426e9fd
336bf3
  Resolves: rhbz#1251600
336bf3
171351
* Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29
171351
- Fix ppc64 build failure and rebase to newer f24 code.
171351
0ac23e
* Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
0ac23e
- Pull TPM updates from mjg59.
0ac23e
  Resolves: rhbz#1318067
0ac23e
171351
* Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
171351
- Fix aarch64 build problem.
171351
b9efc5
* Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26
b9efc5
- Rebased to newer upstream (grub-2.02-beta3) for fedora-24
b9efc5
bf8e18
* Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25
bf8e18
- Fix security issue when reading username and password
bf8e18
  Related: CVE-2015-8370
bf8e18
- Do a better job of handling GRUB2_PASSWORD
bf8e18
  Related: rhbz#1284370
bf8e18
d979a7
* Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
d979a7
- Rebuild without multiboot* modules in the EFI image.
d979a7
  Related: rhbz#1264103
d979a7
f66adb
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23
2926da
- Rebuilt for librpm soname bump
2926da
3e24dd
* Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
3e24dd
- Back out one of the debuginfo generation patches; it doesn't work right on
3e24dd
  aarch64 yet.
3e24dd
  Resolves: rhbz#1250197
3e24dd
ea2871
* Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
ea2871
- The previous fix was completely not right, so fix it a different way.
ea2871
  Resolves: rhbz#1249668
ea2871
Robert Marshall 7b9896
* Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
Robert Marshall 7b9896
- Fix grub2-mkconfig's sort to put kernels in the right order.
Robert Marshall 7b9896
  Related: rhbz#1124074
Robert Marshall 7b9896
8facab
* Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
8facab
- Fix a build failure on aarch64
8facab
f4c76c
* Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
f4c76c
- Don't build hardened (fixes FTBFS) (pbrobinson)
f4c76c
- Reconcile with the current upstream
f4c76c
- Fixes for gcc 5
405247
d1197b
* Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16
d1197b
- Make grub2-mkconfig produce the kernel titles we actually want.
d1197b
  Resolves: rhbz#1215839
d1197b
d1197b
* Sat Feb 21 2015 Till Maas <opensource@till.name>
ac484f
- Rebuilt for Fedora 23 Change
ac484f
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
ac484f
eb2c2e
* Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15
eb2c2e
- Bump release to rebuild with Ralf Corsépius's fixes.
eb2c2e
767f98
* Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14
767f98
- Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
767f98
- Use sub-shell in %%__debug_install_post (RHBZ#1168732).
767f98
- Cleanup grub2-starfield-theme packaging.
767f98
87ae4b
* Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
87ae4b
- Update minilzo to 2.08 for CVE-2014-4607
87ae4b
  Resolves: rhbz#1131793
87ae4b
497ed2
* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
497ed2
- Make backtrace and usb conditional on !arm
497ed2
- Make sure gcdaa64.efi is packaged.
497ed2
  Resolves: rhbz#1163481
497ed2
dea271
* Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
dea271
- fix a copy-paste error in patch 0154.
dea271
  Resolves: rhbz#964828
dea271
9d85b1
* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
9d85b1
- Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
9d85b1
  in 30_os-prober.
9d85b1
  Resolves: rhbz#1108296
9d85b1
- If $fw_path doesn't work to find the config file, try $prefix as well
9d85b1
  Resolves: rhbz#1148652
9d85b1
58fe9a
* Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
58fe9a
- Clean up the build a bit to make it faster
58fe9a
- Make grubenv work right on UEFI machines
58fe9a
  Related: rhbz#1119943
58fe9a
- Sort debug and rescue kernels later than normal ones
58fe9a
  Related: rhbz#1065360
58fe9a
- Allow "fallback" to include entries by title as well as number.
58fe9a
  Related: rhbz#1026084
58fe9a
- Fix a segfault on aarch64.
58fe9a
- Load arm with SB enabled if available.
58fe9a
- Add some serial port options to GRUB_MODULES.
58fe9a
4dcaf2
* Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
4dcaf2
- Add ppc64le support.
4dcaf2
  Resolves: rhbz#1125540
4dcaf2
bcda47
* Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7
bcda47
- Enabled syslinuxcfg module.
bcda47
37b39b
* Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6
37b39b
- Re-merge RHEL 7 changes and ARM works in progress.
37b39b
f17892
* Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5
f17892
- Avoid munging raw spaces when we're escaping command line arguments.
f17892
  Resolves: rhbz#923374
f17892
011fe8
* Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4
011fe8
- Update to latest upstream.
011fe8
78a3d7
* Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3
78a3d7
- Merge in RHEL 7 changes and ARM works in progress.
78a3d7
481bf3
* Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
481bf3
- Update to grub-2.02~beta2
481bf3
39307a
* Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25
39307a
- Last build failed because of a hardware error on the builder.
39307a
739a29
* Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24
739a29
- Fix compiler flags to deal with -fstack-protector-strong
739a29
54c637
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24
54c637
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
54c637
d0b05a
* Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23
4a42f9
- add epoch to obsoletes
4a42f9
954673
* Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
38f72d
- Fix linewrapping in edit menu.
38f72d
  Resolves: rhbz #976643
38f72d
9c5e36
* Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
9c5e36
- Fix obsoletes to pull in -starfield-theme subpackage when it should.
9c5e36
ab71b4
* Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
ab71b4
- Put the theme entirely ento the subpackage where it belongs (#974667)
ab71b4
f74b50
* Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
31004e
- Rebase to upstream snapshot.
f74b50
- Fix PPC build error (#967862)
f74b50
- Fix crash on net_bootp command (#960624)
f74b50
- Reset colors on ppc when appropriate (#908519)
f74b50
- Left align "Loading..." messages (#908492)
f74b50
- Fix probing of SAS disks on PPC (#953954)
f74b50
- Add support for UEFI OSes returned by os-prober
f74b50
- Disable "video" mode on PPC for now (#973205)
f74b50
- Make grub fit better into the boot sequence, visually (#966719)
31004e
fa0bb1
* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
fa0bb1
- Move the starfield theme to a subpackage (#962004)
ed8842
- Don't allow SSE or MMX on UEFI builds (#949761)
fa0bb1
a5bd9f
* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
a5bd9f
- Rebase to upstream snapshot.
a5bd9f
50b8f8
* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
3ad78f
- Fix booting from drives with 4k sectors on UEFI.
50b8f8
- Move bash completion to new location (#922997)
50b8f8
- Include lvm support for /boot (#906203)
3ad78f
56aa73
* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
56aa73
- Allow the user to disable submenu generation
56aa73
- (partially) support BLS-style configuration stanzas.
56aa73
2ea29c
* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
2ea29c
- Add various config file related changes.
2ea29c
d86e0a
* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
d86e0a
- bump nvr
d86e0a
83401c
* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
83401c
- add bootpath device to the device list (pfsmorigo, #886685)
83401c
5e0db2
* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
5e0db2
- Add vlan tag support (pfsmorigo, #871563)
5e0db2
- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
5e0db2
- Improve search paths for config files on network boot (pfsmorigo, #873406)
5e0db2
478803
* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
478803
- Don't load modules when grub transitions to "normal" mode on UEFI.
478803
5598b7
* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
66cba4
- Rebuild with newer pesign so we'll get signed with the final signing keys.
66cba4
f2e563
* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
f2e563
- Various PPC fixes.
f2e563
- Fix crash fetching from http (gustavold, #860834)
f2e563
- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
f2e563
- Support IBM CAS reboot (pfsmorigo, #859223)
f2e563
- Include all modules in the core image on ppc (pfsmorigo, #866559)
f2e563
c84946
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
c84946
- Work around bug with using "\x20" in linux command line.
c84946
  Related: rhbz#855849
c84946
9d7848
* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
9d7848
- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
9d7848
- Increase device path size for ieee1275
9d7848
  Resolves: rhbz#857936
9d7848
- Make network booting work on ieee1275 machines.
9d7848
  Resolves: rhbz#857936
9d7848
Matthew Garrett 62fd5b
* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
Matthew Garrett 62fd5b
- Add Apple partition map support for EFI
Matthew Garrett 62fd5b
David Cantrell d38088
* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
David Cantrell d38088
- Only require pesign on EFI architectures (#851215)
David Cantrell d38088
f742f4
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
c1a25d
- Work around AHCI firmware bug in efidisk driver.
f742f4
- Move to newer pesign macros
f742f4
- Don't allow insmod if we're in secure-boot mode.
f742f4
5d4d47
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
5d4d47
- Split module lists for UEFI boot vs UEFI cd images.
5d4d47
- Add raid modules for UEFI image (related: #750794)
5d4d47
- Include a prelink whitelist for binaries that need execstack (#839813)
945dd8
- Include fix efi memory map fix from upstream (#839363)
5d4d47
711f8a
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
711f8a
- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
711f8a
- Sign with test keys on UEFI systems.
711f8a
- PPC - Handle device paths with commas correctly.
711f8a
  Related: rhbz#828740
Josh Boyer 204724
58a808
* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
58a808
- Add some more code to support Secure Boot, and temporarily disable
58a808
  some other bits that don't work well enough yet.
58a808
  Resolves: rhbz#836695
58a808
58a808
* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
58a808
- Set a prefix for the image - needed for installer work
58a808
- Provide the font in the EFI directory for the same reason
58a808
a37bba
* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
a37bba
- Rebase to grub-2.00 release.
a37bba
8205be
* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
8205be
- Fix double-free in grub-probe.
8205be
c4a749
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
c4a749
- Build with patch19 applied.
c4a749
ad9805
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
ad9805
- More ppc fixes.
ad9805
fc6558
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
fc6558
- Add IBM PPC fixes.
fc6558
37801c
* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
460f2c
- Update to beta6.
460f2c
- Various fixes from mads.
460f2c
bd43da
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
bd43da
- Revert builddep change for crt1.o; it breaks ppc build.
bd43da
f3c723
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
f3c723
- Add fwsetup command (pjones)
f3c723
- More ppc fixes (IBM)
f3c723
827350
* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
827350
- Fix the /other/ grub2-tools require to include epoch.
827350
c10845
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
c10845
- Get rid of efi_uga and efi_gop, favoring all_video instead.
c10845
8d4efa
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
8d4efa
- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
8d4efa
- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
8d4efa
- move common stuff to -tools (kiilerix)
8d4efa
- spec file cleanups (kiilerix)
8d4efa
ed858e
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
ed858e
- Fix module trampolining on ppc (benh)
ed858e
9f9108
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
f7d870
- Fix license of theme (mizmo)
f7d870
  Resolves: rhbz#820713
31ad4e
- Fix some PPC bootloader detection IBM problem
31ad4e
  Resolves: rhbz#820722
f7d870
44de02
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
44de02
- Update to beta5.
44de02
- Update how efi building works (kiilerix)
4a93db
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
44de02
f45c3d
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
f45c3d
- Include theme support (mizmo)
f45c3d
- Include locale support (kiilerix)
f45c3d
- Include html docs (kiilerix)
f45c3d
0e6e69
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
3bcbea
- Various fixes from Mads Kiilerich
3bcbea
f06903
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
f06903
- Update to 2.00~beta4
f06903
- Make fonts work so we can do graphics reasonably
f06903
David W. Aquilina 81e64b
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
David W. Aquilina 81e64b
- Fix ieee1275 platform define for ppc
David W. Aquilina 81e64b
c96730
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
c96730
- Remove ppc excludearch lines (dwa)
c96730
- Update ppc terminfo patch (hamzy)
c96730
6950aa
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
6950aa
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
6950aa
- Fix version number to better match policy.
6950aa
f2a9f1
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
f2a9f1
- Add support for serial terminal consoles on PPC by Mark Hamzy
f2a9f1
e91c77
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
e91c77
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
e91c77
1baa27
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
1baa27
- Use --with-grubdir= on configure to make it behave like -17 did.
1baa27
28678c
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
28678c
- Rebase from 1.99 to 2.00~beta2
c7429b
645dc6
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
645dc6
- Update for newer autotools and gcc 4.7.0
645dc6
  Related: rhbz#782144
62a7c9
- Add /etc/sysconfig/grub link to /etc/default/grub
62a7c9
  Resolves: rhbz#800152
c07e9a
- ExcludeArch s390*, which is not supported by this package.
c07e9a
  Resolves: rhbz#758333
c07e9a
62a7c9
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
62a7c9
- Build with -Os (bug 782144)
62a7c9
62a7c9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
62a7c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62a7c9
62a7c9
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
62a7c9
- fix up various grub2-efi issues
62a7c9
6c1e12
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
6c1e12
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
6c1e12
212d82
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
212d82
- Lots of .spec fixes from Mads Kiilerich:
212d82
  Remove comment about update-grub - it isn't run in any scriptlets
212d82
  patch info pages so they can be installed and removed correctly when renamed
212d82
  fix references to grub/grub2 renames in info pages (#743964)
212d82
  update README.Fedora (#734090)
212d82
  fix comments for the hack for upgrading from grub2 < 1.99-4
212d82
  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
8bbfda
  make /etc/grub2*.cfg %%config(noreplace)
8bbfda
  make grub.cfg %%ghost - an empty file is of no use anyway
212d82
  create /etc/default/grub more like anaconda would create it (#678453)
212d82
  don't create rescue entries by default - grubby will not maintain them anyway
212d82
  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
212d82
  grub2-efi should have its own bash completion
212d82
  don't set gfxpayload in efi mode - backport upstream r3402
212d82
- Handle dmraid better. Resolves: rhbz#742226
212d82
7cabf5
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
7cabf5
- Rebuilt for glibc bug#747377
7cabf5
7c419b
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
7c419b
- /etc/default/grub is explicitly intended for user customization, so
7c419b
  mark it as config(noreplace)
7c419b
328405
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
328405
- grub has an epoch, so we need that expressed in the obsolete as well.
328405
  Today isn't my day.
328405
ba6990
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
ba6990
- Fix my bad obsoletes syntax.
ba6990
5606a4
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
5606a4
- Obsolete grub
5606a4
  Resolves: rhbz#743381
5606a4
1156d4
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
1156d4
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
1156d4
  Related: rhbz#735259
1156d4
- handle initramfs on xen better (patch from Marko Ristola)
1156d4
  Resolves: rhbz#728775
1156d4
eb5089
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
eb5089
- Fix upgrades from grub2 < 1.99-4 (#735259)
eb5089
6098d1
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
8bbfda
- Don't do sysadminny things in %%preun or %%post ever. (#735259)
6098d1
- Actually include the changelog in this build (sorry about -3)
6098d1
62686d
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
62686d
- Require os-prober (#678456) (patch from Elad Alfassa)
62686d
- Require which (#734959) (patch from Elad Alfassa)
62686d
ee1d6d
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
ee1d6d
- Update to grub-1.99 final.
ee1d6d
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
ee1d6d
- Various CFLAGS fixes (from Mads Kiilerich)
ee1d6d
  - -fexceptions and -m64
ee1d6d
- Temporarily ignore translations (from Mads Kiilerich)
ee1d6d
b35cdf
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
b35cdf
- Use /sbin not /usr/sbin .
b35cdf
b577e7
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
b577e7
- Fixes for ppc and ppc64
b577e7
623306
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
623306
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild