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

2018-06-13 Thread Andrea Galbusera
Hi!

On Tue, Jun 12, 2018 at 8:53 PM Mathieu Alexandre-Tétreault
 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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-06-12 Thread Mathieu Alexandre-Tétreault
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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-06-12 Thread Mathieu Alexandre-Tétreault
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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-06-12 Thread Mathieu Alexandre-Tétreault
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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto