From: Prarit Bhargava Subject: Document .os_release in README commit f8f1490cb2c6754aa108779e04fa2f099e394895 Author: Andi Kleen Date: Mon May 22 09:38:47 2017 -0700 Document .os_release in README Signed-off-by: Andi Kleen diff --git a/README.md b/README.md index 7e848a598e40ee4ef7162bbad8c1280d001b9dbd..d47928ff614934730105c314aef1c7a084e16a6a 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,10 @@ error predictive failure analysis) require a continuously running daemon. You can run mcelog from systemd or similar daemons. An example systemd unit file is in `mcelog.service`. +By default mcelog reports its version as the git tag. This can be overridden +by setting up a .os_release file in the source directory. A build system +could write the OS version to this file to mark the binary. + ### For older distributions using init scripts Please install an init script by default that runs mcelog in daemon mode.