[Pkg-zfsonlinux-devel] Bug#1051187: Bug#1051187: Avoid building module for kernels that have appropriate zfs-modules-<kernelversion> package installed

陈 晟祺 harry-chen at outlook.com
Fri Jan 5 07:04:02 GMT 2024


Control: severity -1 wishlist
Control: tag -1 + wontfix

> zfs-dkms is the failsafe in case the zfs-modules-<kernelversion> package is *not* installed
> (for example, because this is the first slow box I'm installing this kernel or this version of
> zfs-dkms on and I don't yet have a corresponding zfs-modules package).

Let's imagine you install modules pkg first, then dkms pkg, which skips building because you have
"same" modules installed. After some days you accidentally uninstalled the modules pkg, then how
would the dkms pkg know and start the building? There is no such mechanism according to my knowledge.

Even though such mechanism can be implemented by dkms, let's dig deeper into details: how would dkms
know that your prebuilt version and dkms source files are "the exact same" and decide to skip? Designing
such a mechanism would be either cumbersome for developers, or confusing for users, I suppose.

Thanks,
Shengqi Chen



More information about the Pkg-zfsonlinux-devel mailing list