Once upon a time, Richard W.M. Jones rjones@redhat.com said:
However although this creates the /etc/dracut.conf.d/xen-drivers.conf file in the guest, it doesn't add the Xen drivers to the initramfs. (I also tried running dracut --add-drivers ... but that does nothing).
The initramfs is built during package install, before your %post runs. You will need to rebuild the initramfs after configuring dracut.