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, Apr 27, 2021 at 5:39 AM Thomas Lange <la...@cs.uni-koeln.de> wrote:
>
> 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
> DRACUT_VERSION=
>
> I'll try to work around this in the next version.
>
> --
> viele Grüße Thomas

Reply via email to