Skip to contentSkip to conversation

Including license metadata in target package

DISCUSSION Martin Jansa 2 participants 2 messages Nov 26, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

we'll have to provide some proprietary packages for our feed/images and because of that we're thinking about adding functionality to package LICENSE files (referenced by LIC_FILES_CHKSUM) to PN (something like ${datadir}/licenses/${PN}/file), probably reusing some code from license.bbclass

Does something like this already exist somewhere or does it look usefull for someone else too, so it could be integrated into license.bbclass and controlled by some variable (per package or by distro config)?

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#1 lore raw

Hi Martin,

Quoted 11 lines · Martin Jansa

we'll have to provide some proprietary packages for our feed/images and because of that we're thinking about adding functionality to package LICENSE files (referenced by LIC_FILES_CHKSUM) to PN (something like ${datadir}/licenses/${PN}/file), probably reusing some code from license.bbclass

Does something like this already exist somewhere or does it look usefull for someone else too, so it could be integrated into license.bbclass and controlled by some variable (per package or by distro config)?

IIRC with these settings you will get the license in the image COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
INHERIT += "copyleft_compliance"
so maybe you can add the capability to add the license to each package starting from here.

Eric