Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: Re: [PATCH] classes/license: fix manifest to work with deb
Date: Mon, 09 Jul 2012 10:06:24 -0700	[thread overview]
Message-ID: <4FFB0F90.3050904@linux.intel.com> (raw)
In-Reply-To: <1341499703-6867-1-git-send-email-paul.eggleton@linux.intel.com>

On 07/05/2012 07:48 AM, Paul Eggleton wrote:
> Prepend the license manifest creation call to ROOTFS_POSTPROCESS_COMMAND
> instead of appending to ROOTFS_POSTINSTALL_COMMAND. The latter is not
> implemented for the deb backend (and probably ought to just be removed
> completely), and by using _prepend we can still ensure it occurs before
> package info is removed (and before buildhistory in case it is needed
> there in future).
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>   meta/classes/license.bbclass |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
> index e6096a6..4e25cf8 100644
> --- a/meta/classes/license.bbclass
> +++ b/meta/classes/license.bbclass
> @@ -382,7 +382,7 @@ do_populate_lic[sstate-name] = "populate-lic"
>   do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
>   do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
>
> -ROOTFS_POSTINSTALL_COMMAND += "license_create_manifest; "
> +ROOTFS_POSTPROCESS_COMMAND_prepend = "license_create_manifest; "
>
>   python do_populate_lic_setscene () {
>   	sstate_setscene(d)
>

Merged into OE-Core

Thanks
	Sau!




      reply	other threads:[~2012-07-09 17:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 14:48 [PATCH] classes/license: fix manifest to work with deb Paul Eggleton
2012-07-09 17:06 ` Saul Wold [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=4FFB0F90.3050904@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /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