diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/toaster.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index ddfceb5e91..563b1f7f7c 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass | |||
@@ -296,6 +296,17 @@ python toaster_buildhistory_dump() { | |||
296 | 296 | ||
297 | } | 297 | } |
298 | 298 | ||
299 | # dump information related to license manifest path | ||
300 | |||
301 | python toaster_licensemanifest_dump() { | ||
302 | deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE', True); | ||
303 | image_name = d.getVar('IMAGE_NAME', True); | ||
304 | |||
305 | data = { 'deploy_dir_image' : deploy_dir_image, 'image_name' : image_name } | ||
306 | |||
307 | bb.event.fire(bb.event.MetadataEvent("LicenseManifestPath", data), d) | ||
308 | } | ||
309 | |||
299 | # set event handlers | 310 | # set event handlers |
300 | addhandler toaster_layerinfo_dumpdata | 311 | addhandler toaster_layerinfo_dumpdata |
301 | toaster_layerinfo_dumpdata[eventmask] = "bb.event.TreeDataPreparationCompleted" | 312 | toaster_layerinfo_dumpdata[eventmask] = "bb.event.TreeDataPreparationCompleted" |
@@ -308,3 +319,4 @@ toaster_buildhistory_dump[eventmask] = "bb.event.BuildCompleted" | |||
308 | do_package[postfuncs] += "toaster_package_dumpdata " | 319 | do_package[postfuncs] += "toaster_package_dumpdata " |
309 | 320 | ||
310 | do_rootfs[postfuncs] += "toaster_image_dumpdata " | 321 | do_rootfs[postfuncs] += "toaster_image_dumpdata " |
322 | do_rootfs[postfuncs] += "toaster_licensemanifest_dump " | ||