diff options
author | Jan Janssen <medhefgo@web.de> | 2023-08-25 13:07:55 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-26 06:53:42 +0200 |
commit | c78b611e48fbfb6963a300c7f0b35b0dded5f4cf (patch) | |
tree | 7dc9031c91950a1d2166dc5c92f40ec044ea896d /src/fundamental/sbat.h | |
parent | mount/mount-tool: return correct errno (diff) | |
download | systemd-c78b611e48fbfb6963a300c7f0b35b0dded5f4cf.tar.xz systemd-c78b611e48fbfb6963a300c7f0b35b0dded5f4cf.zip |
meson: Bring back use of vcs_tag
The use of vcs_tag was dropped in #28567, which results in builds having
stale version information once new commit are made.
This also fixes a case where CI builds would have no version information
because they are checked out without any tags for git-describe to use.
Additionally, use `--git-dir` now, as that particular issues seems to
have been fixed by now.
Diffstat (limited to '')
-rw-r--r-- | src/fundamental/sbat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fundamental/sbat.h b/src/fundamental/sbat.h index b3c09dcb4c..e3198287ba 100644 --- a/src/fundamental/sbat.h +++ b/src/fundamental/sbat.h @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef SBAT_DISTRO +# include "version.h" # define SBAT_SECTION_TEXT \ "sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md\n" \ SBAT_PROJECT ",1,The systemd Developers," SBAT_PROJECT "," PROJECT_VERSION "," PROJECT_URL "\n" \ |