summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toaster.bbclass12
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
301python 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
300addhandler toaster_layerinfo_dumpdata 311addhandler toaster_layerinfo_dumpdata
301toaster_layerinfo_dumpdata[eventmask] = "bb.event.TreeDataPreparationCompleted" 312toaster_layerinfo_dumpdata[eventmask] = "bb.event.TreeDataPreparationCompleted"
@@ -308,3 +319,4 @@ toaster_buildhistory_dump[eventmask] = "bb.event.BuildCompleted"
308do_package[postfuncs] += "toaster_package_dumpdata " 319do_package[postfuncs] += "toaster_package_dumpdata "
309 320
310do_rootfs[postfuncs] += "toaster_image_dumpdata " 321do_rootfs[postfuncs] += "toaster_image_dumpdata "
322do_rootfs[postfuncs] += "toaster_licensemanifest_dump "