Installation of lustre-zfs-dkms fails without this lustre-dkms_pre-build.sh patch.
See these discussions on lustre-discuss: