Skip to contentSkip to conversation

recipe e licenses

DISCUSSION Mauro Ziliani 2 participants 2 messages Feb 27, 2023 – Feb 28, 2023

lore
Share & tools
lore
#0 lore raw

Hi all.

I'd like to add a script to my recipes which collect all licenses for all directly shared linked libraries.

My recipe build the main application of the system and I need to enum every library used by my application and for each library get the license.

I try to look inside DEPENDS variable but there other references then libraries

Any idea?

Best regards,

  MZ

#1 lore raw
Quoted 13 lines · Mauro Ziliani via lists.yoctoproject.org

Hi all.

I'd like to add a script to my recipes which collect all licenses for all directly shared linked libraries.

My recipe build the main application of the system and I need to enum every library used by my application and for each library get the license.

I try to look inside DEPENDS variable but there other references then libraries

When you build an image you get a license manifest in tmp/deploy/licenses, this should contain all the information you want.

Ross