Openembedded Core Discussions
 help / color / mirror / Atom feed
* Including license metadata in target package
@ 2012-11-26 19:33 Martin Jansa
  2012-11-26 19:45 ` Eric Bénard
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2012-11-26 19:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Flanagan

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

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,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Including license metadata in target package
  2012-11-26 19:33 Including license metadata in target package Martin Jansa
@ 2012-11-26 19:45 ` Eric Bénard
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Bénard @ 2012-11-26 19:45 UTC (permalink / raw)
  To: openembedded-core

Hi Martin,

Le Mon, 26 Nov 2012 20:33:04 +0100,
Martin Jansa <martin.jansa@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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-26 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26 19:33 Including license metadata in target package Martin Jansa
2012-11-26 19:45 ` Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox