> So I expect this only affects mdadm, and we should keep the code close together
Then I agree. If we find other instances where this is needed by other packages in initramfs, we can revisit.
> we could adjust the initramfs script to mount efivarsfs ONLY if /sys/firmware/efi/vars is not present. Thoughts?
That sounds ideal for an SRU.
> So I expect this only affects mdadm, and we should keep the code close together
Then I agree. If we find other instances where this is needed by other packages in initramfs, we can revisit.
> we could adjust the initramfs script to mount efivarsfs ONLY if /sys/firmware/ efi/vars is not present. Thoughts?
That sounds ideal for an SRU.