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,
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
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
3 matches
Mail list logo