]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson-vcs-tag: enhance version info generation
authorJoe Lin <xlcwu.taiwan@gmail.com>
Fri, 10 May 2019 08:58:08 +0000 (08:58 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 May 2019 22:53:40 +0000 (07:53 +0900)
commit88e94c3810401b7be5ce1fdb647c5de2bcde5689
tree7bd3f7699c86c0e7f9c58777392a9b8f3cece843
parent336351dc52dcbe93b54e121b5acc94d83c93cf61
meson-vcs-tag: enhance version info generation

When build from release tarball and where there is parent .git dir,
this situtaion will get wrong version info. (build with buildroot)

The systemd running show wrong version in dmesg log:
systemd[1]: systemd 2019.02-1086-gf5f17c4 running in system mode.
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Shoule be:
systemd[1]: systemd 241 running in system mode. (-PAM -AUDIT -SEL
            ^^^^^^^^^^^
tools/meson-vcs-tag.sh