grub.macros: Use consistent file mode for legacy and EFI
Currently the permissions are inconsistent for grub2-pc and grub2-efi: $ rpm -qlvf --filesbypkg /boot/grub2/grub.cfg ... grub2-efi-x64 /boot/grub2/grub.cfg -rwx------ 1 root root grub2-pc /boot/grub2/grub.cfg -rw-r--r-- 1 root root Resolves: rhbz#1965794 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
9cf30d96e9
commit
504ecff2ed
@ -608,7 +608,7 @@ ln -s ../boot/%{name}/grub.cfg \\\
|
||||
|
||||
%define define_efi_variant_files() \
|
||||
%{expand:%%files %{1}} \
|
||||
%defattr(0700,root,root,-) \
|
||||
%defattr(-,root,root,-) \
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.cfg \
|
||||
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg \
|
||||
%attr(0700,root,root)%{efi_esp_dir}/%{2} \
|
||||
@ -635,7 +635,7 @@ ln -s ../boot/%{name}/grub.cfg \\\
|
||||
%endif} \
|
||||
\
|
||||
%{expand:%%files %{1}-cdboot} \
|
||||
%defattr(0700,root,root,-) \
|
||||
%defattr(-,root,root,-) \
|
||||
%attr(0700,root,root)%{efi_esp_dir}/%{3} \
|
||||
%attr(0700,root,root)/boot/%{name}/fonts \
|
||||
%{nil}
|
||||
|
Loading…
Reference in New Issue
Block a user