Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2024-05-21 18:33:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2 (Old) and /work/SRC/openSUSE:Factory/.grub2.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2" Tue May 21 18:33:13 2024 rev:330 rq:1175425 version:2.12 Changes: -------- --- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2024-05-16 17:14:11.973800359 +0200 +++ /work/SRC/openSUSE:Factory/.grub2.new.1880/grub2.changes 2024-05-21 18:33:18.359532247 +0200 @@ -1,0 +2,6 @@ +Mon May 20 07:22:09 UTC 2024 - Gary Ching-Pang Lin <g...@suse.com> + +- Only enable grub-protect for EFI systems + * 0001-util-enable-grub-protect-only-for-EFI-systems.patch + +------------------------------------------------------------------- New: ---- 0001-util-enable-grub-protect-only-for-EFI-systems.patch BETA DEBUG BEGIN: New:- Only enable grub-protect for EFI systems * 0001-util-enable-grub-protect-only-for-EFI-systems.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grub2.spec ++++++ --- /var/tmp/diff_new_pack.7Rrk2u/_old 2024-05-21 18:33:21.343640745 +0200 +++ /var/tmp/diff_new_pack.7Rrk2u/_new 2024-05-21 18:33:21.347640891 +0200 @@ -394,6 +394,7 @@ Patch204: 0001-ofdisk-Enhance-canonical-path-handling-for-bootpath.patch Patch205: 0001-10_linux-Ensure-persistence-of-root-file-system-moun.patch Patch206: 0001-util-bash-completion-Fix-for-bash-completion-2.12.patch +Patch207: 0001-util-enable-grub-protect-only-for-EFI-systems.patch Requires: gettext-runtime %if 0%{?suse_version} >= 1140 @@ -1223,7 +1224,6 @@ %{_mandir}/man1/%{name}-mkrelpath.1.* %{_mandir}/man1/%{name}-mkrescue.1.* %{_mandir}/man1/%{name}-mkstandalone.1.* -%{_mandir}/man1/%{name}-protect.1.* %{_mandir}/man1/%{name}-render-label.1.* %{_mandir}/man1/%{name}-script-check.1.* %{_mandir}/man1/%{name}-syslinux2cfg.1.* @@ -1251,6 +1251,9 @@ %{_mandir}/man8/%{name}-ofpathname.8.* %{_mandir}/man8/%{name}-sparc64-setup.8.* %endif +%ifarch %{efi} +%{_mandir}/man1/%{name}-protect.1.* +%endif %files branding-upstream %defattr(-,root,root,-) ++++++ 0001-util-enable-grub-protect-only-for-EFI-systems.patch ++++++ >From 6ce53d4db8430de5526ea4c48beac8139ba60925 Mon Sep 17 00:00:00 2001 From: Gary Lin <g...@suse.com> Date: Mon, 20 May 2024 14:19:58 +0800 Subject: [PATCH] util: enable grub-protect only for EFI systems Add 'enable = efi;' back to the grub-protect section to enable the utility only for EFI systems. The restriction was relaxed in the upstreaming patch to enable the grub-emu TPM2 testcases. Since we already build the utility natively for the architectures with EFI support, there is no need to build the program again for grub-emu. Signed-off-by: Gary Lin <g...@suse.com> --- Makefile.util.def | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.util.def b/Makefile.util.def index 90850125d..5085152b0 100644 --- a/Makefile.util.def +++ b/Makefile.util.def @@ -210,6 +210,7 @@ program = { program = { name = grub-protect; mansection = 1; + enable = efi; common = grub-core/kern/emu/argp_common.c; common = grub-core/osdep/init.c; -- 2.35.3