From: Richard Purdie <[email protected]>

The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.

Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf)
Signed-off-by: Anuj Mittal <[email protected]>
---
 meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148462): 
https://lists.openembedded.org/g/openembedded-core/message/148462
Mute This Topic: https://lists.openembedded.org/mt/80827836/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to