diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-14 12:05:10 +0000 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-02-18 12:01:27 +0800 |
commit | c135012f85d8e1f4b50880b580514410caacbcf5 (patch) | |
tree | 6517da2896d966ec45ea185f0320f3e095be9db5 | |
parent | 7ab4b11228d66811ff767e31fd3f024c790d4b68 (diff) | |
download | openembedded-core-c135012f85d8e1f4b50880b580514410caacbcf5.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb | 2 |
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() { } do_install() { - oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install + oe_runmake LABEL=`date -d @${SOURCE_DATE_EPOCH} +%Y%m%d` CWAUTOMACROSPREFIX=${D}${prefix} install # cleanup buildpaths in autogen.sh sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh |