Update zfs-dkms.spec.in#8
Update zfs-dkms.spec.in#8jkool702 wants to merge 3 commits intotonyhutter:fedora-kernel-conflictfrom
Conversation
A user reported that when your upgrade your kernel packages on Fedora with ZFS installed, only the kernel-devel package gets held back to the ZFS-supported version, but not the other kernel packages. So if ZFS only supports the 6.13 kernel, Fedora will still happily upgrade the kernel RPMs to 6.14, but hold back kernel-devel at 6.13, for example. This commit includes version checks for the 'kernel', 'kernel-core' and 'kernel-modules-core' packages. Closes: openzfs#17265 Original-patch-by: @jkool702 Signed-off-by: Tony Hutter <hutter2@llnl.gov>
limits to "Requires" dependencies to kernel-devel-matched (which is basically kernel-core+kernel-devel). Adds "Conflicts" dependencies to cover all the rerst of the non-debug kernel subpackages.
Signed-off-by: jkool702 <107448833+jkool702@users.noreply.github.com>
|
As long as ZFS doesn't have a dependency on a package, then the user should be able to install it. We should not artificially restrict all kernel-related packages for a particular kernel version just because ZFS doesn't support that kernel version. It's possible the user may want to install newer kernel-related packages for reasons unrelated to ZFS. For example, they may be running ZFS 2.3.0, but also want the Here's how I see it: ZFS cares about these:kernel ZFS does not need this to build:kernel-modules-extra I think this is for kernel test cases - not needed:kernel-modules-internal Kernel-devel depends on kernel-headers, so kernel-headers is implied:kernel-headers We use the same spec file for both Fedora and RHEL, and RHEL 8 doesn't support:kernel-devel-matched ZFS technically doesn't have a dependency on these, so we should allow them:kernel-uki-virt-addons (I don't think ZFS Let me know if there is an actual dependency we need in here that I may have missed. |
495bab1 to
8eff9d4
Compare
limits to "Requires" dependencies to kernel-devel-matched (which is basically kernel-core+kernel-devel). Adds "Conflicts" dependencies to cover all the rerst of the non-debug kernel subpackages.