4052477
%undefine _hardened_build
4052477
bc092b9
%global tarversion 2.02
28678c2
%undefine _missing_build_ids_terminate_build
41c1671
%global _configure_gnuconfig_hack 0
28678c2
b50565e
Name:		grub2
b50565e
Epoch:		1
b50565e
Version:	2.02
04d3824
Release:	89%{?dist}
b50565e
Summary:	Bootloader with support for Linux, Multiboot and more
b50565e
License:	GPLv3+
b50565e
URL:		http://www.gnu.org/software/grub/
328405c
Obsoletes:	grub < 1:0.98
b50565e
Source0:	ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
52f24b7
#Source0:	ftp://ftp.gnu.org/gnu/grub/grub-%%{tarversion}.tar.xz
9d2fddc
Source1:	grub.macros
9d2fddc
Source2:	grub.patches
15a2072
Source3:	release-to-master.patch
f06903e
Source4:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
83183d5
Source5:	theme.tar.bz2
4dcaf21
Source6:	gitignore
bc092b9
Source8:	strtoull_test.c
61faef6
Source9:	20-grub.install
420527a
Source13:	99-grub-mkconfig.install
78a3d7d
b50565e
%include %{SOURCE1}
b50565e
52f24b7
# generate with do-rebase
b50565e
%include %{SOURCE2}
ea2871d
a52365a
BuildRequires:	gcc efi-srpm-macros
a52365a
BuildRequires:	flex bison binutils python3
b50565e
BuildRequires:	ncurses-devel xz-devel bzip2-devel
b50565e
BuildRequires:	freetype-devel libusb-devel
0b428f2
BuildRequires:	fuse-devel
b50565e
BuildRequires:	rpm-devel rpm-libs
b50565e
BuildRequires:	autoconf automake autogen device-mapper-devel
1fcd613
BuildRequires:	freetype-devel gettext-devel git
b87b26e
BuildRequires:	texinfo
171aabb
BuildRequires:	dejavu-sans-fonts
William Jon McCann 909ac68
BuildRequires:	help2man
1d36e19
# For %%_userunitdir macro
1d36e19
BuildRequires:	systemd
b50565e
%ifarch %{efi_arch}
66cba4f
BuildRequires:	pesign >= 0.99-8
David Cantrell d38088e
%endif
b50565e
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
b50565e
BuildRequires:	ccache
b50565e
%endif
b50565e
8d56311
ExcludeArch:	s390 s390x
b50565e
Obsoletes:	%{name} <= %{evr}
b50565e
b50565e
%if 0%{with_legacy_arch}
b50565e
Requires:	%{name}-%{legacy_package_arch} = %{evr}
b50565e
%else
b50565e
Requires:	%{name}-%{package_arch} = %{evr}
8c7f759
%endif
0e50f1f
b50565e
%global desc \
b50565e
The GRand Unified Bootloader (GRUB) is a highly configurable and \
b50565e
customizable bootloader with modular architecture.  It supports a rich \
b50565e
variety of kernel formats, file systems, computer architectures and \
b50565e
hardware devices.\
b50565e
%{nil}
0e50f1f
0e50f1f
%description
b50565e
%{desc}
b50565e
b50565e
%package common
b50565e
Summary:	grub2 common layout
b50565e
BuildArch:	noarch
66fa586
Conflicts:	grubby < 8.40-18
b50565e
b50565e
%description common
b50565e
This package provides some directories which are required by various grub2
b50565e
subpackages.
0e50f1f
9ef0c08
%package tools
1713515
Summary:	Support tools for GRUB.
b50565e
Obsoletes:	%{name}-tools < %{evr}
b50565e
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
578b4d7
Requires:	gettext os-prober which file
b50565e
Requires(pre):	dracut
b50565e
Requires(post):	dracut
9ef0c08
9ef0c08
%description tools
b50565e
%{desc}
b50565e
This subpackage provides tools for support of all platforms.
9ef0c08
b50565e
%ifarch x86_64
b50565e
%package tools-efi
b50565e
Summary:	Support tools for GRUB.
578b4d7
Requires:	gettext os-prober which file
b50565e
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565e
Obsoletes:	%{name}-tools < %{evr}
fa0bb1c
b50565e
%description tools-efi
b50565e
%{desc}
b50565e
This subpackage provides tools for support of EFI platforms.
95e479d
%endif
8c7f759
b50565e
%package tools-minimal
b50565e
Summary:	Support tools for GRUB.
b50565e
Requires:	gettext
b50565e
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565e
Obsoletes:	%{name}-tools < %{evr}
ca74990
b50565e
%description tools-minimal
b50565e
%{desc}
b50565e
This subpackage provides tools for support of all platforms.
b50565e
b50565e
%package tools-extra
b50565e
Summary:	Support tools for GRUB.
578b4d7
Requires:	gettext os-prober which file
b50565e
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
b50565e
Requires:	%{name}-common = %{epoch}:%{version}-%{release}
b50565e
Obsoletes:	%{name}-tools < %{evr}
b50565e
b50565e
%description tools-extra
b50565e
%{desc}
b50565e
This subpackage provides tools for support of all platforms.
b50565e
b50565e
%if 0%{with_efi_arch}
152cdcd
%{expand:%define_efi_variant %%{package_arch} -o}
8c7f759
%endif
b50565e
%if 0%{with_alt_efi_arch}
b50565e
%{expand:%define_efi_variant %%{alt_package_arch}}
8c7f759
%endif
b50565e
%if 0%{with_legacy_arch}
b50565e
%{expand:%define_legacy_variant %%{legacy_package_arch}}
95e479d
%endif
95e479d
a18e8e6
%if 0%{with_emu_arch}
a18e8e6
%package emu
a18e8e6
Summary:	GRUB user-space emulation.
a18e8e6
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
a18e8e6
a18e8e6
%description emu
a18e8e6
%{desc}
a18e8e6
This subpackage provides the GRUB user-space emulation support of all platforms.
a18e8e6
a18e8e6
%package emu-modules
a18e8e6
Summary:	GRUB user-space emulation modules.
a18e8e6
Requires:	%{name}-tools-minimal = %{epoch}:%{version}-%{release}
a18e8e6
a18e8e6
%description emu-modules
a18e8e6
%{desc}
a18e8e6
This subpackage provides the GRUB user-space emulation modules.
a18e8e6
%endif
a18e8e6
b50565e
%prep
b50565e
%do_common_setup
b50565e
%if 0%{with_efi_arch}
3619a3f
mkdir grub-%{grubefiarch}-%{tarversion}
dbfd2e6
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
3619a3f
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
dbfd2e6
git add grub-%{grubefiarch}-%{tarversion}
e046631
%endif
b50565e
%if 0%{with_alt_efi_arch}
3619a3f
mkdir grub-%{grubaltefiarch}-%{tarversion}
dbfd2e6
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore
3619a3f
cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz
dbfd2e6
git add grub-%{grubaltefiarch}-%{tarversion}
b50565e
%endif
b50565e
%if 0%{with_legacy_arch}
3619a3f
mkdir grub-%{grublegacyarch}-%{tarversion}
dbfd2e6
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore
3619a3f
cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz
dbfd2e6
git add grub-%{grublegacyarch}-%{tarversion}
8c7f759
%endif
a18e8e6
%if 0%{with_emu_arch}
a18e8e6
mkdir grub-emu-%{tarversion}
a18e8e6
grep -A100000 '# stuff "make" creates' .gitignore > grub-emu-%{tarversion}/.gitignore
a18e8e6
cp %{SOURCE4} grub-emu-%{tarversion}/unifont.pcf.gz
a18e8e6
git add grub-emu-%{tarversion}
a18e8e6
%endif
dbfd2e6
git commit -m "After making subdirs"
0e50f1f
b50565e
%build
b50565e
%if 0%{with_efi_arch}
8d56311
%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
b50565e
%endif
b50565e
%if 0%{with_alt_efi_arch}
8d56311
%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}}
b50565e
%endif
b50565e
%if 0%{with_legacy_arch}
b50565e
%{expand:%do_legacy_build %%{grublegacyarch}}
b50565e
%endif
a18e8e6
%if 0%{with_emu_arch}
a18e8e6
%{expand:%do_emu_build}
a18e8e6
%endif
3619a3f
makeinfo --info --no-split -I docs -o docs/grub-dev.info \
3619a3f
	docs/grub-dev.texi
3619a3f
makeinfo --info --no-split -I docs -o docs/grub.info \
3619a3f
	docs/grub.texi
3619a3f
makeinfo --html --no-split -I docs -o docs/grub-dev.html \
3619a3f
	docs/grub-dev.texi
3619a3f
makeinfo --html --no-split -I docs -o docs/grub.html \
3619a3f
	docs/grub.texi
0f31deb
0e50f1f
%install
0e50f1f
set -e
0e50f1f
rm -fr $RPM_BUILD_ROOT
95e479d
b50565e
%do_common_install
b50565e
%if 0%{with_efi_arch}
b50565e
%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
95e479d
%endif
b50565e
%if 0%{with_alt_efi_arch}
b50565e
%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
8c7f759
%endif
b50565e
%if 0%{with_legacy_arch}
a52365a
%{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}}
b50565e
%endif
a18e8e6
%if 0%{with_emu_arch}
a18e8e6
%{expand:%do_emu_install %%{package_arch}}
a18e8e6
%endif
b50565e
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
a52365a
ln -s %{name}-set-password ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-setpassword
a52365a
echo '.so man8/%{name}-set-password.8' > ${RPM_BUILD_ROOT}/%{_datadir}/man/man8/%{name}-setpassword.8
41c1671
%ifnarch x86_64
41c1671
rm -vf ${RPM_BUILD_ROOT}/%{_bindir}/%{name}-render-label
41c1671
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-bios-setup
41c1671
rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-macbless
41c1671
%endif
0e50f1f
72b5f59
%find_lang grub
72b5f59
5d4d477
# Make selinux happy with exec stack binaries.
5d4d477
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/
5d4d477
cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf
5d4d477
# these have execstack, and break under selinux
5d4d477
-b /usr/bin/grub2-script-check
5d4d477
-b /usr/bin/grub2-mkrelpath
0b428f2
-b /usr/bin/grub2-mount
5d4d477
-b /usr/bin/grub2-fstest
5d4d477
-b /usr/sbin/grub2-bios-setup
5d4d477
-b /usr/sbin/grub2-probe
5d4d477
-b /usr/sbin/grub2-sparc64-setup
5d4d477
EOF
5d4d477
61faef6
# Install kernel-install scripts
c789522
install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/
78e1a10
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE9}
420527a
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE13}
78e1a10
install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
1d36e19
# Install systemd user service to set the boot_success flag
1d36e19
install -D -m 0755 -t %{buildroot}%{_userunitdir} \
1d36e19
	docs/grub-boot-success.{timer,service}
1d36e19
install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants
1d36e19
ln -s ../grub-boot-success.timer \
1d36e19
	%{buildroot}%{_userunitdir}/timers.target.wants
1d36e19
# Install systemd system-update unit to set boot_indeterminate for offline-upd
1d36e19
install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
1d36e19
install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
1d36e19
ln -s ../grub-boot-indeterminate.service \
1d36e19
	%{buildroot}%{_unitdir}/system-update.target.wants
61faef6
ee7733c
# Don't run debuginfo on all the grub modules and whatnot; it just
ee7733c
# rejects them, complains, and slows down extraction.
ee7733c
%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
ee7733c
ee7733c
%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
b50565e
%define __debug_install_post (						\
b50565e
	mkdir -p %{finddebugroot}/usr					\
b50565e
	mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin		\
b50565e
	mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin		\
b50565e
	%{dip}								\
ee7733c
	install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/	\
ee7733c
	cp -al %{finddebugroot}/usr/lib/debug/				\\\
ee7733c
		%{buildroot}/usr/lib/debug/				\
ee7733c
	cp -al %{finddebugroot}/usr/src/debug/				\\\
b50565e
		%{buildroot}/usr/src/debug/ )				\
b50565e
	mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin		\
b50565e
	mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin		\
b50565e
	%{nil}
ee7733c
b50565e
%undefine buildsubdir
b50565e
bf8e18b
%pre tools
bf8e18b
if [ -f /boot/grub2/user.cfg ]; then
bf8e18b
    if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then
bf8e18b
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg
bf8e18b
    fi
a52365a
elif [ -f %{efi_esp_dir}/user.cfg ]; then
a52365a
    if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then
bf8e18b
	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
a52365a
	    %{efi_esp_dir}/user.cfg
bf8e18b
    fi
bf8e18b
elif [ -f /etc/grub.d/01_users ] && \
bf8e18b
	grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
a52365a
    if [ -f %{efi_esp_dir}/grub.cfg ]; then
bf8e18b
	# on EFI we don't get permissions on the file, but
bf8e18b
	# the directory is protected.
bf8e18b
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
bf8e18b
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
a52365a
	    > %{efi_esp_dir}/user.cfg
bf8e18b
    fi
bf8e18b
    if [ -f /boot/grub2/grub.cfg ]; then
bf8e18b
	install -m 0600 /dev/null /boot/grub2/user.cfg
bf8e18b
	chmod 0600 /boot/grub2/user.cfg
bf8e18b
	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
bf8e18b
		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
bf8e18b
	    > /boot/grub2/user.cfg
bf8e18b
    fi
bf8e18b
fi
bf8e18b
173fb18
%posttrans tools
a7449e2
173fb18
if [ -f /etc/default/grub ]; then
298aa12
    ! grep -q '^GRUB_ENABLE_BLSCFG=.*' /etc/default/grub && \
a7449e2
      /sbin/grub2-switch-to-blscfg --backup-suffix=.rpmsave &>/dev/null || :
a7449e2
fi
a7449e2
e376009
%triggerun -- grub2 < 1:1.99-4
eb5089f
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
eb5089f
# from the affected grub2 packages, we first back up the files in triggerun and
eb5089f
# later restore them in triggerpostun.
eb5089f
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
e376009
eb5089f
# Back up the files before uninstalling old grub2
eb5089f
mkdir -p /boot/grub2.tmp &&
1156d47
mv -f /boot/grub2/*.mod \
eb5089f
      /boot/grub2/*.img \
eb5089f
      /boot/grub2/*.lst \
eb5089f
      /boot/grub2/device.map \
eb5089f
      /boot/grub2.tmp/ || :
eb5089f
eb5089f
%triggerpostun -- grub2 < 1:1.99-4
eb5089f
# ... and restore the files.
eb5089f
test ! -f /boot/grub2/device.map &&
eb5089f
test -d /boot/grub2.tmp &&
eb5089f
mv -f /boot/grub2.tmp/*.mod \
eb5089f
      /boot/grub2.tmp/*.img \
eb5089f
      /boot/grub2.tmp/*.lst \
eb5089f
      /boot/grub2.tmp/device.map \
eb5089f
      /boot/grub2/ &&
eb5089f
rm -r /boot/grub2.tmp/ || :
eb5089f
b50565e
%files common -f grub.lang
b50565e
%dir %{_libdir}/grub/
b50565e
%dir %{_datarootdir}/grub/
b50565e
%dir %{_datarootdir}/grub/themes/
b50565e
%exclude %{_datarootdir}/grub/themes/*
b50565e
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
61faef6
%{_prefix}/lib/kernel/install.d/20-grub.install
420527a
%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
b50565e
%dir %{_datarootdir}/grub
b50565e
%exclude %{_datarootdir}/grub/*
b50565e
%dir /boot/%{name}
b50565e
%dir /boot/%{name}/themes/
b50565e
%dir /boot/%{name}/themes/system
b50565e
%exclude /boot/%{name}/themes/system/*
b50565e
%attr(0700,root,root) %dir /boot/grub2
b50565e
%exclude /boot/grub2/*
a52365a
%dir %attr(0700,root,root) %{efi_esp_dir}
a52365a
%exclude %{efi_esp_dir}/*
b50565e
%license COPYING
b50565e
%ghost %config(noreplace) /boot/grub2/grubenv
b50565e
%doc INSTALL
b50565e
%doc NEWS
b50565e
%doc README
b50565e
%doc THANKS
b50565e
%doc TODO
b50565e
%doc docs/grub.html
b50565e
%doc docs/grub-dev.html
b50565e
%doc docs/font_char_metrics.png
0e50f1f
b50565e
%files tools-minimal
b50565e
%{_sysconfdir}/prelink.conf.d/grub2.conf
b50565e
%{_sbindir}/%{name}-get-kernel-settings
ace3c25
%attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag
b50565e
%{_sbindir}/%{name}-set-default
a52365a
%{_sbindir}/%{name}-set*password
b50565e
%{_bindir}/%{name}-editenv
b50565e
%{_bindir}/%{name}-mkpasswd-pbkdf2
0b428f2
%{_bindir}/%{name}-mount
b50565e
b50565e
%{_datadir}/man/man3/%{name}-get-kernel-settings*
b50565e
%{_datadir}/man/man8/%{name}-set-default*
a52365a
%{_datadir}/man/man8/%{name}-set*password*
b50565e
%{_datadir}/man/man1/%{name}-editenv*
b50565e
%{_datadir}/man/man1/%{name}-mkpasswd-*
b50565e
dcee992
%ifarch x86_64
b50565e
%files tools-efi
b50565e
%{_sbindir}/%{name}-macbless
b50565e
%{_bindir}/%{name}-render-label
b50565e
%{_datadir}/man/man8/%{name}-macbless*
b50565e
%{_datadir}/man/man1/%{name}-render-label*
9ef0c08
%endif
9ef0c08
b50565e
%files tools
b50565e
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
b50565e
%config %{_sysconfdir}/grub.d/??_*
420527a
%ifarch ppc64 ppc64le
420527a
%exclude %{_sysconfdir}/grub.d/10_linux
420527a
%else
420527a
%exclude %{_sysconfdir}/grub.d/10_linux_bls
420527a
%endif
b50565e
%{_sysconfdir}/grub.d/README
1d36e19
%{_userunitdir}/grub-boot-success.timer
1d36e19
%{_userunitdir}/grub-boot-success.service
1d36e19
%{_userunitdir}/timers.target.wants
1d36e19
%{_unitdir}/grub-boot-indeterminate.service
1d36e19
%{_unitdir}/system-update.target.wants
b50565e
%{_infodir}/%{name}*
fa0bb1c
%{_datarootdir}/grub/*
f06903e
%{_sbindir}/%{name}-install
b50565e
%exclude %{_datarootdir}/grub/themes
b50565e
%exclude %{_datarootdir}/grub/*.h
b50565e
%{_datarootdir}/bash-completion/completions/grub
481bf3b
%{_sbindir}/%{name}-mkconfig
78e1a10
%{_sbindir}/%{name}-switch-to-blscfg
f06903e
%{_sbindir}/%{name}-probe
f4c76c0
%{_sbindir}/%{name}-rpm-sort
b50565e
%{_sbindir}/%{name}-reboot
481bf3b
%{_bindir}/%{name}-file
b50565e
%{_bindir}/%{name}-menulst2cfg
71e0fb4
%{_bindir}/%{name}-mkimage
b50565e
%{_bindir}/%{name}-mkrelpath
b50565e
%{_bindir}/%{name}-script-check
b50565e
%{_datadir}/man/man?/*
b50565e
b50565e
# exclude man pages from tools-extra
b50565e
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
b50565e
%exclude %{_datadir}/man/man8/%{name}-install*
b50565e
%exclude %{_datadir}/man/man1/%{name}-fstest*
b50565e
%exclude %{_datadir}/man/man1/%{name}-glue-efi*
b50565e
%exclude %{_datadir}/man/man1/%{name}-kbdcomp*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mkfont*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mklayout*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mknetdir*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mkrescue*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mkstandalone*
b50565e
%exclude %{_datadir}/man/man1/%{name}-syslinux2cfg*
b50565e
b50565e
# exclude man pages from tools-minimal
b50565e
%exclude %{_datadir}/man/man3/%{name}-get-kernel-settings*
b50565e
%exclude %{_datadir}/man/man8/%{name}-set-default*
a52365a
%exclude %{_datadir}/man/man8/%{name}-set*password*
b50565e
%exclude %{_datadir}/man/man1/%{name}-editenv*
b50565e
%exclude %{_datadir}/man/man1/%{name}-mkpasswd-*
b50565e
%exclude %{_datadir}/man/man8/%{name}-macbless*
b50565e
%exclude %{_datadir}/man/man1/%{name}-render-label*
b50565e
b50565e
%if %{with_legacy_arch}
b50565e
%{_sbindir}/%{name}-install
dcee992
%ifarch x86_64
b50565e
%{_sbindir}/%{name}-bios-setup
b50565e
%else
b50565e
%exclude %{_sbindir}/%{name}-bios-setup
b50565e
%exclude %{_datadir}/man/man8/%{name}-bios-setup*
b50565e
%endif
b50565e
%ifarch %{sparc}
b50565e
%{_sbindir}/%{name}-sparc64-setup
b50565e
%else
b50565e
%exclude %{_sbindir}/%{name}-sparc64-setup
b50565e
%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
b50565e
%endif
b50565e
%ifarch %{sparc} ppc ppc64 ppc64le
b50565e
%{_sbindir}/%{name}-ofpathname
b50565e
%else
b50565e
%exclude %{_sbindir}/%{name}-ofpathname
b50565e
%exclude %{_datadir}/man/man8/%{name}-ofpathname*
b50565e
%endif
b50565e
%endif
b50565e
b50565e
%files tools-extra
b50565e
%{_sbindir}/%{name}-sparc64-setup
b50565e
%{_sbindir}/%{name}-ofpathname
a72f2be
%{_bindir}/%{name}-fstest
481bf3b
%{_bindir}/%{name}-glue-efi
1fcd613
%{_bindir}/%{name}-kbdcomp
a72f2be
%{_bindir}/%{name}-mkfont
481bf3b
%{_bindir}/%{name}-mklayout
481bf3b
%{_bindir}/%{name}-mknetdir
34399bb
%ifnarch %{sparc}
a72f2be
%{_bindir}/%{name}-mkrescue
34399bb
%endif
481bf3b
%{_bindir}/%{name}-mkstandalone
481bf3b
%{_bindir}/%{name}-syslinux2cfg
62a7c9b
%{_sysconfdir}/sysconfig/grub
b50565e
%{_datadir}/man/man8/%{name}-sparc64-setup*
b50565e
%{_datadir}/man/man8/%{name}-install*
b50565e
%{_datadir}/man/man1/%{name}-fstest*
b50565e
%{_datadir}/man/man1/%{name}-glue-efi*
b50565e
%{_datadir}/man/man1/%{name}-kbdcomp*
b50565e
%{_datadir}/man/man1/%{name}-mkfont*
b50565e
%{_datadir}/man/man1/%{name}-mklayout*
b50565e
%{_datadir}/man/man1/%{name}-mknetdir*
b50565e
%{_datadir}/man/man1/%{name}-mkrescue*
b50565e
%{_datadir}/man/man1/%{name}-mkstandalone*
b50565e
%{_datadir}/man/man8/%{name}-ofpathname*
b50565e
%{_datadir}/man/man1/%{name}-syslinux2cfg*
b50565e
%exclude %{_datarootdir}/grub/themes/starfield
b50565e
b50565e
%if 0%{with_efi_arch}
b50565e
%{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
b50565e
%endif
b50565e
%if 0%{with_alt_efi_arch}
b50565e
%{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}}
b50565e
%endif
b50565e
%if 0%{with_legacy_arch}
b50565e
%{expand:%define_legacy_variant_files %%{legacy_package_arch} %%{grublegacyarch}}
b50565e
%endif
fa0bb1c
a18e8e6
%if 0%{with_emu_arch}
a18e8e6
%files emu
a18e8e6
%{_bindir}/%{name}-emu*
a18e8e6
%{_datadir}/man/man1/%{name}-emu*
a18e8e6
a18e8e6
%files emu-modules
a18e8e6
%{_libdir}/grub/%{emuarch}-emu/*
a18e8e6
%exclude %{_libdir}/grub/%{emuarch}-emu/*.module
a18e8e6
%endif
a18e8e6
0e50f1f
%changelog
04d3824
* Thu Jun 27 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-89
04d3824
- Fix --bls-directory option comment in grub2-switch-to-blscfg man page
04d3824
  Resolves: rhbz#1714835
04d3824
- 10_linux_bls: use '=' to separate --id argument due a Petitboot bug
04d3824
- grub-set-bootflag: Print an error if failing to read from grubenv
04d3824
  Resolves: rhbz#1702354
04d3824
- 10_linux: generate BLS section even if no kernels are found in /boot
04d3824
- 10_linux: don't search for OSTree kernels
04d3824
f6da347
* Tue Jun 18 2019 Sergio Durigan Junior <sergiodj@redhat.com> - 2.02-88
f6da347
- Use '-g' instead of '-g3' when compiling grub2.
f6da347
  Resolves: rhbz#1708780
f6da347
05efc9d
* Tue Jun 11 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-87
05efc9d
- Rebuild for RPM 4.15
05efc9d
96a8e42
* Mon Jun 10 22:13:19 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
96a8e42
- Rebuild for RPM 4.15
96a8e42
2df60da
* Mon Jun 10 15:42:01 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2df60da
- Rebuild for RPM 4.15
2df60da
22467ee
* Mon May 20 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-84
22467ee
- Don't try to switch to a BLS config if GRUB_ENABLE_BLSCFG is already set
22467ee
d8cdcb3
* Wed May 15 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-83
d8cdcb3
- Fix error messages wrongly being printed when executing blscfg command
d8cdcb3
  Resolves: rhbz#1699761
d8cdcb3
- Remove bogus load_env after blscfg command in 10_linux
d8cdcb3
a9b371c
* Tue May 07 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-82
a9b371c
- Make blscfg module compatible at least up to the Fedora 19 GRUB core
a9b371c
  Related: rhbz#1652806
a9b371c
0b428f2
* Fri May 03 2019 Neal Gompa <ngompa13@gmail.com> - 2.02-81
0b428f2
- Add grub2-mount to grub2-tools-minimal subpackage
0b428f2
  Resolves: rhbz#1471267
0b428f2
a18e8e6
* Fri May 03 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-80
a18e8e6
- Add grub2-emu subpackage
a18e8e6
af06f22
* Fri May 03 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 2.02-79
af06f22
- Fix description of grub2-pc
af06f22
  Resolves: rhbz#1484298
af06f22
79551a5
* Thu Apr 18 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-78
79551a5
- Add 10_reset_boot_success to Makefile
79551a5
  Related: rhbz#17010
79551a5
62a05cd
* Thu Apr 18 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-77
62a05cd
- Never remove boot loader configuration for other boot loaders from the ESP.
62a05cd
  This would render machines with sd-boot unbootable (zbyszek)
62a05cd
- Execute grub2-switch-to-blscfg script in %%posttrans instead of %%post
62a05cd
- grub.d: Split out boot success reset from menu auto hide script (lorbus)
62a05cd
- HTTP boot: strncmp returns 0 on equal (stephen)
62a05cd
- Some grub2-emu fixes and make it to not print unnecessary messages
62a05cd
- Don't assume that boot commands will only return on fail
62a05cd
dd6e488
* Thu Mar 28 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-76
dd6e488
- 10_linux_bls: don't add --users option to generated menu entries
dd6e488
  Resolves: rhbz#1693515
dd6e488
dd6e488
* Tue Mar 26 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-75
8845956
- A set of EFI fixes to support arm64 QCom UEFI firmwares (pbrobinson)
8845956
c1ccaf8
* Fri Mar 22 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-74
c1ccaf8
- Fix some BLS snippets not being displayed in the GRUB menu
c1ccaf8
  Resolves: rhbz#1691232
c1ccaf8
- Fix possible undefined behaviour due wrong grub_efi_status_t type (pjones)
c1ccaf8
242b306
* Wed Mar 20 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-73
242b306
- Only set blsdir if /boot/loader/entries is in a btrfs or zfs partition
242b306
  Related: rhbz#1688453
242b306
fad457c
* Mon Mar 11 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-72
fad457c
- Avoid grub2-efi package to overwrite existing /boot/grub2/grubenv file
fad457c
  Resolves: rhbz#1687323
fad457c
- Switch to BLS in tools package %%post scriptlet
fad457c
  Resolves: rhbz#1652806
fad457c
5d7e454
* Wed Feb 27 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-71
5d7e454
- 20-grub-install: Replace, rather than overwrite, the existing kernel (pjones)
5d7e454
  Resolves: rhbz#1642402
5d7e454
- 99-grub-mkconfig: Don't update grubenv generating entries on ppc64le
5d7e454
  Related: rhbz#1637875
5d7e454
- blscfg: fallback to default_kernelopts if BLS option field isn't set
5d7e454
  Related: rhbz#1625124
5d7e454
- grub-switch-to-blscfg: copy increment.mod for legacy BIOS and ppc64
5d7e454
  Resolves: rhbz#1652806
5d7e454
f6d4ab8
* Fri Feb 15 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-70
f6d4ab8
- Check if blsdir exists before attempting to get it's real path
f6d4ab8
  Resolves: rhbz#1677415
f6d4ab8
e3a408a
* Wed Feb 13 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-69
e3a408a
- Don't make grub_strtoull() print an error if no conversion is performed
e3a408a
  Resolves: rhbz#1674512
e3a408a
- Set blsdir if the BLS directory path isn't one of the looked up by default
e3a408a
  Resolves: rhbz#1657240
e3a408a
11b49b8
* Mon Feb 04 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.02-68
11b49b8
- Don't build the grub2-efi-ia32-* packages on i686 (pjones)
11b49b8
- Add efi-export-env and efi-load-env commands (pjones)
11b49b8
- Make it possible to subtract conditions from debug= (pjones)
11b49b8
- Try to set -fPIE and friends on libgnu.a (pjones)
11b49b8
- Add more options to blscfg command to make it more flexible
11b49b8
- Add support for prepend early initrds to the BLS entries
11b49b8
- Fix grub.cfg-XXX look up when booting over TFTP
11b49b8
5699af4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org>
5699af4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5699af4
bb036b8
* Mon Dec 17 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-66
bb036b8
- Don't exclude /etc/grub.d/01_fallback_counting anymore
bb036b8
4ff5f8d
* Tue Dec 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-65
4ff5f8d
- BLS files should only be copied by grub-switch-to-blscfg if BLS isn't set
4ff5f8d
  Related: rhbz#1638117
4ff5f8d
- Fix get_entry_number() wrongly dereferencing the tail pointer
4ff5f8d
  Resolves: rhbz#1654936
4ff5f8d
- Make grub2-mkconfig to honour GRUB_CMDLINE_LINUX in /etc/default/grub
4ff5f8d
  Resolves: rhbz#1637875
4ff5f8d
1f092ca
* Fri Nov 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-64
1f092ca
- Add comments and revert logic changes in 01_fallback_counting
1f092ca
- Remove quotes when reading ID value from /etc/os-release
1f092ca
  Related: rhbz#1650706
1f092ca
- blscfg: expand grub_users before passing to grub_normal_add_menu_entry()
1f092ca
  Resolves: rhbz#1650706
1f092ca
- Drop buggy downstream patch "efinet: retransmit if our device is busy"
1f092ca
  Resolves: rhbz#1649048
1f092ca
- Make the menu entry users option argument to be optional
1f092ca
  Related: rhbz#1652434
1f092ca
- 10_linux_bls: add missing menu entries options
1f092ca
  Resolves: rhbz#1652434
1f092ca
- Drop "Be more aggro about actually using the *configured* network device."
1f092ca
  Resolves: rhbz#1654388
1f092ca
- Fix menu entry selection based on title
1f092ca
  Resolves: rhbz#1654936
1f092ca
f92a00c
* Wed Nov 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-63
420527a
- add 10_linux_bls grub.d snippet to generate menu entries from BLS files
420527a
  Resolves: rhbz#1636013
420527a
- Only set kernelopts in grubenv if it wasn't set before
420527a
  Resolves: rhbz#1636466
420527a
- kernel-install: Remove existing initramfs if it's older than the kernel (pjones)
420527a
  Resolves: rhbz#1638405
420527a
- Update the saved entry correctly after a kernel install (pjones)
420527a
  Resolves: rhbz#1638117
420527a
- blscfg: sort everything with rpm *package* comparison (pjones)
420527a
  Related: rhbz#1638103
420527a
- blscfg: Make 10_linux_bls sort the same way as well
420527a
  Related: rhbz#1638103
420527a
- don't set saved_entry on grub2-mkconfig
420527a
  Resolves: rhbz#1636466
420527a
- Fix menu entry selection based on ID and title (pjones)
420527a
  Resolves: rhbz#1640979
ff9dc1e
- Don't unconditionally set default entry when installing debug kernels
ff9dc1e
  Resolves: rhbz#1636346
f92a00c
- Remove installkernel-bls script
f92a00c
  Related: rhbz#1647721
420527a
db4a996
* Thu Oct 04 2018 Peter Jones <pjones@redhat.com> - 2.02-62
db4a996
- Exclude /etc/grub.d/01_fallback_counting until we work through some design
db4a996
  questions.
db4a996
  Resolves: rhbz#1614637
db4a996
7531222
* Wed Oct 03 2018 Peter Jones <pjones@redhat.com> - 2.02-61
7531222
- Fix the fallback counting script even harder. Apparently, this wasn't
7531222
  tested well enough.
7531222
  Resolves: rhbz#1614637
7531222
a3bfe35
* Tue Oct 02 2018 Peter Jones <pjones@redhat.com> - 2.02-60
a3bfe35
- Fix grub.cfg boot counting snippet generation (lorbus)
a3bfe35
  Resolves: rhbz#1614637
a3bfe35
- Fix spurrious allocation error reporting on EFI boot
a3bfe35
  Resolves: rhbz#1635319
a3bfe35
- Stop doing TPM on BIOS *again*.  It just doesn't work.
a3bfe35
  Related: rhbz#1579835
a3bfe35
- Make blscfg module loadable on older grub2 i386-pc and powerpc-ieee1275
a3bfe35
  builds
a3bfe35
- Fix execstack cropping up in grub2-tools
a3bfe35
- Ban stack trampolines with compiler flags.
a3bfe35
ace3c25
* Tue Sep 25 2018 Hans de Goede <hdegoede@redhat.com> - 2.02-59
ace3c25
- Stop using pkexec for grub2-set-bootflag, it does not work under gdm
ace3c25
  instead make it suid root (it was written with this in mind)
ace3c25
e30274a
* Tue Sep 25 2018 Peter Jones <pjones@redhat.com>
e30274a
- Use bounce buffers for addresses above 4GB
e30274a
- Allow initramfs, cmdline, and params >4GB, but not kernel
e30274a
c4e6bf3
* Wed Sep 12 2018 Peter Jones <pjones@redhat.com> - 2.02-58
c4e6bf3
- Add 2 conditions to boot-success timer and service:
c4e6bf3
  - Don't run it for system users
c4e6bf3
  Resolves: rhbz#1592201
c4e6bf3
  - Don't run it when pkexec isn't available
c4e6bf3
  Resolves: rhbz#1619445
c4e6bf3
- Use -Wsign-compare -Wconversion -Wextra in the build.
c4e6bf3
98536ec
* Tue Sep 11 2018 Peter Jones <pjones@redhat.com> - 2.02-57
98536ec
- Limit grub_malloc() on x86_64 to < 31bit addresses, as some devices seem to
98536ec
  have a colossally broken storage controller (or UEFI driver) that can't do
98536ec
  DMA to higher memory addresses, but fails silently.
98536ec
  Resolves: rhbz#1626844 (possibly really resolving it this time.)
98536ec
- Also integrate Hans's attempt to fix the related error from -54, but do it
98536ec
  the other way around: try the low addresses first and *then* the high one if
98536ec
  the allocation fails.  This way we'll get low regions by default, and if
98536ec
  kernel/initramfs don't fit anywhere, it'll try the higher addresses.
98536ec
  Related: rhbz#1624532
98536ec
- Coalesce all the intermediate debugging junk from -54/-55/-56.
98536ec
371309b
* Tue Sep 11 2018 Peter Jones <pjones@redhat.com> - 2.02-56
371309b
- Don't mangle fw_path even harder.
371309b
  Resolves: rhbz#1626844
371309b
- Fix reboot being missing on some platforms, and make it alias to
371309b
  "reset" as well.
371309b
- More dprintf().
371309b
0c72748
* Mon Sep 10 2018 Peter Jones <pjones@redhat.com> - 2.02-55
76df827
- Fix UEFI memory problem in a different way.
0c72748
  Related: rhbz#1624532
76df827
- Don't mangle fw_path with a / unless we're on http
76df827
  Resolves: rhbz#1626844
0c72748
1b51084
* Fri Sep 07 2018 Kevin Fenzi <kevin@scrye.com> - 2.02-54
1b51084
- Add patch from https://github.com/rhboot/grub2/pull/30 to fix uefi booting
0c72748
  Resolves: rhbz#1624532
1b51084
66fa586
* Thu Aug 30 2018 Peter Jones <pjones@redhat.com> - 2.02-53
c2f7a5e
- Fix AArch64 machines with no RAM latched lower than 1GB 
c2f7a5e
  Resolves: rhbz#1615969
c2f7a5e
- Set http_path and http_url when HTTP booting
c2f7a5e
- Hopefully slightly better error reporting in some cases
c2f7a5e
- Better allocation of kernel+initramfs on x86_64 and aarch64
c2f7a5e
  Resolves: rhbz#1572126
c2f7a5e
66fa586
* Mon Aug 20 2018 Peter Jones <pjones@redhat.com> - 2.02-52
66fa586
- Update conflicts on grubby not to care about %%{?dist}
66fa586
c87b938
* Sun Aug 19 2018 Peter Jones <pjones@redhat.com> - 2.02-51
c87b938
- Make it quieter.
c87b938
bed013f
* Thu Aug 16 2018 Peter Jones <pjones@redhat.com> - 2.02-50
bed013f
- Fix arm32 off-by-one error on reading the PE header.
bed013f
f0ceaa7
* Tue Aug 14 2018 Peter Jones <pjones@redhat.com> - 2.02-50
f0ceaa7
- Fix typo in /etc/grub.d/01_fallback_counting
f0ceaa7
  Resolves: rhbz#1614637
f0ceaa7
2d1140e
* Fri Aug 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-50
2d1140e
- Add an installkernel script for BLS configurations
2d1140e
4892e6b
* Tue Aug 07 2018 Peter Jones <pjones@redhat.com> - 2.02-49
4892e6b
- Temporarily make -cdboot perms 0700 again.
4892e6b
73bf904
* Fri Aug 03 2018 Peter Jones <pjones@redhat.com> - 2.02-48
73bf904
- Kill .note.gnu.property with fire.
73bf904
  Resolves: rhbz#1612339
73bf904
3e07ee7
* Thu Aug 02 2018 Peter Jones <pjones@redhat.com> - 2.02-47
3e07ee7
- Enable armv7 EFI builds.  This was way harder than I expected.
3e07ee7
1f92671
* Tue Jul 17 2018 Peter Jones <pjones@redhat.com> - 2.02-46
1f92671
- Fix some minor BLS issues
1f92671
- Rework the FDT module linking to make aarch64 build and boot right
1f92671
ad4aff0
* Mon Jul 16 2018 pjones <pjones@redhat.com> - 2.02-45
ad4aff0
- Rework SB patches and 10_linux.in changes even harder.
ad4aff0
  Resolves: rhbz#1601578
ad4aff0
1d36e19
* Mon Jul 16 2018 Hans de Goede <hdegoede@redhat.com> - 2.02-44
1d36e19
- Make the user session automatically set the boot_success grubenv flag
1d36e19
- Make offline-updates increment the boot_indeterminate grubenv variable
1d36e19
ce0f493
* Mon Jul 16 2018 pjones <pjones@redhat.com> - 2.02-43
ce0f493
- Rework SB patches and 10_linux.in changes
ce0f493
e08eb33
* Fri Jul 13 2018 Peter Jones <pjones@redhat.com> - 2.02-42
e08eb33
- Revert broken moduledir fix *again*.
e08eb33
3215673
* Thu Jul 12 2018 Peter Jones <pjones@redhat.com> - 2.02-41
3215673
- Fix our linuxefi/linux command reunion.
3215673
a52365a
* Wed Jul 11 2018 Peter Jones <pjones@redhat.com> - 2.02-40
a52365a
- Port several fixes from the F28 tree and a WIP tree.
a52365a
cee2256
* Mon Jul 09 2018 pjones <pjones@redhat.com> - 2.02-39
cee2256
- Fix my fix of grub2-switch-to-blscfg (javierm and pjones)
cee2256
cee2256
* Mon Jul 02 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-38
cee2256
- Use BLS fragment filename as menu entry id and for sort criterion
cee2256
cee2256
* Tue Jun 26 2018 Javier Martinez Canillas <javierm@redhat.com>
cee2256
- Cleanups and fixes for grub2-switch-to-blscfg (pjones)
cee2256
- Use /boot/loader/entries as BLS dir also on EFI (javierm)
cee2256
cee2256
* Tue Jun 19 2018 Peter Jones <pjones@redhat.com> - 2.02-37
cee2256
- Fix some TPM errors on 32-bit (hdegoede)
cee2256
- More fixups to avoid compiler changes (pjones)
cee2256
- Put lsmmap into the EFI builds (pjones)
cee2256
  Related: rhbz#1572126
cee2256
- Make 20-grub.install to exit if there is no machine ID set (javierm)
cee2256
  Resolves: rhbz#1576573
cee2256
- More fixes for BLS (javierm)
cee2256
  Resolves: rhbz#1588184
cee2256
cee2256
* Wed May 16 2018 Peter Jones <pjones@redhat.com> - 2.02-37.fc29
63f1a98
- Fixups to work with gcc 8
63f1a98
- Experimental https boot support on UEFI
63f1a98
- XFS fixes for sparse inode support
63f1a98
  Resolves: rhbz#1575797
63f1a98
dc178ac
* Thu May 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-36
dc178ac
- Use version field to sort BLS entries if id field isn't defined
dc178ac
- Add version field to BLS fragments generated by 20-grub.install
dc178ac
a8d8dcf
* Tue Apr 24 2018 Peter Jones <pjones@redhat.com> - 2.02-35
a8d8dcf
- A couple of fixes needed by Fedora Atomic - javierm
a8d8dcf
578b4d7
* Mon Apr 23 2018 Peter Jones <pjones@redhat.com> - 2.02-34
578b4d7
- Put the os-prober dep back in - we need to change test plans and criteria
578b4d7
  before it can go.
578b4d7
  Resolves: rhbz#1569411
578b4d7
c789522
* Wed Apr 11 2018 Peter Jones <pjones@redhat.com> - 2.02-33
c789522
- Work around some issues with older automake found in CentOS.
fb33284
- Make multiple initramfs images work in BLS.
c789522
ed50db3
* Wed Apr 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 2.02-32
ed50db3
- Make 20-grub.install to generate debug BLS when MAKEDEBUG is set.
ed50db3
4fd69fd
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-31
4fd69fd
- Pull in some TPM fixes I missed.
4fd69fd
0bcec26
* Fri Apr 06 2018 Peter Jones <pjones@redhat.com> - 2.02-30
0bcec26
- Enable TPM measurements
0bcec26
- Set the default boot entry to the first entry when we're using BLS.
0bcec26
78e1a10
* Tue Apr 03 2018 Peter Jones <pjones@redhat.com> - 2.02-29
78e1a10
- Fix for BLS paths on BIOS / non-UEFI (javierm)
78e1a10
cee2256
* Fri Mar 16 2018 Peter Jones <pjones@redhat.com> - 2.02-28
cee2256
- Install kernel-install scripts. (javierm)
cee2256
- Add grub2-switch-to-blscfg
61faef6
06b68a8
* Tue Mar 06 2018 Peter Jones <pjones@redhat.com> - 2.02-27
06b68a8
- Build the blscfg module in on EFI builds.
06b68a8
ec4acbb
* Wed Feb 28 2018 Peter Jones <pjones@redhat.com> - 2.02-26
ec4acbb
- Try to fix things for new compiler madness.
ec4acbb
  I really don't know why gcc decided __attribute__((packed)) on a "typedef
ec4acbb
  struct" should imply __attribute__((align (1))) and that it should have a
ec4acbb
  warning that it does so.  The obvious behavior would be to keep the alignment
ec4acbb
  of the first element unless it's used in another object or type that /also/
ec4acbb
  hask the packed attribute.  Why should it change the default alignment at
ec4acbb
  all?
ec4acbb
- Merge in the BLS patches Javier and I wrote.
ec4acbb
- Attempt to fix pmtimer initialization failures to not be super duper slow.
ec4acbb
8bbfda8
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
8bbfda8
- Escape macros in %%changelog
8bbfda8
8b3d200
* Tue Jan 23 2018 Peter Jones <pjones@redhat.com> - 2.02-24
8b3d200
- Fix a merge error from 2.02-21 that affected kernel loading on Aarch64.
8b3d200
  Related: rhbz#1519311
8b3d200
  Related: rhbz#1506704
8b3d200
  Related: rhbz#1502312
8b3d200
d51395e
* Fri Jan 19 2018 Peter Jones <pjones@redhat.com> - 2.02-23
d51395e
- Only nerf annobin, not -fstack-crash-protection.
d51395e
- Fix a conflict on /boot/efi directory permissions between -cdboot and the
d51395e
  normal bootloader.
d51395e
28076bb
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-22
28076bb
- Nerf some gcc 7.2.1-6 'features' that cause grub to crash on start.
28076bb
a91fed7
* Thu Jan 18 2018 Peter Jones <pjones@redhat.com> - 2.02-21
a91fed7
- Fix grub2-efi-modules provides/obsoletes generation
a91fed7
  Resolves: rhbz#1506704
a91fed7
- *Also* build grub-efi-ia32{,-*,!-modules} packages for i686 builds
a91fed7
  Resolves: rhbz#1502312
8cceee7
- Make everything under /boot/efi be mode 0700, since that's what FAT will
8cceee7
  show anyway.
8cceee7
da63b36
* Wed Jan 17 2018 Peter Jones <pjones@redhat.com> - 2.02-20
da63b36
- Update to newer upstream for F28
da63b36
- Pull in patches for Apollo Lake hardware
da63b36
  Resolves: rhbz#1519311
da63b36
307d019
* Tue Oct 24 2017 Peter Jones <pjones@redhat.com> - 2.02-19
307d019
- Handle xen module loading (somewhat) better
307d019
  Resolves: rhbz#1486002
307d019
e1f4c0e
* Wed Sep 20 2017 Peter Jones <pjones@redhat.com> - 2.02-18
e1f4c0e
- Make grub2-efi-aa64 provide grub2
e1f4c0e
  Resolves: rhbz#1491045
e1f4c0e
8887fc7
* Mon Sep 11 2017 Dennis Gilmore <dennis@ausil.us> - 2.02-17
8887fc7
- bump for Obsoletes again
8887fc7
b52a729
* Wed Sep 06 2017 Peter Jones <pjones@redhat.com> - 2.02-16
b52a729
- Fix Obsoletes on grub2-pc
b52a729
Petr Šabata 50a9c3a
* Wed Aug 30 2017 Petr Šabata <contyk@redhat.com> - 2.02-15
Petr Šabata 50a9c3a
- Limit the pattern matching in do_alt_efi_install to files to
Petr Šabata 50a9c3a
  unbreak module builds
Petr Šabata 50a9c3a
7849a86
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14
7849a86
- Revert the /usr/lib/.build-id/ change:
7849a86
  https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
7849a86
  says (without any particularly convincing reasoning):
7849a86
    The main build-id file should not be in the debuginfo file, but in the
7849a86
    main package (this was always a problem since the package and debuginfo
7849a86
    package installed might not match). If we want to make usr/lib/debug/ a
7849a86
    network resource then we will need to move the symlink to another
7849a86
    location (maybe /usr/lib/.build-id).
7849a86
  So do it that way.  Of course it doesn't matter, because exclude gets
7849a86
  ignored due to implementation details.
7849a86
152cdcd
* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13
152cdcd
- Add some unconditional Provides:
152cdcd
  grub2-efi on grub2-efi-${arch}
152cdcd
  grub2-efi-cdboot on grub2-efi-${arch}-cdboot
152cdcd
  grub2 on all grub2-${arch} pacakges
152cdcd
- Something is somehow adding /usr/lib/.build-id/... to all the -tools
152cdcd
  subpackages, so exclude all that.
152cdcd
1300d7b
* Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12
1300d7b
- Fix arm kernel command line allocation
1300d7b
  Resolves: rhbz#1484609
1300d7b
- Get rid of the temporary extra efi packages hack.
1300d7b
53a4172
* Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11
71e0fb4
- Put grub2-mkimage in -tools, not -tools-extra.
53a4172
- Fix i686 building
53a4172
- Fix ppc HFS+ usage due to /boot/efi's presence.
71e0fb4
31ea67e
* Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10
31ea67e
- Add the .img files into grub2-pc-modules (and all legacy variants)
31ea67e
b50565e
* Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9
b50565e
- Re-work for ia32-efi.
b50565e
b50565e
* Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8
bbc6a89
- Rebased to newer upstream for fedora-27
bbc6a89
47f2daf
* Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7
47f2daf
- Rebuild again with new fixed rpm. (bug #1480407)
47f2daf
21962f5
* Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6
21962f5
- Rebuild again with new fixed rpm. (bug #1480407)
21962f5
e3cdc19
* Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5
e3cdc19
- Rebuild for rpm soname bump again.
e3cdc19
e3cdc19
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4
Igor Gnatenko 5e05dbf
- Rebuilt for RPM soname bump
Igor Gnatenko 5e05dbf
dd84573
* Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3
dd84573
- Rebuild so it gets SB signed correctly.
dd84573
  Related: rhbz#1335533
dd84573
- Enable lsefi
dd84573
7495404
* Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2
7495404
- Fix symlink to work on both EFI and BIOS machines
7495404
  Resolves: rhbz#1335533
7495404
bc092b9
* Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
bc092b9
- Rebased to newer upstream for fedora-27
bc092b9
eea0c02
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39
eea0c02
- Add missing %%license macro
6d8e18d
- Fix deps that should have moved to -tools but didn't.
eea0c02
8192516
* Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
8192516
- Fix regexp in power compile flags, and synchronize release number with
8192516
  other branches.
8192516
377f5fc
* Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37
377f5fc
- Rebased to newer upstream for fedora-26
377f5fc
1f6f8c7
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
1f6f8c7
- Update version to .36 because I already built an f25 one named 0.35
1f6f8c7
475000b
* Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35
475000b
- Rebased to newer upstream for fedora-26
475000b
7c83ceb
* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
7c83ceb
- Fix power6 makefile bits for newer autoconf defaults.
ced107a
- efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek)
ced107a
  Resolves: rhbz#1347291
7c83ceb
9d15b4d
* Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
9d15b4d
- Update to be newer than f24's branch.
9d15b4d
- Add grub2-get-kernel-settings
9d15b4d
  Related: rhbz#1226325
9d15b4d
336bf36
* Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30
336bf36
- Revert 27e66193, which was replaced by upstream's 49426e9fd
336bf36
  Resolves: rhbz#1251600
336bf36
1713515
* Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29
1713515
- Fix ppc64 build failure and rebase to newer f24 code.
1713515
0ac23e2
* Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
0ac23e2
- Pull TPM updates from mjg59.
0ac23e2
  Resolves: rhbz#1318067
0ac23e2
1713515
* Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
1713515
- Fix aarch64 build problem.
1713515
b9efc54
* Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26
b9efc54
- Rebased to newer upstream (grub-2.02-beta3) for fedora-24
b9efc54
bf8e18b
* Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25
bf8e18b
- Fix security issue when reading username and password
bf8e18b
  Related: CVE-2015-8370
bf8e18b
- Do a better job of handling GRUB2_PASSWORD
bf8e18b
  Related: rhbz#1284370
bf8e18b
d979a79
* Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
d979a79
- Rebuild without multiboot* modules in the EFI image.
d979a79
  Related: rhbz#1264103
d979a79
f66adb6
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23
2926da3
- Rebuilt for librpm soname bump
2926da3
3e24dd9
* Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
3e24dd9
- Back out one of the debuginfo generation patches; it doesn't work right on
3e24dd9
  aarch64 yet.
3e24dd9
  Resolves: rhbz#1250197
3e24dd9
ea2871d
* Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
ea2871d
- The previous fix was completely not right, so fix it a different way.
ea2871d
  Resolves: rhbz#1249668
ea2871d
Robert Marshall 7b98965
* Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
Robert Marshall 7b98965
- Fix grub2-mkconfig's sort to put kernels in the right order.
Robert Marshall 7b98965
  Related: rhbz#1124074
Robert Marshall 7b98965
8facaba
* Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
8facaba
- Fix a build failure on aarch64
8facaba
f4c76c0
* Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
f4c76c0
- Don't build hardened (fixes FTBFS) (pbrobinson)
f4c76c0
- Reconcile with the current upstream
f4c76c0
- Fixes for gcc 5
4052477
d1197b4
* Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16
d1197b4
- Make grub2-mkconfig produce the kernel titles we actually want.
d1197b4
  Resolves: rhbz#1215839
d1197b4
d1197b4
* Sat Feb 21 2015 Till Maas <opensource@till.name>
ac484fe
- Rebuilt for Fedora 23 Change
ac484fe
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
ac484fe
eb2c2e6
* Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15
eb2c2e6
- Bump release to rebuild with Ralf Corsépius's fixes.
eb2c2e6
767f985
* Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14
767f985
- Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
767f985
- Use sub-shell in %%__debug_install_post (RHBZ#1168732).
767f985
- Cleanup grub2-starfield-theme packaging.
767f985
87ae4b9
* Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
87ae4b9
- Update minilzo to 2.08 for CVE-2014-4607
87ae4b9
  Resolves: rhbz#1131793
87ae4b9
497ed2e
* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
497ed2e
- Make backtrace and usb conditional on !arm
497ed2e
- Make sure gcdaa64.efi is packaged.
497ed2e
  Resolves: rhbz#1163481
497ed2e
dea2713
* Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
dea2713
- fix a copy-paste error in patch 0154.
dea2713
  Resolves: rhbz#964828
dea2713
9d85b1d
* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
9d85b1d
- Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
9d85b1d
  in 30_os-prober.
9d85b1d
  Resolves: rhbz#1108296
9d85b1d
- If $fw_path doesn't work to find the config file, try $prefix as well
9d85b1d
  Resolves: rhbz#1148652
9d85b1d
58fe9aa
* Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
58fe9aa
- Clean up the build a bit to make it faster
58fe9aa
- Make grubenv work right on UEFI machines
58fe9aa
  Related: rhbz#1119943
58fe9aa
- Sort debug and rescue kernels later than normal ones
58fe9aa
  Related: rhbz#1065360
58fe9aa
- Allow "fallback" to include entries by title as well as number.
58fe9aa
  Related: rhbz#1026084
58fe9aa
- Fix a segfault on aarch64.
58fe9aa
- Load arm with SB enabled if available.
58fe9aa
- Add some serial port options to GRUB_MODULES.
58fe9aa
4dcaf21
* Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
4dcaf21
- Add ppc64le support.
4dcaf21
  Resolves: rhbz#1125540
4dcaf21
bcda470
* Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7
bcda470
- Enabled syslinuxcfg module.
bcda470
37b39b7
* Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6
37b39b7
- Re-merge RHEL 7 changes and ARM works in progress.
37b39b7
f178927
* Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5
f178927
- Avoid munging raw spaces when we're escaping command line arguments.
f178927
  Resolves: rhbz#923374
f178927
011fe81
* Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4
011fe81
- Update to latest upstream.
011fe81
78a3d7d
* Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3
78a3d7d
- Merge in RHEL 7 changes and ARM works in progress.
78a3d7d
481bf3b
* Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
481bf3b
- Update to grub-2.02~beta2
481bf3b
39307a8
* Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25
39307a8
- Last build failed because of a hardware error on the builder.
39307a8
739a291
* Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24
739a291
- Fix compiler flags to deal with -fstack-protector-strong
739a291
54c6370
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24
54c6370
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
54c6370
d0b05a7
* Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23
4a42f9b
- add epoch to obsoletes
4a42f9b
9546739
* Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
38f72d2
- Fix linewrapping in edit menu.
38f72d2
  Resolves: rhbz #976643
38f72d2
9c5e36d
* Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
9c5e36d
- Fix obsoletes to pull in -starfield-theme subpackage when it should.
9c5e36d
ab71b4d
* Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
ab71b4d
- Put the theme entirely ento the subpackage where it belongs (#974667)
ab71b4d
f74b50e
* Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
31004e6
- Rebase to upstream snapshot.
f74b50e
- Fix PPC build error (#967862)
f74b50e
- Fix crash on net_bootp command (#960624)
f74b50e
- Reset colors on ppc when appropriate (#908519)
f74b50e
- Left align "Loading..." messages (#908492)
f74b50e
- Fix probing of SAS disks on PPC (#953954)
f74b50e
- Add support for UEFI OSes returned by os-prober
f74b50e
- Disable "video" mode on PPC for now (#973205)
f74b50e
- Make grub fit better into the boot sequence, visually (#966719)
31004e6
fa0bb1c
* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
fa0bb1c
- Move the starfield theme to a subpackage (#962004)
ed8842a
- Don't allow SSE or MMX on UEFI builds (#949761)
fa0bb1c
a5bd9f6
* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
a5bd9f6
- Rebase to upstream snapshot.
a5bd9f6
50b8f8e
* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
3ad78fd
- Fix booting from drives with 4k sectors on UEFI.
50b8f8e
- Move bash completion to new location (#922997)
50b8f8e
- Include lvm support for /boot (#906203)
3ad78fd
56aa737
* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
56aa737
- Allow the user to disable submenu generation
56aa737
- (partially) support BLS-style configuration stanzas.
56aa737
2ea29c3
* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
2ea29c3
- Add various config file related changes.
2ea29c3
d86e0a2
* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
d86e0a2
- bump nvr
d86e0a2
83401c6
* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
83401c6
- add bootpath device to the device list (pfsmorigo, #886685)
83401c6
5e0db24
* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
5e0db24
- Add vlan tag support (pfsmorigo, #871563)
5e0db24
- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
5e0db24
- Improve search paths for config files on network boot (pfsmorigo, #873406)
5e0db24
4788033
* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
4788033
- Don't load modules when grub transitions to "normal" mode on UEFI.
4788033
5598b7f
* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
66cba4f
- Rebuild with newer pesign so we'll get signed with the final signing keys.
66cba4f
f2e5630
* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
f2e5630
- Various PPC fixes.
f2e5630
- Fix crash fetching from http (gustavold, #860834)
f2e5630
- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
f2e5630
- Support IBM CAS reboot (pfsmorigo, #859223)
f2e5630
- Include all modules in the core image on ppc (pfsmorigo, #866559)
f2e5630
c849461
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
c849461
- Work around bug with using "\x20" in linux command line.
c849461
  Related: rhbz#855849
c849461
9d78483
* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
9d78483
- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
9d78483
- Increase device path size for ieee1275
9d78483
  Resolves: rhbz#857936
9d78483
- Make network booting work on ieee1275 machines.
9d78483
  Resolves: rhbz#857936
9d78483
Matthew Garrett 62fd5b9
* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
Matthew Garrett 62fd5b9
- Add Apple partition map support for EFI
Matthew Garrett 62fd5b9
David Cantrell d38088e
* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
David Cantrell d38088e
- Only require pesign on EFI architectures (#851215)
David Cantrell d38088e
f742f42
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
c1a25d0
- Work around AHCI firmware bug in efidisk driver.
f742f42
- Move to newer pesign macros
f742f42
- Don't allow insmod if we're in secure-boot mode.
f742f42
5d4d477
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
5d4d477
- Split module lists for UEFI boot vs UEFI cd images.
5d4d477
- Add raid modules for UEFI image (related: #750794)
5d4d477
- Include a prelink whitelist for binaries that need execstack (#839813)
945dd81
- Include fix efi memory map fix from upstream (#839363)
5d4d477
711f8a0
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
711f8a0
- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
711f8a0
- Sign with test keys on UEFI systems.
711f8a0
- PPC - Handle device paths with commas correctly.
711f8a0
  Related: rhbz#828740
2047240
58a808c
* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
58a808c
- Add some more code to support Secure Boot, and temporarily disable
58a808c
  some other bits that don't work well enough yet.
58a808c
  Resolves: rhbz#836695
58a808c
58a808c
* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
58a808c
- Set a prefix for the image - needed for installer work
58a808c
- Provide the font in the EFI directory for the same reason
58a808c
a37bbab
* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
a37bbab
- Rebase to grub-2.00 release.
a37bbab
8205bed
* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
8205bed
- Fix double-free in grub-probe.
8205bed
c4a749d
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
c4a749d
- Build with patch19 applied.
c4a749d
ad98057
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
ad98057
- More ppc fixes.
ad98057
fc6558c
* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
fc6558c
- Add IBM PPC fixes.
fc6558c
37801c1
* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
460f2c5
- Update to beta6.
460f2c5
- Various fixes from mads.
460f2c5
bd43daa
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
bd43daa
- Revert builddep change for crt1.o; it breaks ppc build.
bd43daa
f3c723c
* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
f3c723c
- Add fwsetup command (pjones)
f3c723c
- More ppc fixes (IBM)
f3c723c
8273501
* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
8273501
- Fix the /other/ grub2-tools require to include epoch.
8273501
c10845e
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
c10845e
- Get rid of efi_uga and efi_gop, favoring all_video instead.
c10845e
8d4efa5
* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
8d4efa5
- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
8d4efa5
- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
8d4efa5
- move common stuff to -tools (kiilerix)
8d4efa5
- spec file cleanups (kiilerix)
8d4efa5
ed858ec
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
ed858ec
- Fix module trampolining on ppc (benh)
ed858ec
9f9108b
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
f7d8706
- Fix license of theme (mizmo)
f7d8706
  Resolves: rhbz#820713
31ad4e0
- Fix some PPC bootloader detection IBM problem
31ad4e0
  Resolves: rhbz#820722
f7d8706
44de025
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
44de025
- Update to beta5.
44de025
- Update how efi building works (kiilerix)
4a93dba
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
44de025
f45c3d8
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
f45c3d8
- Include theme support (mizmo)
f45c3d8
- Include locale support (kiilerix)
f45c3d8
- Include html docs (kiilerix)
f45c3d8
0e6e69f
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
3bcbea7
- Various fixes from Mads Kiilerich
3bcbea7
f06903e
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
f06903e
- Update to 2.00~beta4
f06903e
- Make fonts work so we can do graphics reasonably
f06903e
David W. Aquilina 81e64b5
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
David W. Aquilina 81e64b5
- Fix ieee1275 platform define for ppc
David W. Aquilina 81e64b5
c967306
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
c967306
- Remove ppc excludearch lines (dwa)
c967306
- Update ppc terminfo patch (hamzy)
c967306
6950aa5
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
6950aa5
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
6950aa5
- Fix version number to better match policy.
6950aa5
f2a9f13
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
f2a9f13
- Add support for serial terminal consoles on PPC by Mark Hamzy
f2a9f13
e91c775
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
e91c775
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
e91c775
1baa278
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
1baa278
- Use --with-grubdir= on configure to make it behave like -17 did.
1baa278
28678c2
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
28678c2
- Rebase from 1.99 to 2.00~beta2
c7429be
645dc62
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
645dc62
- Update for newer autotools and gcc 4.7.0
645dc62
  Related: rhbz#782144
62a7c9b
- Add /etc/sysconfig/grub link to /etc/default/grub
62a7c9b
  Resolves: rhbz#800152
c07e9a4
- ExcludeArch s390*, which is not supported by this package.
c07e9a4
  Resolves: rhbz#758333
c07e9a4
62a7c9b
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
62a7c9b
- Build with -Os (bug 782144)
62a7c9b
62a7c9b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
62a7c9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62a7c9b
62a7c9b
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
62a7c9b
- fix up various grub2-efi issues
62a7c9b
6c1e129
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
6c1e129
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
6c1e129
212d822
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
212d822
- Lots of .spec fixes from Mads Kiilerich:
212d822
  Remove comment about update-grub - it isn't run in any scriptlets
212d822
  patch info pages so they can be installed and removed correctly when renamed
212d822
  fix references to grub/grub2 renames in info pages (#743964)
212d822
  update README.Fedora (#734090)
212d822
  fix comments for the hack for upgrading from grub2 < 1.99-4
212d822
  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
8bbfda8
  make /etc/grub2*.cfg %%config(noreplace)
8bbfda8
  make grub.cfg %%ghost - an empty file is of no use anyway
212d822
  create /etc/default/grub more like anaconda would create it (#678453)
212d822
  don't create rescue entries by default - grubby will not maintain them anyway
212d822
  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
212d822
  grub2-efi should have its own bash completion
212d822
  don't set gfxpayload in efi mode - backport upstream r3402
212d822
- Handle dmraid better. Resolves: rhbz#742226
212d822
7cabf5f
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
7cabf5f
- Rebuilt for glibc bug#747377
7cabf5f
7c419b8
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
7c419b8
- /etc/default/grub is explicitly intended for user customization, so
7c419b8
  mark it as config(noreplace)
7c419b8
328405c
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
328405c
- grub has an epoch, so we need that expressed in the obsolete as well.
328405c
  Today isn't my day.
328405c
ba6990d
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
ba6990d
- Fix my bad obsoletes syntax.
ba6990d
5606a4e
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
5606a4e
- Obsolete grub
5606a4e
  Resolves: rhbz#743381
5606a4e
1156d47
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
1156d47
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
1156d47
  Related: rhbz#735259
1156d47
- handle initramfs on xen better (patch from Marko Ristola)
1156d47
  Resolves: rhbz#728775
1156d47
eb5089f
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
eb5089f
- Fix upgrades from grub2 < 1.99-4 (#735259)
eb5089f
6098d12
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
8bbfda8
- Don't do sysadminny things in %%preun or %%post ever. (#735259)
6098d12
- Actually include the changelog in this build (sorry about -3)
6098d12
62686d2
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
62686d2
- Require os-prober (#678456) (patch from Elad Alfassa)
62686d2
- Require which (#734959) (patch from Elad Alfassa)
62686d2
ee1d6da
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
ee1d6da
- Update to grub-1.99 final.
ee1d6da
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
ee1d6da
- Various CFLAGS fixes (from Mads Kiilerich)
ee1d6da
  - -fexceptions and -m64
ee1d6da
- Temporarily ignore translations (from Mads Kiilerich)
ee1d6da
b35cdf3
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
b35cdf3
- Use /sbin not /usr/sbin .
b35cdf3
b577e7c
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
b577e7c
- Fixes for ppc and ppc64
b577e7c
6233068
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
6233068
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild