diff options
author | Douglas Royds <douglas.royds@taitradio.com> | 2018-09-14 14:58:16 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-21 08:15:19 -0700 |
commit | 75d5a9d72566aca7a9f08bea21523b3c66bddeae (patch) | |
tree | 9e0bb06b524c7b5ebe74539af72d20b3cb1dc6e0 /meta | |
parent | b0ddb141d36853447f85ecaac07dbc9c5779627f (diff) | |
download | openembedded-core-75d5a9d72566aca7a9f08bea21523b3c66bddeae.tar.gz |
reproducible: Don't enforce existence of ${S} dir
Unnecessary.
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/reproducible_build.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 42cb37b042..a81f249790 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass @@ -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 |