Skip to content

Commit 03685f4

Browse files
committed
Also make vmlinuz-virt.efi world readable
JIRA: INTERNAL Upstream Status: RHEL-only ARK commit: 231fb53f9cd6b3a678a4b3f9ae6952d99909b8c2 The file is created by dracut, which by default uses 0600, which is reasonable for initrd images that contain machine-specific info, but is not needed for packaged initrds which obviously cannot contain any secrets. Adjust the file mode in the package list. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
1 parent 2aee3af commit 03685f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redhat/kernel.spec.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3726,7 +3726,7 @@ fi
37263726
/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\
37273727
/lib/modules/%{KVERREL}%{?3:+%{3}}/config\
37283728
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\
3729-
/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\
3729+
%attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\
37303730
%ghost /%{image_install_path}/efi/EFI/Linux/%{?-k:%{-k*}}%{!?-k:*}-%{KVERREL}%{?3:+%{3}}.efi\
37313731
%{expand:%%files %{?3:%{3}-}uki-virt-addons}\
37323732
/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi.extra.d/ \

0 commit comments

Comments
 (0)