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

Andrea Galbusera gizero at gmail.com
Tue Jun 12 22:08:31 PDT 2018


Hi!

On Tue, Jun 12, 2018 at 8:53 PM Mathieu Alexandre-Tétreault
<alexandretm at amotus.ca> wrote:
>
> 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.

Take a look at [1]. There's background on licence tacking and a
technique to include licenses in target images (never tested myself).

[1] https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#providing-license-text

>
> 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
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list