public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grub2] f44: Fix /usr/lib/efi folders ownership
@ 2026-09-30 14:32 Josue Hernandez
0 siblings, 0 replies; only message in thread
From: Josue Hernandez @ 2026-09-30 14:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grub2
Branch : f44
Commit : b4da99c4840f1f8c174b0eda807701a78fd4c44e
Author : Josue Hernandez <josherna@redhat.com>
Date : 2026-09-17T13:26:01-06:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/grub2/c/b4da99c4840f1f8c174b0eda807701a78fd4c44e?branch=f44
Log:
Fix /usr/lib/efi folders ownership
Resolves: #2528260
Signed-off-by: Josue Hernandez <josherna@redhat.com>
---
diff --git a/grub.macros b/grub.macros
index dd06d94..062bc0f 100644
--- a/grub.macros
+++ b/grub.macros
@@ -708,6 +708,10 @@ find . '(' -iname gdb_grub \\\
')' \\\
-exec cp {} $RPM_BUILD_ROOT/usr/lib/grub/%{grubaltefiarch}/ \\\; \
find $RPM_BUILD_ROOT -type f -iname "*.mod*" -exec chmod a-x {} '\;' \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{_libdir}/efi \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{_libdir}/efi/grub2 \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{grub_evr_dir} \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{grub_evr_dir}/EFI \
install -d -m 0700 ${RPM_BUILD_ROOT}%{grub_efi_dir}/ \
install -m 700 %{2} $RPM_BUILD_ROOT%{grub_efi_dir}/%{2} \
install -m 700 %{3} $RPM_BUILD_ROOT%{grub_efi_dir}/%{3} \
@@ -727,6 +731,10 @@ fi \
find $RPM_BUILD_ROOT -iname "*.module" -exec chmod a-x {} '\;' \
ln -s ../boot/grub2/grub.cfg \\\
$RPM_BUILD_ROOT%{_sysconfdir}/grub2-efi.cfg \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{_libdir}/efi \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{_libdir}/efi/grub2 \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{grub_evr_dir} \
+install -d -m 0755 ${RPM_BUILD_ROOT}%{grub_evr_dir}/EFI \
install -d -m 0700 ${RPM_BUILD_ROOT}%{grub_efi_dir}/ \
install -m 700 %{2} $RPM_BUILD_ROOT%{grub_efi_dir}/%{2} \
install -m 700 %{3} $RPM_BUILD_ROOT%{grub_efi_dir}/%{3} \
@@ -880,6 +888,10 @@ ln -s ../boot/grub2/grub.cfg \\\
%config(noreplace) %{_sysconfdir}/grub2.cfg \
%config(noreplace) %{_sysconfdir}/grub2-efi.cfg \
%ghost %attr(0700,root,root) %{efi_esp_dir}/%{2} \
+%dir %attr(0755,root,root) %{_libdir}/efi \
+%dir %attr(0755,root,root) %{_libdir}/efi/grub2 \
+%dir %attr(0755,root,root) %{grub_evr_dir} \
+%dir %attr(0755,root,root) %{grub_evr_dir}/EFI \
%dir %attr(0700,root,root) %{grub_efi_dir} \
%attr(0700,root,root) %{grub_efi_dir}/%{2} \
%ifarch %{arm} \
diff --git a/grub2.spec b/grub2.spec
index d5a3790..50a8ab4 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -17,7 +17,7 @@
Name: grub2
Epoch: 1
Version: 2.12
-Release: 64%{?dist}
+Release: 65%{?dist}
Summary: Bootloader with support for Linux, Multiboot and more
License: GPL-3.0-or-later
URL: http://www.gnu.org/software/grub/
@@ -611,6 +611,10 @@ fi
%endif
%changelog
+* Tue Sep 15 2026 Josue Hernandez <josherna@redhat.com> - 2.12-65
+- Fix /usr/lib/efi folders ownership
+- Resolves: #2528260
+
* Thu Aug 13 2026 Leo Sandoval <lsandova@redhat.com> - 2.12-64
- mm: try allocating regions above defined limit as last resource
- Related: #2263643
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 14:32 [rpms/grub2] f44: Fix /usr/lib/efi folders ownership Josue Hernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox