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/shim] rawhide: Fix /usr/lib/efi permissions and add directory installs
Date: Tue, 22 Sep 2026 19:29:10 GMT [thread overview]
Message-ID: <179010535015.1.8039716083117183034.rpms-shim-d20a590c3597@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/shim
Branch : rawhide
Commit : d20a590c35976881e88766272a32dc359a987fb2
Author : Josue Hernandez <josherna@redhat.com>
Date : 2026-09-17T16:38:17-06:00
Stats : +12/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/shim/c/d20a590c35976881e88766272a32dc359a987fb2?branch=rawhide
Log:
Fix /usr/lib/efi permissions and add directory installs
/usr/lib/efi folder should be 0755 with the exception of the leaf
also all the install commands are added to the install section
Signed-off-by: Josue Hernandez <josherna@redhat.com>
---
diff --git a/shim.rpmmacros b/shim.rpmmacros
index fabf9d1..79a93f8 100644
--- a/shim.rpmmacros
+++ b/shim.rpmmacros
@@ -155,10 +155,10 @@ install -m 0700 fb%{-a*}.efi \\\
# -A <EFIARCH>
%define define_files(a:A:) \
%{expand:%%files -n shim-%{-a*}} \
-%dir %attr(0700,root,root) %{_libdir}/efi \
-%dir %attr(0700,root,root) %{_libdir}/efi/shim \
-%dir %attr(0700,root,root) %{shim_vr_dir} \
-%dir %attr(0700,root,root) %{shim_vr_dir}/EFI \
+%dir %attr(0755,root,root) %{_libdir}/efi \
+%dir %attr(0755,root,root) %{_libdir}/efi/shim \
+%dir %attr(0755,root,root) %{shim_vr_dir} \
+%dir %attr(0755,root,root) %{shim_vr_dir}/EFI \
%dir %attr(0700,root,root) %{shim_efi_dir} \
%dir %attr(0700,root,root) %{shim_boot_dir} \
%{shim_efi_dir}/*%{-a*}*.efi \
diff --git a/shim.spec b/shim.spec
index 172fbde..888aa04 100644
--- a/shim.spec
+++ b/shim.spec
@@ -5,7 +5,7 @@
Name: shim
Version: 16.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: First-stage UEFI bootloader
License: BSD-3-Clause
URL: https://github.com/rhboot/shim/
@@ -77,6 +77,10 @@ rm -rf $RPM_BUILD_ROOT
cd shim-%{version}
install -D -d -m 0755 $RPM_BUILD_ROOT/boot/
install -D -d -m 0700 $RPM_BUILD_ROOT%{_prefix}/lib/shim/
+install -D -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/efi
+install -D -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/efi/shim
+install -D -d -m 0755 $RPM_BUILD_ROOT%{shim_vr_dir}/
+install -D -d -m 0755 $RPM_BUILD_ROOT%{shim_vr_dir}/EFI
install -D -d -m 0700 $RPM_BUILD_ROOT%{shim_efi_dir}/
install -D -d -m 0700 $RPM_BUILD_ROOT%{shim_boot_dir}/
@@ -115,6 +119,9 @@ if [[ ! -e "/run/ostree-booted" ]]; then
fi
%changelog
+* Thu Sep 17 2026 Josue Hernandez <josherna@redhat.com> - 16.1.9
+- Fix /usr/lib/efi permissions and add directory installs
+
* Tue Sep 15 2026 Josue Hernandez <josherna@redhat.com> - 16.1-8
- Fix /usr/lib/efi folders ownership
- Resolves: #2528260
reply other threads:[~2026-09-22 19:29 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=179010535015.1.8039716083117183034.rpms-shim-d20a590c3597@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