[OE-core] Overriding SDE_FILE

Jacob Kroon jacob.kroon at gmail.com
Mon Feb 24 07:25:01 UTC 2020


Hi Douglas,

You updated a comment in reproducible_build.bbclass, commit 
e7b891b76954c784f5a93bd0a1c91315673ce40d:

> -# 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.
> +#

But I can't really get this to work. What did work for me was to replace 
"do_create_source_date_epoch_stamp()" in my recipe:

do_create_source_date_epoch_stamp() {
     mkdir -p ${SDE_DIR}
     date -d "1981-03-03" "+%s" > ${SDE_FILE}
}

What is the intended way to achieve the thing I'm trying to do here ?

Cheers,
Jacob


More information about the Openembedded-core mailing list