Files
guru/sys-fs/bcachefs-kmod
Florian Albrechtskirchinger 3f1b6a725c sys-fs/bcachefs-kmod: allow dynamic versioning in live builds
Stop hardcoding VERSION in the Makefile.

The Makefile determines VERSION in one of two (relevant) ways:
* If a .git directory is present, it uses git-describe.
* Otherwise, it reads the contents of a .version file.

Write ${PV} to a .version file to let the Makefile inject the
git-describe output for live builds.

This provides a more accurate version string (including the commit hash)
in modinfo rather than a generic and unhelpful "9999".

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2026-03-01 04:56:13 +01:00
..