public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Josue Hernandez <josherna@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/grub2] rawhide: Fix /usr/lib/efi folders ownership
Date: Wed, 30 Sep 2026 14:31:50 GMT	[thread overview]
Message-ID: <179077871099.1.10089033764647554047.rpms-grub2-70cf59ccd3e8@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-30 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179077871099.1.10089033764647554047.rpms-grub2-70cf59ccd3e8@fedoraproject.org \
    --to=josherna@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox