From cbd868c34718e8fd2a41f5382da71ee959ea4e71 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 24 Aug 2014 18:22:46 +0200 Subject: buildhistory: Restore parsing time optimalization * it was added in: http://git.openembedded.org/openembedded-core/commit/meta/classes/buildhistory.bbclass?id=540a2a30be21c3eca4323efbe91e7dcfc31a4c97 * then accidentally removed in: http://git.openembedded.org/openembedded-core/commit/meta/classes/buildhistory.bbclass?id=6db6c74f2876df7a183990426bb4262972966441 Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 479e460c23..e8cdee57d0 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -499,6 +499,8 @@ POPULATE_SDK_POST_HOST_COMMAND_append = " buildhistory_list_installed_sdk_host ; SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " def buildhistory_get_build_id(d): + if d.getVar('BB_WORKERCONTEXT', True) != '1': + return "" localdata = bb.data.createCopy(d) bb.data.update_data(localdata) statuslines = [] -- cgit v1.2.3