Unfortunately from what I just checked we cannot merge license manifests
because new manifest creation would require additional package sstate-cache
manifests (to get package contents) or to use package manager to get FILES
contect. That's also not really correct, since in license.manifest we
>a) we can't tell the difference between a broken recipe which failed to
generate
>recipeinfo for some reason and an image target
We can, only image targets generate image_license.manifest and
license.manifest, that's why in the patch I'm checking for it.
>b) The license info is effectively
On Tue, 2021-10-26 at 09:32 +0200, Tomasz Dziendzielski wrote:
> If image recipe depends on another image recipe it will try to use
> license recipeinfo that is not deployed. It will result in:
> > Exception: FileNotFoundError: [Errno 2] No such file or directory:
> >
If image recipe depends on another image recipe it will try to use
license recipeinfo that is not deployed. It will result in:
| Exception: FileNotFoundError: [Errno 2] No such file or directory:
| 'TMPDIR/deploy/licenses/foo-image/recipeinfo'
In such case check for image_license.manifest file