2019-09-30 10:52:04 -04:00
|
|
|
%undefine _hardened_build
|
|
|
|
|
|
2024-03-04 03:17:58 +00:00
|
|
|
%global tarversion 2.12
|
2022-03-07 17:05:00 +08:00
|
|
|
%if "0%{?product_family}" == "0"
|
2021-03-29 09:50:55 +08:00
|
|
|
%define efi_vendor %{_vendor}
|
2022-03-07 17:05:00 +08:00
|
|
|
%else
|
|
|
|
|
%define efi_vendor %{product_family}
|
|
|
|
|
%endif
|
2019-09-30 10:52:04 -04:00
|
|
|
%undefine _missing_build_ids_terminate_build
|
|
|
|
|
%global _configure_gnuconfig_hack 0
|
|
|
|
|
|
2022-03-07 17:05:00 +08:00
|
|
|
%global gnulibversion fixes
|
|
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
Name: grub2
|
|
|
|
|
Epoch: 1
|
2024-03-04 03:17:58 +00:00
|
|
|
Version: 2.12
|
2024-06-25 14:40:36 +08:00
|
|
|
Release: 20
|
2019-09-30 10:52:04 -04:00
|
|
|
Summary: Bootloader with support for Linux, Multiboot and more
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: http://www.gnu.org/software/grub/
|
2020-07-29 20:47:36 +08:00
|
|
|
Source0: https://ftp.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
|
|
|
|
|
Source1: grub.macros
|
2019-09-30 10:52:04 -04:00
|
|
|
Source2: grub.patches
|
2022-03-07 17:05:00 +08:00
|
|
|
Source4: http://unifoundry.com/pub/unifont/unifont-13.0.06/font-builds/unifont-13.0.06.pcf.gz
|
2019-09-30 10:52:04 -04:00
|
|
|
Source5: theme.tar.bz2
|
|
|
|
|
Source6: gitignore
|
2022-03-07 17:05:00 +08:00
|
|
|
Source7: 99-grub-mkconfig.install
|
|
|
|
|
Source8: gnulib-%{gnulibversion}.tar.gz
|
2020-07-29 20:47:36 +08:00
|
|
|
Source9: strtoull_test.c
|
|
|
|
|
Source10: 20-grub.install
|
2022-03-07 17:05:00 +08:00
|
|
|
Source11: bootstrap
|
|
|
|
|
Source12: bootstrap.conf
|
2022-03-25 15:58:48 +08:00
|
|
|
Source13: sbat.csv.in
|
2022-11-04 11:19:09 +08:00
|
|
|
Source14: config_for_secure
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%include %{SOURCE1}
|
|
|
|
|
%include %{SOURCE2}
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
BuildRequires: gcc efi-srpm-macros flex bison binutils python3 ncurses-devel xz-devel
|
2020-11-16 16:15:27 +08:00
|
|
|
BuildRequires: freetype-devel libusb-devel bzip2-devel rpm-devel rpm-libs
|
2022-03-07 17:05:00 +08:00
|
|
|
BuildRequires: autoconf automake device-mapper-devel freetype-devel git
|
2021-04-18 02:27:40 -04:00
|
|
|
BuildRequires: texinfo gettext-devel dejavu-sans-fonts help2man systemd fuse-devel
|
2024-03-04 03:17:58 +00:00
|
|
|
BuildRequires: libtasn1-devel
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%ifarch %{golang_arches}
|
|
|
|
|
BuildRequires: pesign >= 0.99-8
|
|
|
|
|
%endif
|
|
|
|
|
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
|
|
|
|
|
BuildRequires: ccache
|
|
|
|
|
%endif
|
|
|
|
|
|
2022-03-25 15:58:48 +08:00
|
|
|
Obsoletes: %{name} <= %{evr}
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%if 0%{with_legacy_arch}
|
|
|
|
|
Requires: %{name}-%{legacy_package_arch} = %{evr}
|
|
|
|
|
%else
|
|
|
|
|
Requires: %{name}-%{package_arch} = %{evr}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
%description
|
2020-07-29 20:47:36 +08:00
|
|
|
GNU GRUB is a Multiboot boot loader. It was derived from GRUB, the GRand
|
|
|
|
|
Unified Bootloader, which was originally designed and implemented by
|
2019-09-30 10:52:04 -04:00
|
|
|
Erich Stefan Boleyn.
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
Briefly, a boot loader is the first software program that runs when a
|
|
|
|
|
computer starts. It is responsible for loading and transferring control
|
|
|
|
|
to the operating system kernel software (such as the Hurd or Linux). The
|
2019-09-30 10:52:04 -04:00
|
|
|
kernel, in turn, initializes the rest of the operating system (e.g. GNU).
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%package common
|
2019-09-30 10:52:04 -04:00
|
|
|
Summary: common package for grub2
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Conflicts: grubby < 8.40-18
|
|
|
|
|
|
|
|
|
|
%description common
|
|
|
|
|
Common package for grub2.
|
|
|
|
|
|
|
|
|
|
%package tools
|
2020-07-29 20:47:36 +08:00
|
|
|
Summary: tools package for grub2
|
2022-03-25 15:58:48 +08:00
|
|
|
Obsoletes: %{name}-tools < %{evr}
|
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2020-07-29 20:47:36 +08:00
|
|
|
Requires: gettext os-prober which file
|
|
|
|
|
Requires(pre): dracut
|
|
|
|
|
Requires(post): dracut
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
tools package for grub2.
|
|
|
|
|
|
2020-10-29 14:30:40 +08:00
|
|
|
%package tools-minimal
|
|
|
|
|
Summary: Support tools for GRUB.
|
|
|
|
|
Requires: gettext %{name}-common = %{epoch}:%{version}-%{release}
|
2022-03-25 15:58:48 +08:00
|
|
|
Obsoletes: %{name}-tools < %{evr}
|
2020-10-29 14:30:40 +08:00
|
|
|
|
|
|
|
|
%description tools-minimal
|
|
|
|
|
Support tools for GRUB.
|
|
|
|
|
|
|
|
|
|
%package tools-extra
|
|
|
|
|
Summary: Support tools for GRUB.
|
|
|
|
|
Requires: gettext os-prober which file
|
|
|
|
|
Requires: %{name}-tools-minimal = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2022-03-25 15:58:48 +08:00
|
|
|
Obsoletes: %{name}-tools < %{evr}
|
2020-10-29 14:30:40 +08:00
|
|
|
|
|
|
|
|
%description tools-extra
|
|
|
|
|
Support tools for GRUB.
|
|
|
|
|
|
|
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%ifarch x86_64
|
|
|
|
|
%package tools-efi
|
|
|
|
|
Summary: efi packages for grub2-tools
|
2020-07-29 20:47:36 +08:00
|
|
|
Requires: grub2-common = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: gettext os-prober which file
|
|
|
|
|
Obsoletes: grub2-tools < %{evr}
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%description tools-efi
|
|
|
|
|
Efi packages for grub2-tools.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{with_efi_arch}
|
|
|
|
|
%{expand:%define_efi_variant %%{package_arch} -o}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_alt_efi_arch}
|
|
|
|
|
%{expand:%define_efi_variant %%{alt_package_arch}}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_legacy_arch}
|
|
|
|
|
%{expand:%define_legacy_variant %%{legacy_package_arch}}
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%if 0%{with_emu_arch}
|
|
|
|
|
%package emu
|
|
|
|
|
Summary: GRUB user-space emulation.
|
|
|
|
|
Requires: %{name}-tools-minimal = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description emu
|
|
|
|
|
This subpackage provides the GRUB user-space emulation support of all platforms.
|
|
|
|
|
|
|
|
|
|
%package emu-modules
|
|
|
|
|
Summary: GRUB user-space emulation modules.
|
|
|
|
|
Requires: %{name}-tools-minimal = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description emu-modules
|
|
|
|
|
This subpackage provides the GRUB user-space emulation modules.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package_help
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%do_common_setup
|
|
|
|
|
%if 0%{with_efi_arch}
|
|
|
|
|
mkdir grub-%{grubefiarch}-%{tarversion}
|
|
|
|
|
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
|
|
|
|
|
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
|
2022-03-25 15:58:48 +08:00
|
|
|
sed -e "s,@@VERSION@@,%{version},g" -e "s,@@VERSION_RELEASE@@,%{version}-%{release},g" \
|
|
|
|
|
%{SOURCE13} > grub-%{grubefiarch}-%{tarversion}/sbat.csv
|
2019-09-30 10:52:04 -04:00
|
|
|
git add grub-%{grubefiarch}-%{tarversion}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_alt_efi_arch}
|
|
|
|
|
mkdir grub-%{grubaltefiarch}-%{tarversion}
|
|
|
|
|
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore
|
|
|
|
|
cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz
|
|
|
|
|
git add grub-%{grubaltefiarch}-%{tarversion}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_legacy_arch}
|
|
|
|
|
mkdir grub-%{grublegacyarch}-%{tarversion}
|
|
|
|
|
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore
|
|
|
|
|
cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz
|
|
|
|
|
git add grub-%{grublegacyarch}-%{tarversion}
|
|
|
|
|
%endif
|
2020-07-29 20:47:36 +08:00
|
|
|
%if 0%{with_emu_arch}
|
|
|
|
|
mkdir grub-emu-%{tarversion}
|
|
|
|
|
grep -A100000 '# stuff "make" creates' .gitignore > grub-emu-%{tarversion}/.gitignore
|
|
|
|
|
cp %{SOURCE4} grub-emu-%{tarversion}/unifont.pcf.gz
|
|
|
|
|
git add grub-emu-%{tarversion}
|
|
|
|
|
%endif
|
2019-09-30 10:52:04 -04:00
|
|
|
git commit -m "After making subdirs"
|
2022-03-07 17:05:00 +08:00
|
|
|
sed -i '/videotest_checksum/d' grub-core/tests/lib/functional_test.c
|
|
|
|
|
sed -i '/gfxterm_menu/d' grub-core/tests/lib/functional_test.c
|
|
|
|
|
sed -i '/cmdline_cat_test/d' grub-core/tests/lib/functional_test.c
|
|
|
|
|
git add grub-core/tests/lib/functional_test.c
|
|
|
|
|
git commit -m "Disable partial grub_func_test cases"
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%build
|
2024-06-25 14:40:36 +08:00
|
|
|
%ifarch ppc64le
|
|
|
|
|
export CFLAGS="$CFLAGS -fno-stack-protector"
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%if 0%{with_efi_arch}
|
|
|
|
|
%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_alt_efi_arch}
|
|
|
|
|
%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_legacy_arch}
|
|
|
|
|
%{expand:%do_legacy_build %%{grublegacyarch}}
|
|
|
|
|
%endif
|
2020-07-29 20:47:36 +08:00
|
|
|
%if 0%{with_emu_arch}
|
|
|
|
|
%{expand:%do_emu_build}
|
|
|
|
|
%endif
|
2019-09-30 10:52:04 -04: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
|
2023-11-16 11:26:06 +08:00
|
|
|
%if 0%{?openEuler_sign_rsa}
|
2024-04-30 09:47:44 +00:00
|
|
|
sh /usr/lib/rpm/brp-ebs-sign --efi %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname} || [ $? -eq 2 ] && echo "failed to sign, skip signature."
|
|
|
|
|
sh /usr/lib/rpm/brp-ebs-sign --efi %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname} || [ $? -eq 2 ] && echo "failed to sign, skip signature."
|
|
|
|
|
mv %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname}.sig %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname} ||:
|
|
|
|
|
mv %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname}.sig %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname} ||:
|
2023-11-16 11:26:06 +08:00
|
|
|
%endif
|
2019-09-30 10:52:04 -04:00
|
|
|
|
2020-02-20 19:28:44 +08:00
|
|
|
%check
|
2024-06-25 14:40:36 +08:00
|
|
|
%ifarch ppc64le
|
|
|
|
|
%global grubefiarch powerpc-ieee1275
|
|
|
|
|
%endif
|
2020-02-20 19:28:44 +08:00
|
|
|
pushd %{_builddir}/%{?buildsubdir}/grub-%{grubefiarch}-%{tarversion}/grub-core
|
|
|
|
|
make check
|
|
|
|
|
popd
|
|
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%install
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
%do_common_install
|
|
|
|
|
%if 0%{with_efi_arch}
|
|
|
|
|
%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_alt_efi_arch}
|
|
|
|
|
%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{with_legacy_arch}
|
|
|
|
|
%{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}}
|
|
|
|
|
%endif
|
2020-07-29 20:47:36 +08:00
|
|
|
%if 0%{with_emu_arch}
|
|
|
|
|
%{expand:%do_emu_install %%{package_arch}}
|
|
|
|
|
%endif
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
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
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%ifnarch x86_64
|
2020-07-29 20:47:36 +08:00
|
|
|
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
|
2022-03-07 17:05:00 +08:00
|
|
|
%else
|
|
|
|
|
pushd %{buildroot}/usr/lib/grub/i386-pc/
|
|
|
|
|
strip kernel.exec
|
|
|
|
|
strip lnxboot.image
|
|
|
|
|
popd
|
2019-09-30 10:52:04 -04:00
|
|
|
%endif
|
2022-03-25 15:58:48 +08:00
|
|
|
%{expand:%%do_install_protected_file %{name}-tools-minimal}
|
2019-09-30 10:52:04 -04:00
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%find_lang grub
|
|
|
|
|
|
2019-12-13 15:26:39 +08:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/grub/themes
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/
|
|
|
|
|
install -m 0755 %{SOURCE10} %{buildroot}%{_prefix}/lib/kernel/install.d
|
|
|
|
|
install -m 0755 %{SOURCE7} %{buildroot}%{_prefix}/lib/kernel/install.d
|
2019-09-30 10:52:04 -04:00
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
|
2019-09-30 10:52:04 -04:00
|
|
|
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
|
|
|
|
|
|
2024-03-04 03:17:58 +00:00
|
|
|
#install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants
|
|
|
|
|
#install -m 0644 docs/grub-boot-success.timer %{buildroot}%{_userunitdir}
|
|
|
|
|
#install -m 0644 docs/grub-boot-success.service %{buildroot}%{_userunitdir}
|
2019-09-30 10:52:04 -04:00
|
|
|
|
2024-03-04 03:17:58 +00:00
|
|
|
#install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
|
|
|
|
|
#install -m 0644 docs/grub-boot-indeterminate.service %{buildroot}%{_unitdir}
|
|
|
|
|
#ln -s ../grub-boot-indeterminate.service %{buildroot}%{_unitdir}/system-update.target.wants
|
2019-09-30 10:52:04 -04:00
|
|
|
|
2024-03-04 03:17:58 +00:00
|
|
|
#find %{buildroot}%{_unitdir}/ -type f -exec chmod a-x {} \;
|
2023-04-23 21:57:43 +08:00
|
|
|
mkdir %{buildroot}%{_sysconfdir}/default/grub.d
|
2022-12-19 09:48:40 +08:00
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
|
|
|
|
|
|
|
|
|
|
%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
|
2020-07-29 20:47:36 +08:00
|
|
|
%define __debug_install_post ( \
|
|
|
|
|
install -m 0755 -d %{finddebugroot}/usr \
|
|
|
|
|
mv %{buildroot}%{_bindir} %{finddebugroot}%{_bindir} \
|
|
|
|
|
mv %{buildroot}%{_sbindir} %{finddebugroot}%{_sbindir} \
|
|
|
|
|
%{dip} \
|
|
|
|
|
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/ \\\
|
|
|
|
|
%{buildroot}/usr/src/debug/ ) \
|
|
|
|
|
mv %{finddebugroot}%{_bindir} %{buildroot}%{_bindir} \
|
|
|
|
|
mv %{finddebugroot}%{_sbindir} %{buildroot}%{_sbindir} \
|
|
|
|
|
%{nil}
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
%undefine buildsubdir
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%pre tools
|
2019-09-30 10:52:04 -04:00
|
|
|
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
|
|
|
|
|
elif [ -f %{efi_esp_dir}/user.cfg ]; then
|
|
|
|
|
if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then
|
|
|
|
|
sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
|
|
|
|
|
%{efi_esp_dir}/user.cfg
|
|
|
|
|
fi
|
|
|
|
|
elif [ -f /etc/grub.d/01_users ] && \
|
|
|
|
|
grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
|
|
|
|
|
if [ -f %{efi_esp_dir}/grub.cfg ]; then
|
|
|
|
|
# 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/' \
|
|
|
|
|
> %{efi_esp_dir}/user.cfg
|
|
|
|
|
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
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%posttrans tools
|
|
|
|
|
|
|
|
|
|
if [ -f /etc/default/grub ]; then
|
2021-02-22 16:29:37 +08:00
|
|
|
if grep -q '^GRUB_ENABLE_BLSCFG=.*' /etc/default/grub; then
|
|
|
|
|
sed -i '/GRUB_ENABLE_BLSCFG=/d' /etc/default/grub
|
|
|
|
|
fi
|
2019-09-30 10:52:04 -04:00
|
|
|
fi
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%files common -f grub.lang
|
2019-09-30 10:52:04 -04:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING
|
|
|
|
|
%dir /boot/grub2/themes/system
|
|
|
|
|
%attr(0700,root,root) %dir /boot/grub2
|
|
|
|
|
%ghost %config(noreplace) /boot/grub2/grubenv
|
|
|
|
|
%exclude /boot/grub2/*
|
|
|
|
|
%dir %{_libdir}/grub/
|
2019-12-13 15:26:39 +08:00
|
|
|
%{_datarootdir}/grub/themes/
|
2019-09-30 10:52:04 -04:00
|
|
|
%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
|
|
|
|
|
%{_prefix}/lib/kernel/install.d/20-grub.install
|
2020-07-29 20:47:36 +08:00
|
|
|
%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
|
2019-09-30 10:52:04 -04:00
|
|
|
%{_sysconfdir}/kernel/install.d/*.install
|
|
|
|
|
%dir %attr(0700,root,root) %{efi_esp_dir}
|
|
|
|
|
%{_datadir}/locale/*
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%files tools
|
2019-09-30 10:52:04 -04:00
|
|
|
%defattr(-,root,root)
|
2020-10-29 14:30:40 +08:00
|
|
|
%{_sbindir}/%{name}-mkconfig
|
2024-03-04 03:17:58 +00:00
|
|
|
#%{_sbindir}/%{name}-switch-to-blscfg
|
|
|
|
|
#%{_sbindir}/%{name}-rpm-sort
|
2020-10-29 14:30:40 +08:00
|
|
|
%{_sbindir}/%{name}-reboot
|
|
|
|
|
%{_sbindir}/%{name}-install
|
|
|
|
|
%{_sbindir}/%{name}-sparc64-setup
|
|
|
|
|
%{_sbindir}/%{name}-ofpathname
|
|
|
|
|
%{_sbindir}/%{name}-probe
|
|
|
|
|
%{_bindir}/%{name}-glue-efi
|
|
|
|
|
%{_bindir}/%{name}-file
|
|
|
|
|
%{_bindir}/%{name}-menulst2cfg
|
|
|
|
|
%{_bindir}/%{name}-mkimage
|
|
|
|
|
%{_bindir}/%{name}-mkrelpath
|
|
|
|
|
%{_bindir}/%{name}-script-check
|
2024-03-04 03:17:58 +00:00
|
|
|
#%{_libexecdir}/%{name}
|
2020-10-29 14:30:40 +08:00
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%config %{_sysconfdir}/grub.d/??_*
|
2024-03-04 03:17:58 +00:00
|
|
|
#%exclude %{_sysconfdir}/grub.d/01_fallback_counting
|
2019-09-30 10:52:04 -04:00
|
|
|
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
|
2023-04-23 21:57:43 +08:00
|
|
|
%dir %config(noreplace) %{_sysconfdir}/default/grub.d
|
2019-09-30 10:52:04 -04:00
|
|
|
%{_sysconfdir}/grub.d/README
|
2024-03-04 03:17:58 +00:00
|
|
|
#%{_userunitdir}/*
|
|
|
|
|
#%{_unitdir}/grub-boot-indeterminate.service
|
|
|
|
|
#%{_unitdir}/system-update.target.wants
|
|
|
|
|
#%attr(0644,root,root) %{_unitdir}/%{name}-systemd-integration.service
|
|
|
|
|
#%dir %{_unitdir}/systemd-logind.service.d
|
|
|
|
|
#%attr(0644,root,root) %{_unitdir}/systemd-logind.service.d/*
|
2019-09-30 10:52:04 -04:00
|
|
|
%{_datarootdir}/grub/*
|
|
|
|
|
%{_datarootdir}/bash-completion/completions/grub
|
|
|
|
|
%exclude %{_datarootdir}/grub/themes
|
|
|
|
|
%exclude %{_datarootdir}/grub/*.h
|
|
|
|
|
%{_infodir}/%{name}*
|
|
|
|
|
|
2020-10-29 14:30:40 +08:00
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%if %{with_legacy_arch}
|
|
|
|
|
%{_sbindir}/grub2-install
|
2020-10-29 14:30:40 +08:00
|
|
|
%ifarch x86_64
|
2022-03-07 17:05:00 +08:00
|
|
|
%{_sbindir}/grub2-bios-setup
|
2020-10-29 14:30:40 +08:00
|
|
|
%else
|
|
|
|
|
%exclude %{_sbindir}/%{name}-bios-setup
|
|
|
|
|
%endif
|
2019-09-30 10:52:04 -04:00
|
|
|
%ifarch %{sparc}
|
|
|
|
|
%{_sbindir}/grub2-sparc64-setup
|
2022-03-07 17:05:00 +08:00
|
|
|
%{_sbindir}/grub2-ofpathname
|
2019-09-30 10:52:04 -04:00
|
|
|
%else
|
|
|
|
|
%exclude %{_sbindir}/grub2-sparc64-setup
|
2022-03-07 17:05:00 +08:00
|
|
|
%exclude %{_sbindir}/grub2-ofpathname
|
2019-09-30 10:52:04 -04:00
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-10-29 14:30:40 +08:00
|
|
|
|
|
|
|
|
%files tools-minimal
|
|
|
|
|
%defattr(-,root,root)
|
2024-03-04 03:17:58 +00:00
|
|
|
#%attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag
|
2024-04-30 09:47:44 +00:00
|
|
|
%{_sbindir}/%{name}-get-kernel-settings
|
2020-10-29 14:30:40 +08:00
|
|
|
%{_sbindir}/%{name}-set*password
|
|
|
|
|
%{_sbindir}/%{name}-set-default
|
|
|
|
|
%{_bindir}/%{name}-editenv
|
|
|
|
|
%{_bindir}/%{name}-mkpasswd-pbkdf2
|
2021-04-18 02:27:40 -04:00
|
|
|
%{_bindir}/%{name}-mount
|
2022-03-25 15:58:48 +08:00
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/dnf/protected.d/%{name}-tools-minimal.conf
|
2020-10-29 14:30:40 +08:00
|
|
|
|
|
|
|
|
%files tools-extra
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_sysconfdir}/sysconfig/grub
|
|
|
|
|
%{_bindir}/%{name}-fstest
|
|
|
|
|
%{_bindir}/%{name}-kbdcomp
|
|
|
|
|
%{_bindir}/%{name}-mkfont
|
|
|
|
|
%{_bindir}/%{name}-mklayout
|
|
|
|
|
%{_bindir}/%{name}-mknetdir
|
|
|
|
|
%{_bindir}/%{name}-mkstandalone
|
|
|
|
|
%{_bindir}/%{name}-syslinux2cfg
|
2019-09-30 10:52:04 -04:00
|
|
|
%ifnarch %{sparc}
|
|
|
|
|
%{_bindir}/grub2-mkrescue
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64
|
2020-07-29 20:47:36 +08:00
|
|
|
%files tools-efi
|
2022-03-07 17:05:00 +08:00
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:52:04 -04:00
|
|
|
%{_sbindir}/%{name}-macbless
|
|
|
|
|
%{_bindir}/%{name}-render-label
|
|
|
|
|
%endif
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%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
|
|
|
|
|
|
2020-07-29 20:47:36 +08:00
|
|
|
%if 0%{with_emu_arch}
|
|
|
|
|
%files emu
|
|
|
|
|
%{_bindir}/%{name}-emu*
|
|
|
|
|
|
|
|
|
|
%files emu-modules
|
|
|
|
|
%{_libdir}/grub/%{emuarch}-emu/*
|
|
|
|
|
%exclude %{_libdir}/grub/%{emuarch}-emu/*.module
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-09-30 10:52:04 -04:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc INSTALL NEWS README THANKS TODO docs/grub.html docs/grub-dev.html docs/font_char_metrics.png
|
|
|
|
|
%{_datadir}/man/man*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-06-25 14:40:36 +08:00
|
|
|
* Tue Jun 25 2024 peng.zou <peng.zou@shingroup.cn> - 1:2.12-20
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add support for ppc64le
|
|
|
|
|
|
2024-06-24 11:39:54 +00:00
|
|
|
* Mon Jun 24 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-19
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix log printing in tpcm_kunpeng module again
|
|
|
|
|
|
|
|
|
|
* Wed Jun 19 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-18
|
2024-06-20 07:06:15 +00:00
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix log printing in tpcm_kunpeng module
|
|
|
|
|
|
2024-06-19 15:03:17 +08:00
|
|
|
* Wed Jun 19 2024 yueyuankun <yueyuankun@kylinos.cn> - 1:2.12-17
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Add gfxterm_background and serial modules to grub.efi
|
|
|
|
|
|
2024-06-17 06:47:02 +00:00
|
|
|
* Mon Jun 17 2024 wangziliang <wangziliang@kylinos.cn> - 1:2.12-16
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:disk/mdraid1x_linux: Prevent infinite recursion
|
|
|
|
|
|
2024-06-05 02:03:28 +00:00
|
|
|
* Wed Jun 5 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-15
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- CVE:CVE-2021-46848
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:lib/libtasn1: Fix ETYPE_OK off by one array size check
|
|
|
|
|
|
2024-05-28 16:59:28 +08:00
|
|
|
* Tue May 28 2024 liuxue <liuxue@loongson.cn> - 1:2.12-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix that patch233 introduced old code
|
2024-05-25 12:00:44 +08:00
|
|
|
|
|
|
|
|
* Sat May 25 2024 liuxue <liuxue@loongson.cn> - 1:2.12-13
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch64: Add back-compatibility for linux kernel
|
|
|
|
|
|
2024-05-24 19:38:29 +08:00
|
|
|
* Fri May 24 2024 Ouuleilei <wangliu@iscas.ac.cn> - 1:2.12-12
|
|
|
|
|
- Add sophgo's patch to support risc-v machine SG2042
|
|
|
|
|
|
2024-05-11 07:11:21 +00:00
|
|
|
* Sat May 11 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch64: fix GRUB_EFI_MAX_ALLOCATION_ADDRESS undeclared
|
|
|
|
|
|
2024-05-11 11:33:07 +08:00
|
|
|
* Sat May 11 2024 xiaozai <xiaozai@kylinos.cn> - 1:2.12-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Handle non-continuous data blocks in directory extents
|
|
|
|
|
|
2024-04-30 09:47:44 +00:00
|
|
|
* Tue May 7 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-9
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:ignore signing failure
|
|
|
|
|
Revert "templates: Disable the os-prober by default"
|
|
|
|
|
Revert "templates: Properly disable the os-prober by default"
|
|
|
|
|
Add grub-get-kernel-settings and use it in 10_linux
|
|
|
|
|
Replace a lot of man pages with slightly nicer ones
|
|
|
|
|
|
2024-04-09 13:59:26 +00:00
|
|
|
* Tue Apr 9 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support TPM2.0
|
|
|
|
|
use default timestamp
|
|
|
|
|
|
2024-04-08 07:45:20 +00:00
|
|
|
* Mon Apr 8 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix compressed kernel verification failed
|
|
|
|
|
|
2024-03-22 17:14:54 +08:00
|
|
|
* Fri Mar 22 2024 jinlun <jinlun@huawei.com> - 1:2.12-6
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Interface for replacing the EFI signature
|
|
|
|
|
|
2024-03-21 11:36:26 +00:00
|
|
|
* Thu Mar 21 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-5
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add TPCM support with ipmi channel
|
|
|
|
|
|
2024-03-11 08:45:49 +00:00
|
|
|
* Mon Mar 11 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Don't require a password to boot entries generated by grub-mkconfig
|
|
|
|
|
|
2024-03-08 09:32:28 +00:00
|
|
|
* Fri Mar 8 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:look for grub.cfg on efi where the app was found
|
|
|
|
|
|
2024-03-07 02:39:46 +00:00
|
|
|
* Thu Mar 7 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify klist in 10_linux.in
|
|
|
|
|
|
2024-03-04 03:17:58 +00:00
|
|
|
* Mon Mar 4 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 2.12
|
|
|
|
|
|
2023-12-06 11:43:30 +08:00
|
|
|
* Mon Dec 25 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-43
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Disable relaxation relocations
|
|
|
|
|
|
2023-12-20 15:08:39 +08:00
|
|
|
* Wed Dec 20 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-42
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:skip verification when not loading grub.cfg
|
|
|
|
|
|
2023-11-28 10:05:15 +08:00
|
|
|
* Tue Nov 28 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-41
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change the name of module tpcm to tpcm_kunpeng
|
|
|
|
|
|
2023-11-22 10:56:35 +08:00
|
|
|
* Wed Nov 22 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-40
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add TPCM support with ipmi channel
|
|
|
|
|
|
2023-11-16 11:26:06 +08:00
|
|
|
* Thu Nov 16 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-39
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support openEuler signature
|
|
|
|
|
|
2023-10-07 19:54:25 +08:00
|
|
|
* Sat Oct 7 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-38
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- CVE:CVE-2023-4692 CVE-2023-4693
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fs/ntfs: Make code more readable
|
|
|
|
|
fs/ntfs: Fix an OOB read when parsing a volume label
|
|
|
|
|
fs/ntfs: Fix an OOB read when parsing bitmaps for index attributes
|
|
|
|
|
fs/ntfs: Fix an OOB read when parsing directory entries from resident and non-resident index attributes
|
|
|
|
|
fs/ntfs: Fix an OOB read when reading data from the resident $DATA attribute
|
|
|
|
|
fs/ntfs: Fix an OOB write when parsing the $ATTRIBUTE_LIST attribute for the $MFT file
|
|
|
|
|
|
2023-09-13 22:49:55 +08:00
|
|
|
* Wed Sep 13 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-37
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fs/udf: Fix out of bounds access
|
|
|
|
|
lib/relocator: Fix OOB write when initializing lo->freebytes[]
|
|
|
|
|
util/grub-mount: Fix memory leak in fuse_getattr()
|
|
|
|
|
|
2023-09-08 10:11:09 +08:00
|
|
|
* Fri Sep 1 2023 ouuleilei <wangliu@iscas.ac.cn> - 1:2.06-36
|
|
|
|
|
add a patch to fix build error
|
|
|
|
|
|
2023-08-17 19:15:18 +08:00
|
|
|
* Thu Aug 17 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-35
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kern: Check for NULL when closing devices and disks
|
|
|
|
|
kern/efi/mm: Fix use-after-free in finish boot services
|
|
|
|
|
util/grub-install-common: Fix the key of the --core-compress option
|
|
|
|
|
net/dns: Fix lookup error when no IPv6 is returned
|
|
|
|
|
net/dns: Simplify error handling of recv_hook() function
|
|
|
|
|
net/dns: Fix removal of DNS server
|
|
|
|
|
|
2023-08-07 15:22:03 +08:00
|
|
|
* Mon Aug 7 2023 mengyingkun <mengyingkun@loongson.com> - 1:2.06-34
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Fix initrd parameter passing
|
|
|
|
|
|
2023-07-24 22:06:04 +08:00
|
|
|
* Mon Jul 24 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-33
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove the items of unsupported filesystems in fs.lst
|
|
|
|
|
|
2023-07-17 16:17:40 +08:00
|
|
|
* Mon Jul 17 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-32
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Override the linker and force noexecstack stacks
|
|
|
|
|
|
2023-07-03 11:20:35 +08:00
|
|
|
* Mon Jul 3 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-31
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:kern/acpi: Use xsdt_addr if present
|
|
|
|
|
commands/acpi: Use xsdt_addrifpresent
|
|
|
|
|
|
2023-06-15 22:12:59 +08:00
|
|
|
* Thu Jun 15 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-30
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Revert "EFI: allocate kernel in EFI_RUNTIME_SERVICES_CODE
|
|
|
|
|
|
2023-04-23 21:57:43 +08:00
|
|
|
* Sun Apr 23 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-29
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Read /etc/default/grub.d/*.cfg after /etc/default/grub
|
|
|
|
|
|
2023-04-10 22:22:30 +08:00
|
|
|
* Mon Apr 10 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-28
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:osdep/linux/hostdisk: Modify sector by sysfs as disk sector
|
|
|
|
|
net/bootp: Fix unchecked return value
|
|
|
|
|
fs/iso9660: Avoid reading past the entry boundary
|
|
|
|
|
fs/iso9660: Incorrect check for entry boundary
|
|
|
|
|
fs/iso9660: Prevent skipping CE or ST at start of continuation area
|
|
|
|
|
fs/iso9660: Prevent read past the end of system use area
|
|
|
|
|
fs/iso9660: Add check to prevent infinite loop
|
|
|
|
|
gentpl.py: Remove .interp section from .img files
|
|
|
|
|
kern/fs: Fix possible integer overflow in i386-pc mode with large partitions
|
|
|
|
|
font: Reject fonts with negative max_char_width or max_char_height
|
|
|
|
|
font: Assign null_font to unknown_glyph
|
|
|
|
|
font: Check return value of grub_malloc() in ascii_glyph_lookup()
|
|
|
|
|
|
2023-03-23 09:14:23 +08:00
|
|
|
* Wed Mar 22 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-27
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Implement cache synchronization operation
|
|
|
|
|
|
2023-03-18 11:59:07 +08:00
|
|
|
* Sat Mar 18 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-26
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Force initrd load address 64KiB alignment
|
|
|
|
|
|
2023-03-11 16:18:53 +08:00
|
|
|
* Sat Mar 11 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-25
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix missing declaration of strchrnul in rpm-sort
|
|
|
|
|
|
2023-03-10 11:19:44 +08:00
|
|
|
* Fri Mar 10 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-24
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Add support for new EFI screen info GUID
|
|
|
|
|
|
2023-02-13 16:25:08 +08:00
|
|
|
* Mon Feb 13 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-23
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Add support for v4.0 interface
|
|
|
|
|
|
2023-02-08 09:36:26 +08:00
|
|
|
* Wed Feb 8 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-22
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch: Add EFI frame buffer support
|
|
|
|
|
|
2023-02-06 23:06:41 +08:00
|
|
|
* Mon Feb 6 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-21
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:disk/diskfilter: Check calloc() result for NULL
|
|
|
|
|
kern/buffer: Handle NULL input pointer in grub_buffer_free()
|
|
|
|
|
disk/diskfilter: Don't make a RAID array with more than 1024 disks
|
|
|
|
|
loader/multiboot_elfxx: Fix memory leak
|
|
|
|
|
loader/linux: Ensure the newc pathname is NULL-terminated
|
|
|
|
|
term/i386/pc/vga_text: Prevent out-of-bounds writes to VGA text buffer
|
|
|
|
|
normal/cmdline: Fix two related integer underflows
|
|
|
|
|
fs/iso9660: Fix memory leaks in grub_iso9660_susp_iterate()
|
|
|
|
|
fs/squash4: Fix memory leaks in grub_squash_iterate_dir()
|
|
|
|
|
fs/xfs: Fix memory leaks in XFS module
|
|
|
|
|
kern/file: Fix error handling in grub_file_open()
|
|
|
|
|
|
2023-02-06 10:41:28 +08:00
|
|
|
* Thu Feb 2 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-20
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:loongarch modify the location where initrd is loaded into memory
|
|
|
|
|
|
2023-02-02 14:52:09 +08:00
|
|
|
* Thu Feb 2 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-19
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:disable some unsupported filesystems
|
|
|
|
|
|
2023-01-10 17:19:23 +08:00
|
|
|
* Tue Jan 10 2023 mengyingkun <mengyingkun@loongson.cn> - 1:2.06-18
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add loongarch support
|
|
|
|
|
|
2022-12-19 09:48:40 +08:00
|
|
|
* Mon Dec 19 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-17
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the permissions of the files which under /usr/lib/systemd/system directory
|
|
|
|
|
in grub2-tools to 644
|
|
|
|
|
|
2022-12-12 17:27:59 +08:00
|
|
|
* Mon Dec 12 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-16
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:enable -fPIE compilation options
|
|
|
|
|
|
2022-11-18 10:25:29 +08:00
|
|
|
* Fri Nov 18 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-15
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:CVE-2022-2601 CVE-2022-3775
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2022-2601 and CVE-2022-3775
|
|
|
|
|
|
2022-11-04 11:19:09 +08:00
|
|
|
* Fri Nov 4 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add the source file of config_for_secure
|
|
|
|
|
|
2022-10-23 22:14:59 +08:00
|
|
|
* Sun Oct 23 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-13
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport some patches from upstream
|
|
|
|
|
|
2022-08-30 17:12:00 +08:00
|
|
|
* Tue Aug 30 2022 wanglu <wanglu210@huawei.com> - 1:2.06-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:tests: Disable blkid cache usage
|
|
|
|
|
disk/efi/efidisk: Pass buffers with higher alignment
|
|
|
|
|
|
2022-07-23 20:07:16 +08:00
|
|
|
* Sat Jul 23 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix compressed kernel verification failed
|
|
|
|
|
|
2022-06-29 16:27:57 +08:00
|
|
|
* Wed Jun 29 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-10
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add tpm in efi_modules of aarch64
|
|
|
|
|
|
2022-06-21 13:54:28 +08:00
|
|
|
* Tue Jun 21 2022 sunhai <sunhai10@huawei.com> - 1:2.06-9
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- CVE:CVE-2021-3697 CVE-2022-28735 CVE-2022-28736 CVE-2022-28734 CVE-2022-28733 CVE-2021-3695 CVE-2021-3696
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:adapts to the open source code for log printing
|
|
|
|
|
libgcrypt: Avoid -Wsign-compare in rijndael do_setkey()
|
|
|
|
|
disk/ldm: Fix resource leak
|
|
|
|
|
io/gzio: Fix possible use of uninitialized variable in huft_build()
|
|
|
|
|
fs/zfs/zfs: Fix possible insecure use of chunk size in zap_leaf_array_get()
|
|
|
|
|
util/grub-mkfont: Fix memory leak in write_font_pf2()
|
|
|
|
|
util/grub-fstest: Fix resource leaks in cmd_cmp()
|
|
|
|
|
util/grub-mkrescue: Fix memory leak in write_part()
|
|
|
|
|
util/grub-install-common: Fix memory leak in copy_all()
|
|
|
|
|
osdep/linux: Fix md array device enumeration
|
|
|
|
|
double grub x86_64-efi mm pool
|
|
|
|
|
net: fix null pointer dereference when parsing ICMP6_ROUTER_ADVERTISE messages
|
|
|
|
|
efinet:Correct closing of SNP protocol
|
|
|
|
|
configure:Fix misspelled variable BUILD_LDFAGS -> BUILD_LDFLAGS
|
|
|
|
|
fix partmap_test failure
|
|
|
|
|
UEFI mode uses /boot/efi/EFI/euleros/user.cfg as password
|
|
|
|
|
util/resolve: Do not read past the end of the array in read_dep_list()
|
|
|
|
|
fs/affs: Fix resource leaks
|
|
|
|
|
Revert iee1275/datetime: Fix off-by-1 error
|
|
|
|
|
commands/search: Fix bug stopping iteration when --no-floppy is used
|
|
|
|
|
mm: Temporarily disable grub_mm_debug while calling grub_vprintf() in grub_printf()
|
|
|
|
|
net: Check against nb->tail in grub_netbuff_pull()
|
|
|
|
|
kern/rescue_parser: Ensure that parser allocated memory is not leaked
|
|
|
|
|
net/net: Fix uninitialized scalar variable
|
|
|
|
|
net/arp: Fix uninitialized scalar variable
|
|
|
|
|
loader/i386/pc/linux: Fix uninitialized scalar variable
|
|
|
|
|
net/bootp: Fix uninitialized scalar variable
|
|
|
|
|
fix CVE-2021-3697 CVE-2022-28735 CVE-2022-28736 CVE-2022-28734 CVE-2022-28733 CVE-2021-3695 CVE-2021-3696
|
|
|
|
|
|
2022-05-05 11:12:58 +08:00
|
|
|
* Thu May 05 2022 sunhai <sunhai10@huawei.com> - 1:2.06-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix PXE boot in IPv6 network when paring ICMP6_ROUTE_ADVERTISE messages
|
|
|
|
|
|
2022-04-24 19:13:09 +08:00
|
|
|
* Sun Apr 24 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.06-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the file permissions of grub-boot-indeterminate.service and
|
|
|
|
|
10-grub2-logind-service.conf to 644
|
|
|
|
|
|
2023-10-07 19:54:25 +08:00
|
|
|
* Thu Apr 21 2022 lvxiaoqian<xiaoqian@nj.iscas.ac.cn> - 2.06-6
|
2022-04-21 15:40:22 +08:00
|
|
|
- update grub.macros for riscv
|
|
|
|
|
|
2022-04-14 16:21:15 +08:00
|
|
|
* Thu Apr 14 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.06-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix grub2 password setting does not take effect
|
|
|
|
|
|
2022-03-25 15:58:48 +08:00
|
|
|
* Fri Mar 25 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.06-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:enable sbat and don't verify kernels twice
|
|
|
|
|
|
2022-03-24 12:16:31 +08:00
|
|
|
* Thu Mar 24 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.06-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove 08_fallback_counting.in apply grubby
|
|
|
|
|
|
2022-03-22 22:30:15 +08:00
|
|
|
* Tue Mar 22 2022 fengtao <fengtao40@huawei.com> - 2.06-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix setupmode not available in some machine
|
|
|
|
|
|
2022-03-07 17:05:00 +08:00
|
|
|
* Tue Mar 22 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.06-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to version 2.06
|
|
|
|
|
disable partial grub_func_test cases because they are not supported
|
|
|
|
|
|
2022-02-28 10:54:08 +08:00
|
|
|
* Mon Feb 28 2022 fengtao <fengtao40@huawei.com> - 2.04-24
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix arm64 kernel image not aligned on 64k boundary
|
|
|
|
|
fix grub.patches file format to unix
|
|
|
|
|
|
2022-02-26 10:36:35 +08:00
|
|
|
* Sat Feb 26 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-23
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- CVE:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:disable grub-boot-success.service
|
|
|
|
|
|
2021-11-26 11:39:56 +08:00
|
|
|
* Fri Nov 26 2021 xihaochen<xihaochen@huawei.com> - 2.04-22
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
DESC:grub2 set password prompts to enter the current pass
|
|
|
|
|
support TPM2.0
|
|
|
|
|
use default timestamp
|
|
|
|
|
|
2021-11-16 10:29:36 +08:00
|
|
|
* Tue Nov 16 2021 fengtao <fengtao40@huawei.com> - 2.04-21
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix bad test on GRUB_DISABLE_SUBMENU
|
|
|
|
|
|
2021-09-27 22:23:05 +08:00
|
|
|
* Mon Sep 27 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-20
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:verifiers: Fix calling uninitialized function pointer
|
|
|
|
|
|
2021-08-02 14:11:43 +08:00
|
|
|
* Mon Aug 02 2021 gaihuiying <gaihuiying1@huawei.com> - 2.04-19
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify git config parameters
|
|
|
|
|
|
2021-04-18 03:31:21 -04:00
|
|
|
* Tue May 25 2021 yanan <yanan@huawei.com> - 2.04-18
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete the Symbolic Link of grubenv in grub2-efi-x64 and grub-efi-aa64 packages
|
|
|
|
|
|
2021-05-18 14:26:13 +08:00
|
|
|
* Tue May 18 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-17
|
2021-05-18 14:26:13 +08:00
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
2021-05-18 14:26:13 +08:00
|
|
|
- DESC:delete the Symbolic Link of grubenv in grub2-efi-x64 and grub-efi-aa64 packages
|
2021-05-18 14:26:13 +08:00
|
|
|
|
2021-03-30 10:09:24 +08:00
|
|
|
* Tue Mar 30 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-16
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport some patches from upstream community and fix incorrect
|
|
|
|
|
author names in patches
|
|
|
|
|
|
2021-03-29 17:16:57 +08:00
|
|
|
* Mon Mar 29 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-15
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport the patches that upstream community released on
|
|
|
|
|
March 2, 2021
|
|
|
|
|
|
2021-03-29 09:50:55 +08:00
|
|
|
* Mon Mar 29 2021 renmingshuai <renmingshuai@huawei.com> - 2.04-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add efi_vendor for vendor
|
|
|
|
|
|
2021-03-21 17:51:50 +08:00
|
|
|
* Sun Mar 21 2021 orange-snn <songnannan2@huawei.com> - 2.04-13
|
|
|
|
|
- fix postun error in grub2-efi-x64
|
|
|
|
|
|
|
|
|
|
* Thu Mar 18 2021 yanglu <yanglu60@huawei.com> - 2.04-12
|
|
|
|
|
- Type:cves
|
|
|
|
|
- ID:CVE-2020-27779 CVE-2020-14372
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-27779 CVE-2020-14372
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-11
|
2021-03-18 09:46:41 +08:00
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix the installation failure of grub2-efi-x64/grub-efi-aa64 packages on
|
|
|
|
|
the /boot partition of VFAT file system.
|
|
|
|
|
|
2022-03-07 17:05:00 +08:00
|
|
|
* Tue Mar 16 2021 hanhui <hanhui15@huawei.com> - 2.04-11
|
2021-03-16 19:12:31 +08:00
|
|
|
- Type:cves
|
|
|
|
|
- Id:CVE-2020-27779 CVE-2020-14372
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-27779 CVE-2020-14372
|
|
|
|
|
|
2021-03-11 21:28:54 +08:00
|
|
|
* Fri Mar 12 2021 yanglu <yanglu60@huawei.com> - 2.04-10
|
|
|
|
|
- Type:cves
|
|
|
|
|
- Id:CVE-2020-25632 CVE-2020-25647 CVE-2020-27749 CVE-2021-20225 CVE-2021-20233
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-25632 CVE-2020-25647 CVE-2020-27749 CVE-2021-20225 CVE-2021-20233
|
|
|
|
|
|
2021-02-27 16:58:31 +08:00
|
|
|
* Sat Feb 27 2021 fengtao <fengtao40@huawei.com> - 2.04-9
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:tftp roll over block counter to prevent timeouts with
|
|
|
|
|
data packets
|
|
|
|
|
|
2021-02-22 16:29:37 +08:00
|
|
|
* Mon Feb 22 2021 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix kernel not found because grub.cfg using BLS format
|
|
|
|
|
|
2020-11-16 16:15:27 +08:00
|
|
|
* Mon Nov 16 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove duplicate rpm-devel in BuildRequires
|
|
|
|
|
|
2020-11-14 14:36:18 +08:00
|
|
|
* Sat Nov 14 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove 08_fallback_counting.in apply grubby
|
|
|
|
|
|
2020-10-29 19:43:44 +08:00
|
|
|
* Thu Oct 29 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove grub2-emu and grub2-emu-lite in grub2-tools
|
|
|
|
|
|
2020-10-29 14:30:40 +08:00
|
|
|
* Thu Oct 29 2020 zhangqiumiao <zhangqiumiao1@huawei.com> - 2.04-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:split tools-extra and tools-minimal from tools
|
|
|
|
|
|
2020-08-07 16:14:32 +08:00
|
|
|
* Fri Aug 7 2020 hanzhijun <hanzhijun1@huawei.com> - 2.04-3
|
|
|
|
|
- Type:cves
|
|
|
|
|
- Id:CVE-2020-10713 CVE-2020-14308 CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 CVE-2020-15705 CVE-2020-15706 CVE-2020-15707
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2020-10713 CVE-2020-14308 CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 CVE-2020-15705 CVE-2020-15706 CVE-2020-15707
|
|
|
|
|
|
2020-08-03 10:57:27 +08:00
|
|
|
* Mon Aug 3 2020 hanzhijun <hanzhijun1@huawei.com> - 2.04-2
|
|
|
|
|
- add CPPFLAGS
|
|
|
|
|
|
2020-08-07 16:14:32 +08:00
|
|
|
* Sat Aug 1 2020 hanzhijun <hanzhijun1@huawei.com> - 2.04-1
|
2020-08-03 10:57:27 +08:00
|
|
|
- update to 2.0.4
|
|
|
|
|
|
2020-08-07 16:14:32 +08:00
|
|
|
* Fri Jul 17 2020 chenyaqiang <chenyaqiang@huawei.com> - 2.02-75
|
2020-08-03 10:57:27 +08:00
|
|
|
- remove repeated buildrequest packge “rpm-devel” in grub2.spec
|
|
|
|
|
|
|
|
|
|
* Fri Apr 24 2020 fengtao <fengtao40@huawei.com> - 2.02-74
|
|
|
|
|
- exclude two cmd in grub2-tools
|
|
|
|
|
|
2022-03-07 17:05:00 +08:00
|
|
|
* Tue Mar 3 2020 songnannan <songnannan2@huawei.com> - 2.02-73
|
2020-08-03 10:57:27 +08:00
|
|
|
- delete java-1.8.0-openjdk in buildrequires
|
|
|
|
|
|
|
|
|
|
* Thu Feb 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.02-72
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add make check function
|
|
|
|
|
|
|
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-71
|
|
|
|
|
- Type:cves
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add cve patches
|
|
|
|
|
|
|
|
|
|
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-70
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add the path for themes
|
|
|
|
|
|
|
|
|
|
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-69- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add config_for_secure file for gcc_secure
|
|
|
|
|
|
|
|
|
|
* Sat Sep 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-68
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rename the 20-grub.install file to 20-grubby.install
|
|
|
|
|
|
|
|
|
|
* Wed Sep 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-67
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:fix grub2-setpassword error for openeuler
|
|
|
|
|
|
|
|
|
|
* Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.02-66
|
|
|
|
|
- Package init
|