This class generates a single document export of all the license texts used in an image.
Add e.g. to any image recipe
inherit license-reportdon't forget to add LICENSE_CREATE_PACKAGE = "1" to your local.conf or distro.conf
In case you want to export to other formats than markdown, you need to install pandoc and pdflatex to your host.
In addition you need to add them to your local.conf or distro.conf HOSTTOOLS list
HOSTTOOLS += "pandoc pdflatex"you can fine tune the behavior of the class with the following parameters
- LICENSE_REPORT_FILE_EXCEPTION - files that should not be part of the report: default
generic-* - LICENSE_REPORT_FILENAME - path and name of the report file: default
${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.license-report - LICENSE_REPORT_FORMATS - export formats: default
md, availablemd, pdf, html - LICENSE_REPORT_LIC_EXCEPTION - licenses that should not be part of the report: default
CLOSED - LICENSE_REPORT_PREAMBLE - Custom markdown text to add to the report