[oe-commits] [openembedded-core] 07/45: reproducible: Don't enforce existence of ${S} dir
git at git.openembedded.org
git at git.openembedded.org
Fri Sep 21 15:24:53 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 75d5a9d72566aca7a9f08bea21523b3c66bddeae
Author: Douglas Royds <douglas.royds at taitradio.com>
AuthorDate: Fri Sep 14 14:58:16 2018 +1200
reproducible: Don't enforce existence of ${S} dir
Unnecessary.
Signed-off-by: Douglas Royds <douglas.royds at taitradio.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/reproducible_build.bbclass | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass
index 42cb37b..a81f249 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list