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