From: Vitaly Kuznetsov on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3339#note_2097967335 Good news: this is possible! Bad news: not without some ugliness. In short. dracut conf file can rely on shell variables but unfortunately dracut doesn't export its version anywhere. We need to either set it externally in the specfile or acquire it in the dracut-virt.conf itself. I implemented the later through 'dracut --version' parsing, it could've been 'rpm -q --queryformat %{VERSION} dracut' instead. -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue