Licenses for packagegroups and images on Yocto

后端 未结 1 1095
轮回少年
轮回少年 2021-01-21 01:34

I am creating an image containing standard recipes and my owns. I wanted to list the licenses I use in all of the included packages and later check if I can use them for commerc

1条回答
  •  花落未央
    2021-01-21 01:52

    You don't need to do anything special, just build your image and look at the resulting manifest file in build/tmp/deploy/licenses/$IMAGE_NAME-$MACHINE-$DATE/license.manifest (if, of course, you didn't redefine LICENSE_DIRECTORY).

    For example, if I build core-image-minimal for my own generic-amd64 MACHINE I get the result in build/tmp-musl/deploy/licenses/core-image-minimal-generic-amd64-20160818141324/license.manifest:

    PACKAGE NAME: base-files
    PACKAGE VERSION: 3.0.14
    RECIPE NAME: base-files
    LICENSE: GPLv2
    
    PACKAGE NAME: base-passwd
    PACKAGE VERSION: 3.5.29
    RECIPE NAME: base-passwd
    LICENSE: GPLv2+
    ...
    

    0 讨论(0)
提交回复
热议问题