mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-15 09:46:32 +00:00
ChangeLog: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65145325 License-Update: Drop the license for cxxopts and add the license for argparse(MIT)[1]. Update the license for protobuf(3-Clause BSD) and add the licenses for RE2(3-Clause BSD) and c-ares(MIT)[2]. Drop the license for ios-cmake[3]. Add the license for Lua(MIT)[4]. Drop the license for libcoap[5]. Drop the license for uthash[6]. Drop the licenses for LightPcapNg and PcapPlusPlus[7]. Add the licenses for HdrHistogram(CC0-1.0) and llhttp(MIT)[8]. [1]1dfab222d4[2]20d281adaf[3]1815c018ce[4]3d7262a883[5]3bbaa0789a[6]78af9f665a[7]37891aafb8[8]bd1182eb8cSigned-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
922 B
Diff
33 lines
922 B
Diff
From 1861170c6de3dd851324debf3a6eaeff4d8d8bce Mon Sep 17 00:00:00 2001
|
|
From: Yi Zhao <yi.zhao@windriver.com>
|
|
Date: Fri, 14 Mar 2025 20:26:38 +0800
|
|
Subject: [PATCH] generateVersion.sh: set correct buildrev
|
|
|
|
Since this script is run outside the source directory, git log can not
|
|
get the commit id, so buildrev is not set correctly. Fix the issue by
|
|
adding -C option.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
---
|
|
generateVersion.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/generateVersion.sh b/generateVersion.sh
|
|
index ff25afba8..0b50a1693 100755
|
|
--- a/generateVersion.sh
|
|
+++ b/generateVersion.sh
|
|
@@ -28,7 +28,7 @@ buildident=$8
|
|
date=$(date +%s)
|
|
|
|
if [ -d "${src_dir}"/.git ]; then
|
|
- buildrev=$(git log -1 --pretty=format:"%H")
|
|
+ buildrev=$(git -C "${src_dir}" log -1 --pretty=format:"%H")
|
|
else
|
|
buildrev="Unknown"
|
|
fi
|
|
--
|
|
2.34.1
|
|
|