On 12 Jul 2022, at 15:22, Nicolas Jeker via lists.yoctoproject.org <n.jeker=delisys...@lists.yoctoproject.org> wrote: > > On Mon, 2022-07-11 at 10:00 -0700, William Huang wrote: >> Hi, >> I was wondering if it is possible to get the license information for >> all of the deployed packages in the image? I know there's a >> license.manifest file in deploy/licenses, but I'm looking for a file >> that includes that manifest as well as the paragraph associated with >> the license. Closest I found was in the /usr/share/common-license >> folder which has the LICENSE or COPYING file for each package, but I >> am looking if there's a single file that contains this information >> instead. >> > > I started working on something like this as I'm currently not aware > that this functionality already exists (someone correct me if I'm > wrong). My goal was to create a PDF with a list of packets and all > licenses. The design I chose was creating something text based directly > out of yocto (markdown) and using something like pandoc to convert that > to a PDF. I've abandoned the project for the moment as other things > became more important.
I wrote a similar thing a while back, to review the license checksums in a layer. It’s only in my ross/mut branch on poky-contrib right now: https://git.yoctoproject.org/poky-contrib/tree/scripts/licensereview.py?h=ross/mut This is slightly different: it doesn’t write the actual license files being referenced, but the fragments of the files which are the license checksums. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57521): https://lists.yoctoproject.org/g/yocto/message/57521 Mute This Topic: https://lists.yoctoproject.org/mt/92314709/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-