IIUC kernel-rpm-scriptlets needs to scan /etc/kernel/postinst.d/. But it still makes no sense unless someone steps up to fix dkms. Has it been done? I am afraid I have no time to look into dkms. Also, I am unsure if executing random scripts in /etc/kernel/postinst.d/ might be a security risk? If we implement this, I'd like to consult the security team.