Skip to content

Commit f998aa3

Browse files
committed
kernel.spec: move modules.builtin to kernel-core
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172376 Upstream Status: RHEL only RPM provides are generated (also) from modules.builtin. kernel-modules-core currently list also Provides for all builtin modules, which is wrong, since these are provided by kernel-core. Move modules.builtin to kernel-core package. Signed-off-by: Jan Stancek <jstancek@redhat.com>
1 parent 330509d commit f998aa3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

redhat/kernel.spec.template

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3345,6 +3345,7 @@ fi
33453345
%ghost %attr(0600, root, root) /boot/System.map-%{KVERREL}%{?3:+%{3}}\
33463346
/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\
33473347
/lib/modules/%{KVERREL}%{?3:+%{3}}/config\
3348+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\
33483349
%ghost %attr(0600, root, root) /boot/symvers-%{KVERREL}%{?3:+%{3}}.gz\
33493350
%ghost %attr(0600, root, root) /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\
33503351
%ghost %attr(0644, root, root) /boot/config-%{KVERREL}%{?3:+%{3}}\
@@ -3361,7 +3362,11 @@ fi
33613362
%if %{1}\
33623363
/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\
33633364
%endif\
3364-
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.*\
3365+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.block\
3366+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.drm\
3367+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.modesetting\
3368+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.networking\
3369+
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.order\
33653370
%{expand:%%files -f kernel-%{?3:%{3}-}modules.list %{?3:%{3}-}modules}\
33663371
%{expand:%%files %{?3:%{3}-}devel}\
33673372
%defverify(not mtime)\

0 commit comments

Comments
 (0)