This will probably apply to other versions of ZFS, too.
ZFS and SPL 7.4 packages are in the Antergos repo now, I installed them using the typical # pacman -Syu
DKMS install for SPL needs to be created before one can do a DKMS zfs install, otherwise ZFS modules won’t be functioning and ZFS won’t work, in addition to mkinitcpio not being able to create the appropriate initramfs images to be able to boot if you’re running ZFS on root (!)
This just happened to me. It seems to be pretty random - sometimes it happens, sometimes it doesn’t.
Thankfully, I just uninstalled ZFS and re-installed it and it built the DKMS modules for ZFS the second time since the SPL DKMS had already been built.
Apparently per this person’s post on Arch BBS, you can just run the dkms command:
$ sudo dkms install zfs/0.7.4 -k 4.14.5-1-ARCH
(Replacing zfs and kernel with your versions if they’re different, obviously…)
I’m looking into a way to modify the hooks so they build in a certian order using
/usr/share/libalpm/hooks – does anyone have any experience with this?