Ignore the mode bits when doing RPM verification of files in /boot/efi

Resolves: rhbz#1936384
This commit is contained in:
Robbie Harwood 2021-11-08 18:15:59 +00:00
parent 87fff7a6e9
commit 92b5c9af8c

View File

@ -1,7 +1,7 @@
Summary: Common RPM Macros for building EFI-related packages Summary: Common RPM Macros for building EFI-related packages
Name: efi-rpm-macros Name: efi-rpm-macros
Version: 4 Version: 4
Release: 8%{?dist} Release: 9%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://github.com/rhboot/%{name}/ URL: https://github.com/rhboot/%{name}/
BuildRequires: git sed BuildRequires: git sed
@ -60,12 +60,16 @@ git config --local --add efi.arches "x86_64 aarch64 %{arm} %{ix86}"
%files -n efi-filesystem %files -n efi-filesystem
%defattr(0700,root,root,-) %defattr(0700,root,root,-)
%dir /boot/efi %verify(not mode) %dir /boot/efi
%dir /boot/efi/EFI %verify(not mode) %dir /boot/efi/EFI
%dir /boot/efi/EFI/BOOT %verify(not mode) %dir /boot/efi/EFI/BOOT
%dir /boot/efi/EFI/%{_efi_vendor_} %verify(not mode) %dir /boot/efi/EFI/%{_efi_vendor_}
%changelog %changelog
* Mon Nov 08 2021 Robbie Harwood <rharwood@redhat.com> - 4-9
- Ignore the mode bits when doing RPM verification of files in /boot/efi
- Resolves: rhbz#1936384
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4-8 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4-8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688