Hi Martin,

Le Mon, 26 Nov 2012 20:33:04 +0100,
Martin Jansa <martin.ja...@gmail.com> a écrit :
> 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

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to