linux-virt: Installing kernel package is also automatically installing zfs module package
I have scripts to build disk images for Alpine for aarch64 (linux-virt) and x86_64 (both linux-lts and linux-virt kernels) inside a chroot environment.
After switching my scripts to use Alpine v3.12 I notice that when installing the virtual kernel (linux-virt) apk is also installing the zfs-virt package automatically. However I don't see any "required by" defined for the zfs-virt packages (both aarch64 and x86_64) at all and so don't understand why its getting dragged in when I didn't request it.
Here's an example of what I'm seeing:
chroot /alpine apk add --verbose linux-virt
The following NEW packages will be installed:
After this operation, 61 MiB of additional disk space will be used.
(1/2) Installing linux-virt (5.4.43-r1)
(2/2) Installing zfs-virt (5.4.43-r2)
I'm confused why zfs-virt is being selected.