From: Douglas Royds Date: Mon, 5 Nov 2018 05:39:41 +0000 (+1300) Subject: reproducible_build: update do_deploy_source_date_epoch commment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87b140abdb071e35cc0c58a60f5e905446192e24;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git reproducible_build: update do_deploy_source_date_epoch commment Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's SDE_FILE. If none of the existing mechanisms are suitable, replace the do_deploy_source_date_epoch task with recipe-specific functionality to write the appropriate SOURCE_DATE_EPOCH into the SDE_FILE. (From OE-Core rev: e7b891b76954c784f5a93bd0a1c91315673ce40d) Signed-off-by: Douglas Royds Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 4f3680a3765..0eb696ac78f 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass @@ -24,7 +24,10 @@ # # 4. If the above steps fail, use the modification time of the youngest file in the source tree. # -# Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's ${SDE_FILE}. +# Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's SDE_FILE. +# If none of these mechanisms are suitable, replace the do_deploy_source_date_epoch task +# with recipe-specific functionality to write the appropriate SOURCE_DATE_EPOCH into the SDE_FILE. +# # If this file is found by other tasks, the value is exported in the SOURCE_DATE_EPOCH variable. # SOURCE_DATE_EPOCH is set for all tasks that might use it (do_configure, do_compile, do_package, ...)