Making dracut run after akmods?

That’s right, I manually set up Dracut to import nvidia modules. This was mostly based on a hunch & some comments – but it seems to make the setup work, even though it doesn’t make sense (I’m using nvidia as an offload card on my laptop).

@barryascott I found this thread. The annoyance with that setup is that initrd is already generated by some earlier script… so my script would have to run dracut -f to overwrite the just-generated version (blah). Anything better out there?

Looking in a bit more, /usr/lib/kernel/install.d/ has 50-dracut.install and 95-akmodsposttrans.install, which is pretty straightforward… but akmods wants to run in the background after the rpm transactions are done. :person_facepalming: