From 53ffffa32b76330835287dfc05d4e4796841af08 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 22 Feb 2021 22:12:53 +0000 Subject: reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling Ensure the fallback value if used is written to the SDE file and hence stored in sstate, reducing any confusion within the code over '0' values. Bump the HASHEQUIV_VERSION since we've had a ton of trouble with ensuring this rolls out correctly on the autobuilder so others may too, take a clean slate for it. Signed-off-by: Richard Purdie --- meta/classes/reproducible_build.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meta/classes/reproducible_build.bbclass') diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 9e806c0b75..f06e00d70d 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass @@ -84,10 +84,6 @@ python create_source_date_epoch_stamp() { source_date_epoch = oe.reproducible.get_source_date_epoch(d, d.getVar('S')) - if source_date_epoch == 0 : - bb.debug(1, "source_date_epoch is 0, using SOURCE_DATE_EPOCH_FALLBACK instead.") - source_date_epoch = int(d.getVar('SOURCE_DATE_EPOCH_FALLBACK')) - bb.debug(1, "SOURCE_DATE_EPOCH: %d" % source_date_epoch) bb.utils.mkdirhier(d.getVar('SDE_DIR')) with open(epochfile, 'w') as f: -- cgit 1.2.3-korg