summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-20 11:16:25 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-20 11:16:25 +0100
commit54a05fc167904c97a3bcbc2aeb4afdb5ad35a379 (patch)
treef59069999cde8f9579a489d37061f8f511c5f6f7 /build
parent52c9416b1971af5f2ce4e97c9a6d1ebdaa43c919 (diff)
always re-generate .git in lbmk
in release archives, .git is excluded but the version and versiondate files are included. from these, the git history is re-created with the exact date (but not taking into account timezone, at present). in this way, lbmk will have git history in a release archive. some build systems, like coreboot, prefer that there be git history available, so this is a nice workaround on those build systems. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/build b/build
index 80ee1827..4ade5e7e 100755
--- a/build
+++ b/build
@@ -46,6 +46,7 @@ main()
check_git
check_project "fail"
+ git_init xx_ fail
execute_command $@
lbmk_exit 0