dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
597 stars 396 forks source link

fix(dracut-systemd): use `DRACUT_VERSION` instead of `VERSION` #2532

Open aafeijoo-suse opened 10 months ago

aafeijoo-suse commented 10 months ago

VERSION can contain other values unrelated to the dracut version, which garbles the output.

E.g.:

openSUSE Tumbleweed:

Oct 10 14:17:58 localhost dracut-cmdline[236]: dracut-dracut-059+suse.501.gc44a365d-1.1

Fedora Rawhide:

Oct 10 14:00:42 fedora dracut-cmdline[300]: dracut-40 (Workstation Edition Prerelease) dracut-059-12.fc39

Arch Linux:

Oct 10 14:31:59 localhost dracut-cmdline[159]: dracut-dracut-059

Checklist

stale[bot] commented 4 months ago

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.