diff options
-rw-r--r-- | meta/classes/buildhistory.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index b11e9bab5c..e46b124bbb 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -448,6 +448,8 @@ POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; " | |||
448 | SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " | 448 | SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " |
449 | 449 | ||
450 | def buildhistory_get_layers(d): | 450 | def buildhistory_get_layers(d): |
451 | if d.getVar('BB_WORKERCONTEXT', True) != '1': | ||
452 | return "" | ||
451 | layertext = "Configured metadata layers:\n%s\n" % '\n'.join(get_layers_branch_rev(d)) | 453 | layertext = "Configured metadata layers:\n%s\n" % '\n'.join(get_layers_branch_rev(d)) |
452 | return layertext | 454 | return layertext |
453 | 455 | ||
@@ -478,11 +480,15 @@ def outputvars(vars, listvars, d): | |||
478 | return ret.rstrip('\n') | 480 | return ret.rstrip('\n') |
479 | 481 | ||
480 | def buildhistory_get_imagevars(d): | 482 | def buildhistory_get_imagevars(d): |
483 | if d.getVar('BB_WORKERCONTEXT', True) != '1': | ||
484 | return "" | ||
481 | imagevars = "DISTRO DISTRO_VERSION USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE ROOTFS_POSTPROCESS_COMMAND IMAGE_POSTPROCESS_COMMAND" | 485 | imagevars = "DISTRO DISTRO_VERSION USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE ROOTFS_POSTPROCESS_COMMAND IMAGE_POSTPROCESS_COMMAND" |
482 | listvars = "USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS PACKAGE_EXCLUDE" | 486 | listvars = "USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS PACKAGE_EXCLUDE" |
483 | return outputvars(imagevars, listvars, d) | 487 | return outputvars(imagevars, listvars, d) |
484 | 488 | ||
485 | def buildhistory_get_sdkvars(d): | 489 | def buildhistory_get_sdkvars(d): |
490 | if d.getVar('BB_WORKERCONTEXT', True) != '1': | ||
491 | return "" | ||
486 | sdkvars = "DISTRO DISTRO_VERSION SDK_NAME SDK_VERSION SDKMACHINE SDKIMAGE_FEATURES BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE" | 492 | sdkvars = "DISTRO DISTRO_VERSION SDK_NAME SDK_VERSION SDKMACHINE SDKIMAGE_FEATURES BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE" |
487 | listvars = "SDKIMAGE_FEATURES BAD_RECOMMENDATIONS PACKAGE_EXCLUDE" | 493 | listvars = "SDKIMAGE_FEATURES BAD_RECOMMENDATIONS PACKAGE_EXCLUDE" |
488 | return outputvars(sdkvars, listvars, d) | 494 | return outputvars(sdkvars, listvars, d) |