summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-14 12:05:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-26 15:30:39 +0000
commit2c2ce8063bccda396cd5cc71747c7e0de64dde22 (patch)
treefa6cbe4edb49804cc7db5176330c799db2d94715
parentccfa84bf186e6c98cac6fe4bc5cb910970697f7b (diff)
downloadpoky-2c2ce8063bccda396cd5cc71747c7e0de64dde22.tar.gz
cwautomacros: Ensure version is set deterministically
The makefile injects the current date into the version file. Do this deterministically with SOURCE_DATE_EPOCH. (From OE-Core rev: c135012f85d8e1f4b50880b580514410caacbcf5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb b/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb
index 65a99fc28d..02b016fdf1 100644
--- a/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb
+++ b/meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb
@@ -13,7 +13,7 @@ do_configure() {
13} 13}
14 14
15do_install() { 15do_install() {
16 oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install 16 oe_runmake LABEL=`date -d @${SOURCE_DATE_EPOCH} +%Y%m%d` CWAUTOMACROSPREFIX=${D}${prefix} install
17 17
18 # cleanup buildpaths in autogen.sh 18 # cleanup buildpaths in autogen.sh
19 sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh 19 sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh