Created attachment 67748 [details] git-version-gen: Honor GIT_DESCRIBE_FOR_BUILD environment variable The GNOME-OSTree build system currently creates chroots and bind mounts to the source tree outside the root; this means that we can't necessarily run git inside the root, because in the case of git submodules, the .git repository will point to outside root. Also, error out fatally if we fail to determine the version; it makes no sense to put UNKNOWN in e.g. the pkg-config files since this will just cause errors later on. --- configure.ac | 4 ++++ git-version-gen | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-)
Thank you, applied now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.