Temporarily make -cdboot files 0700 again.

We need to move these to /boot/efi/EFI/BOOT/ and change the perms at the same
time, but that means changing this, comps, and lorax (at least) at the same
time.  Right this minute isn't a good time to do that.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2018-08-07 11:19:35 -04:00
parent 73bf9047ae
commit 4892e6bea5
2 changed files with 7 additions and 4 deletions

View File

@ -548,7 +548,7 @@ touch ${RPM_BUILD_ROOT}/boot/%{name}/grub.cfg \
%endif} \
\
%{expand:%%files %{1}-cdboot} \
%defattr(0755,root,root,-) \
%attr(0755,root,root)%{efi_esp_dir}/%{3} \
%attr(0755,root,root)%{efi_esp_dir}/fonts \
%defattr(0700,root,root,-) \
%attr(0700,root,root)%{efi_esp_dir}/%{3} \
%attr(0700,root,root)%{efi_esp_dir}/fonts \
%{nil}

View File

@ -7,7 +7,7 @@
Name: grub2
Epoch: 1
Version: 2.02
Release: 48%{?dist}
Release: 49%{?dist}
Summary: Bootloader with support for Linux, Multiboot and more
Group: System Environment/Base
License: GPLv3+
@ -486,6 +486,9 @@ fi
%endif
%changelog
* Tue Aug 07 2018 Peter Jones <pjones@redhat.com> - 2.02-49
- Temporarily make -cdboot perms 0700 again.
* Fri Aug 03 2018 Peter Jones <pjones@redhat.com> - 2.02-48
- Kill .note.gnu.property with fire.
Resolves: rhbz#1612339