[yocto] Adding package's license to the final image

Mathieu Alexandre-Tétreault alexandretm at amotus.ca
Tue Jun 12 10:28:28 PDT 2018


Howdy,

I am working on a project that requires the final image to contain a license manifest for all the packaged installed on the image.

At first I though about using the tmp/deploy/licenses/xxx/license.manifest but this file is deployed by the IMAGE_POSTPROCESS_COMMAND_prepend which happens after the rootfs is done.

Would anyone have a suggestion on how to this properly without using any weird hack?

Cheers,
Mathieu


More information about the yocto mailing list