Bug#987320: dracut: Version is not included in --version, --help or initramfs runtime

2021-04-27 Thread Scott Moser
I'm not sure if its 100% OK to do it, but what we do in cloud-init similarly is is just write the file in debian/rules, and reference DEB_VERSION. That way you even get the packaging number which could be helpful. https://github.com/canonical/cloud-init/blob/ubuntu/devel/debian/rules On Tue,

Bug#987320: dracut: Version is not included in --version, --help or initramfs runtime

2021-04-27 Thread Thomas Lange
I can confirm this bug. I guess the dracut version is created during the build of the package extracted from some git tags if avalable. Since I have to do source only upload to Debian, the git information is missing and so the version information is empty # cat /usr/lib/dracut/dracut-version.sh

Bug#987320: dracut: Version is not included in --version, --help or initramfs runtime

2021-04-21 Thread Scott Moser
Package: dracut Version: 051-1 Severity: normal Dear Maintainer, The dracut package does not seem to 'know' its own version. Example: $ cat /lib/dracut/dracut-version.sh DRACUT_VERSION= $ dracut --version dracut $ dpkg-query --show dracut-core dracut-core 051-1