Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: Including license metadata in target package
Date: Mon, 26 Nov 2012 20:45:23 +0100	[thread overview]
Message-ID: <20121126204523.254f0a7f@eb-e6520> (raw)
In-Reply-To: <20121126193304.GD18943@jama.jama.net>

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



      reply	other threads:[~2012-11-26 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26 19:33 Including license metadata in target package Martin Jansa
2012-11-26 19:45 ` Eric Bénard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121126204523.254f0a7f@eb-e6520 \
    --to=eric@eukrea.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox