public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grub2] rawhide: Fix /usr/lib/efi folders ownership
@ 2026-09-30 14:31 Josue Hernandez
0 siblings, 0 replies; only message in thread
From: Josue Hernandez @ 2026-09-30 14:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/grub2
Branch : rawhide
Commit : 70cf59ccd3e8c36dc2ba379530f7b47c1f30143c
Author : Josue Hernandez <josherna@redhat.com>
Date : 2026-09-29T17:03:30-06:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/grub2/c/70cf59ccd3e8c36dc2ba379530f7b47c1f30143c?branch=rawhide
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 61fe09f..35b52a8 100644
--- a/grub.macros
+++ b/grub.macros
@@ -716,6 +716,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} \
@@ -735,6 +739,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} \
@@ -886,6 +894,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 8693df7..81b8914 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -17,7 +17,7 @@
Name: grub2
Epoch: 1
Version: 2.12
-Release: 82%{?dist}
+Release: 83%{?dist}
Summary: Bootloader with support for Linux, Multiboot and more
License: GPL-3.0-or-later
URL: http://www.gnu.org/software/grub/
@@ -702,6 +702,10 @@ fi
%endif
%changelog
+* Tue Sep 29 2026 Josue Hernandez <josherna@redhat.com> - 2.12-83
+- Fix /usr/lib/efi folders ownership
+- Resolves: #2528260
+
* Tue Sep 29 2026 Nicolas Frayer <nfrayer@redhat.con> - 2.12-82
- Only include play.mod for x64 EFI arch
- Related: #2533633
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 14:31 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:31 [rpms/grub2] rawhide: 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