|
30 | 30 | Summary: Linux Kernel |
31 | 31 | Name: kernel |
32 | 32 | Version: 6.6.57.1 |
33 | | -Release: 3%{?dist} |
| 33 | +Release: 4%{?dist} |
34 | 34 | License: GPLv2 |
35 | 35 | Vendor: Microsoft Corporation |
36 | 36 | Distribution: Azure Linux |
@@ -121,6 +121,15 @@ Requires: %{name} = %{version}-%{release} |
121 | 121 | %description drivers-gpu |
122 | 122 | This package contains the Linux kernel gpu support |
123 | 123 |
|
| 124 | +%package drivers-intree-amdgpu |
| 125 | +Summary: Kernel amdgpu modules |
| 126 | +Group: System Environment/Kernel |
| 127 | +Requires: %{name} = %{version}-%{release} |
| 128 | +Requires: %{name}-drivers-gpu = %{version}-%{release} |
| 129 | + |
| 130 | +%description drivers-intree-amdgpu |
| 131 | +This package contains the Linux kernel in-tree AMD gpu support |
| 132 | + |
124 | 133 | %package drivers-sound |
125 | 134 | Summary: Kernel Sound modules |
126 | 135 | Group: System Environment/Kernel |
@@ -327,6 +336,9 @@ echo "initrd of kernel %{uname_r} removed" >&2 |
327 | 336 | %post drivers-gpu |
328 | 337 | /sbin/depmod -a %{uname_r} |
329 | 338 |
|
| 339 | +%post drivers-intree-amdgpu |
| 340 | +/sbin/depmod -a %{uname_r} |
| 341 | + |
330 | 342 | %post drivers-sound |
331 | 343 | /sbin/depmod -a %{uname_r} |
332 | 344 |
|
@@ -365,6 +377,11 @@ echo "initrd of kernel %{uname_r} removed" >&2 |
365 | 377 | %files drivers-gpu |
366 | 378 | %defattr(-,root,root) |
367 | 379 | /lib/modules/%{uname_r}/kernel/drivers/gpu |
| 380 | +%exclude /lib/modules/%{uname_r}/kernel/drivers/gpu/drm/amd |
| 381 | + |
| 382 | +%files drivers-intree-amdgpu |
| 383 | +%defattr(-,root,root) |
| 384 | +/lib/modules/%{uname_r}/kernel/drivers/gpu/drm/amd |
368 | 385 |
|
369 | 386 | %files drivers-sound |
370 | 387 | %defattr(-,root,root) |
@@ -407,6 +424,10 @@ echo "initrd of kernel %{uname_r} removed" >&2 |
407 | 424 | %{_sysconfdir}/bash_completion.d/bpftool |
408 | 425 |
|
409 | 426 | %changelog |
| 427 | +* Wed Nov 06 2024 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 6.6.57.1-4 |
| 428 | +- Make CONFIG_DRM and its dependency KConfigs as loadable modules |
| 429 | +- Create sub-package for AMD GPU in-tree modules to avoid conflicts with out-of-tree modules |
| 430 | + |
410 | 431 | * Tue Nov 05 2024 Chris Co <chrco@microsoft.com> - 6.6.57.1-3 |
411 | 432 | - Enable kexec signature verification |
412 | 433 | - Introduce new azurelinux-ca-20230216.pem |
|
0 commit comments