summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass1
-rw-r--r--meta/lib/oe/reproducible.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0cf27fbb91..cb9da78ab6 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -208,6 +208,7 @@ addtask do_deploy_source_date_epoch_setscene
208addtask do_deploy_source_date_epoch before do_configure after do_patch 208addtask do_deploy_source_date_epoch before do_configure after do_patch
209 209
210python create_source_date_epoch_stamp() { 210python create_source_date_epoch_stamp() {
211 # Version: 1
211 source_date_epoch = oe.reproducible.get_source_date_epoch(d, d.getVar('S')) 212 source_date_epoch = oe.reproducible.get_source_date_epoch(d, d.getVar('S'))
212 oe.reproducible.epochfile_write(source_date_epoch, d.getVar('SDE_FILE'), d) 213 oe.reproducible.epochfile_write(source_date_epoch, d.getVar('SDE_FILE'), d)
213} 214}
diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py
index 35b8be6d08..2e815df190 100644
--- a/meta/lib/oe/reproducible.py
+++ b/meta/lib/oe/reproducible.py
@@ -152,7 +152,6 @@ def fixed_source_date_epoch(d):
152def get_source_date_epoch(d, sourcedir): 152def get_source_date_epoch(d, sourcedir):
153 return ( 153 return (
154 get_source_date_epoch_from_git(d, sourcedir) or 154 get_source_date_epoch_from_git(d, sourcedir) or
155 get_source_date_epoch_from_known_files(d, sourcedir) or
156 get_source_date_epoch_from_youngest_file(d, sourcedir) or 155 get_source_date_epoch_from_youngest_file(d, sourcedir) or
157 fixed_source_date_epoch(d) # Last resort 156 fixed_source_date_epoch(d) # Last resort
158 ) 157 )