mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
reproducible: Don't enforce existence of ${S} dir
Unnecessary. (From OE-Core rev: 75d5a9d72566aca7a9f08bea21523b3c66bddeae) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
73ba6051be
commit
d6f2ffb5c7
@@ -122,16 +122,12 @@ def get_source_date_epoch_from_youngest_file(d, sourcedir):
|
||||
return source_date_epoch
|
||||
|
||||
python do_create_source_date_epoch_stamp() {
|
||||
sourcedir = d.getVar('S')
|
||||
if not os.path.isdir(sourcedir):
|
||||
bb.warn("Unable to determine source_date_epoch! path:%s" % sourcedir)
|
||||
return
|
||||
|
||||
epochfile = d.getVar('SDE_FILE')
|
||||
if os.path.isfile(epochfile):
|
||||
bb.debug(1, " path: %s reusing __source_date_epoch.txt" % epochfile)
|
||||
return
|
||||
|
||||
sourcedir = d.getVar('S')
|
||||
source_date_epoch = (
|
||||
get_source_date_epoch_from_git(d, sourcedir) or
|
||||
get_source_date_epoch_from_known_files(d, sourcedir) or
|
||||
|
||||
Reference in New Issue
Block a user