Created
July 27, 2015 10:39
-
-
Save bartosh/73fe5a32b4c8704428c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass | |
index eeca9de..d63cff5 100644 | |
--- a/meta/classes/toaster.bbclass | |
+++ b/meta/classes/toaster.bbclass | |
@@ -192,7 +192,7 @@ python toaster_collect_task_stats() { | |
bn = get_bn(e) | |
bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) | |
taskdir = os.path.join(bsdir, e.data.expand("${PF}")) | |
- fout.write("%s:%s:%s:%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}"))) | |
+ fout.write("%s::%s::%s::%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}"))) | |
bb.utils.unlockfile(lock) | |
@@ -245,7 +245,7 @@ python toaster_collect_task_stats() { | |
events = [] | |
with open(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist"), "r") as fin: | |
for line in fin: | |
- (taskfile, taskname, filename, recipename) = line.strip().split(":") | |
+ (taskfile, taskname, filename, recipename) = line.strip().split("::") | |
events.append((taskfile, taskname, _read_stats(filename), recipename)) | |
bb.event.fire(bb.event.MetadataEvent("BuildStatsList", events), e.data) | |
os.unlink(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment