From 97b270f9bd38649f1272cc13b3f261e67373a3cc Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 3 Aug 2021 14:33:11 +0200 Subject: [PATCH] LFS: Generate version.ent before profiling the book --- common/libs/func_book_parser | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser index d4ebec7..8dbbd8d 100644 --- a/common/libs/func_book_parser +++ b/common/libs/func_book_parser @@ -142,6 +142,10 @@ extract_commands() { # if [ -f process-scripts.sh ]; then bash process-scripts.sh >> $LOGDIR/$LOG 2>&1 fi + # Recent git versions need version.ent to be generated + if [ -f git-version.sh ]; then + bash git-version.sh >> $LOGDIR/$LOG 2>&1 + fi popd > /dev/null # First profile the book, for revision and arch. Note that